Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 310 for 0x03 (0.01 sec)

  1. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

            byte[] buffer = new byte[10];
            // sid = 1
            writeInt2(1, buffer, 0);
            // numEntries = 2
            writeInt2(2, buffer, 2);
            // isEndOfSearch = true
            buffer[4] = 0x01;
            buffer[5] = 0x00;
            // eaErrorOffset = 3
            writeInt2(3, buffer, 6);
            // lastNameOffset = 4
            writeInt2(4, buffer, 8);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/PacMacTest.java

                    new byte[] { (byte) 0xbb, (byte) 0x6e, (byte) 0xd3, (byte) 0x08, (byte) 0x70, (byte) 0xb7, (byte) 0xf0, (byte) 0xe0 });
    
            // 64-fold("kerberos")
            verifyNfold("kerberos", 8,
                    new byte[] { (byte) 0x6b, (byte) 0x65, (byte) 0x72, (byte) 0x62, (byte) 0x65, (byte) 0x72, (byte) 0x6f, (byte) 0x73 });
        }
    
        /**
         * Helper method to verify n-fold expansion.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            filter.init(filterConfig);
    
            // Test NTLM Type 1 message handling
            byte[] type1Message = new byte[] { 0x4E, 0x54, 0x4C, 0x4D, 0x53, 0x53, 0x50, 0x00, 0x01, 0x00, 0x00, 0x00 };
            String authHeader = "NTLM " + new String(org.bouncycastle.util.encoders.Base64.encode(type1Message));
    
            when(request.getHeader("Authorization")).thenReturn(authHeader);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

        // relative to headerStart
        static final int SETUP_OFFSET = 61;
    
        static final int DISCONNECT_TID = 0x01;
        static final int ONE_WAY_TRANSACTION = 0x02;
    
        private int pad;
        private int pad1;
        private boolean parametersDone, dataDone;
    
        /** Total number of parameter bytes the server is returning */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/Name.java

                    dst[dstIndex + 2 * i + 2] = (byte) ((tmp[i] & 0x0F) + 0x41);
                }
                for (; i < 15; i++) {
                    dst[dstIndex + 2 * i + 1] = (byte) 0x43;
                    dst[dstIndex + 2 * i + 2] = (byte) 0x41;
                }
                dst[dstIndex + TYPE_OFFSET] = (byte) (((hexCode & 0xF0) >> 4) + 0x41);
                dst[dstIndex + TYPE_OFFSET + 1] = (byte) ((hexCode & 0x0F) + 0x41);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/PacSignatureTest.java

         * Test constructor with malformed data (too short).
         */
        @Test
        void testConstructorMalformedData() {
            // Prepare data (only 2 bytes, less than an int)
            byte[] data = new byte[] { 0x01, 0x02 };
    
            // Verify that PACDecodingException is thrown
            assertThrows(PACDecodingException.class, () -> {
                new PacSignature(data);
            });
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/NameTest.java

            assertEquals(4, dst[0]);
    
            // Should end with 0x00
            assertEquals(0x00, dst[length - 1]);
    
            // Length should be scope length + 2
            assertEquals(name.scope.length() + 2, length);
        }
    
        @Test
        void readScopeWireFormat_withNullScope_shouldReturnOne() {
            byte[] src = new byte[10];
            src[0] = 0x00;
    
            Name name = new Name(mockConfig);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            int written = trans2SetFileInfo.writeSetupWireFormat(buffer, 0);
    
            // Should write 2 bytes: subcommand and 0x00
            assertEquals(2, written);
            assertEquals(SmbComTransaction.TRANS2_SET_FILE_INFORMATION, buffer[0]);
            assertEquals(0x00, buffer[1]);
        }
    
        @Test
        @DisplayName("Test writeSetupWireFormat with offset")
        void testWriteSetupWireFormatWithOffset() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/util/SMBUtil.java

                (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, // NextCommand
                (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, // MessageId
                (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, // Reserved / AsyncId
                (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, // TreeId / AsyncId
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

         * implementation.
         */
    
        /** SMB2 negotiate protocol command */
        protected static final short SMB2_NEGOTIATE = 0x00;
        /** SMB2 session setup command */
        protected static final short SMB2_SESSION_SETUP = 0x01;
        /** SMB2 logoff command */
        protected static final short SMB2_LOGOFF = 0x02;
        /** SMB2 tree connect command */
        protected static final short SMB2_TREE_CONNECT = 0x0003;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
Back to top