Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 175 for 0x12 (0.02 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

        static final int FLAGS_RETURN_ADDITIONAL_INFO = 0x01;
        static final int FLAGS_REQUEST_OPLOCK = 0x02;
        static final int FLAGS_REQUEST_BATCH_OPLOCK = 0x04;
    
        // Access Mode Encoding for desiredAccess
        static final int SHARING_COMPATIBILITY = 0x00;
        static final int SHARING_DENY_READ_WRITE_EXECUTE = 0x10;
        static final int SHARING_DENY_WRITE = 0x20;
        static final int SHARING_DENY_READ_EXECUTE = 0x30;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/util/HexdumpTest.java

            assertEquals("0A0B0C", Hexdump.toHexString(data3, 0, 6)); // 6 chars = 3 bytes
    
            // Test with offset - NOTE: srcIndex is ignored due to bug, it always starts from index 0
            byte[] data4 = { 0x00, 0x11, 0x22, 0x33, 0x44 };
            assertEquals("00", Hexdump.toHexString(data4, 1, 2)); // Bug: ignores srcIndex, reads from 0
            assertEquals("0011", Hexdump.toHexString(data4, 1, 4)); // Bug: ignores srcIndex, reads from 0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                byte[] testContext =
                        new byte[] { (byte) 0x11, (byte) 0x22, (byte) 0x33, (byte) 0x44, (byte) 0x55, (byte) 0x66, (byte) 0x77, (byte) 0x88 };
                message.setContext(testContext);
                byte[] testTargetInfo = new byte[] { 0x10, 0x20, 0x30 };
                message.setTargetInformation(testTargetInfo);
    
                // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

        void testReadUShortOutOfBounds() {
            byte[] a = new byte[] { 0x02 };
            assertThrows(IndexOutOfBoundsException.class, () -\u003e NtlmMessage.readUShort(a, 0));
        }
    
        @Test
        @DisplayName("readULong throws on too short array")
        void testReadULongOutOfBounds() {
            byte[] a = new byte[] { 0x01, 0x02, 0x03 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

        class ToStringTests {
    
            @Test
            @DisplayName("toString with valid data produces expected format")
            void testToStringWithValidData() {
                byte[] challenge = new byte[] { (byte) 0x01, (byte) 0x02, (byte) 0x03, (byte) 0xFF };
                UniAddress dc = mock(UniAddress.class);
                when(dc.toString()).thenReturn("SERVER123");
    
                NtlmChallenge nc = new NtlmChallenge(challenge, dc);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/DcerpcConstants.java

         */
        int DCERPC_FIRST_FRAG = 0x01; /* First fragment */
        /**
         * Last fragment flag - indicates last fragment of a multi-fragment message
         */
        int DCERPC_LAST_FRAG = 0x02; /* Last fragment */
        /**
         * Pending cancel flag - indicates cancel was pending at sender
         */
        int DCERPC_PENDING_CANCEL = 0x04; /* Cancel was pending at sender */
        /**
         * Reserved flag for future use
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java

        private Smb2LeaseKey testKey;
        private int testState;
    
        @BeforeEach
        void setUp() {
            byte[] keyBytes = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 };
            testKey = new Smb2LeaseKey(keyBytes);
            testState = Smb2LeaseState.SMB2_LEASE_READ_WRITE;
            leaseContext = new LeaseV1CreateContextRequest(testKey, testState);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/SmbNegotiationTest.java

        private byte[] testResponseBuffer;
        private SmbNegotiation negotiation;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            testRequestBuffer = new byte[] { 0x01, 0x02, 0x03, 0x04 };
            testResponseBuffer = new byte[] { 0x05, 0x06, 0x07, 0x08 };
            negotiation = new SmbNegotiation(mockRequest, mockResponse, testRequestBuffer, testResponseBuffer);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/rpcTest.java

                uuid.time_low = 0x12345678;
                uuid.time_mid = (short) 0x9ABC;
                uuid.time_hi_and_version = (short) 0xDEF0;
                uuid.clock_seq_hi_and_reserved = (byte) 0x11;
                uuid.clock_seq_low = (byte) 0x22;
                uuid.node = new byte[] { (byte) 0xAA, (byte) 0xBB, (byte) 0xCC, (byte) 0xDD, (byte) 0xEE, (byte) 0xFF };
    
                // Mock the derive method to return a buffer for node encoding
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

            ServerData serverData2 = new ServerData();
    
            // When
            serverData1.sflags = (byte) 0x11;
            serverData1.smaxMpxCount = 100;
            serverData1.oemDomainName = "DOMAIN1";
            serverData1.encryptedPasswords = true;
    
            serverData2.sflags = (byte) 0x22;
            serverData2.smaxMpxCount = 200;
            serverData2.oemDomainName = "DOMAIN2";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
Back to top