Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 254 for 0x11 (0.02 sec)

  1. src/main/java/jcifs/netbios/NodeStatusResponse.java

                groupName = ((src[srcIndex + 16] & 0x80) == 0x80) == true;
                ownerNodeType = (src[srcIndex + 16] & 0x60) >> 5;
                isBeingDeleted = ((src[srcIndex + 16] & 0x10) == 0x10) == true;
                isInConflict = ((src[srcIndex + 16] & 0x08) == 0x08) == true;
                isActive = ((src[srcIndex + 16] & 0x04) == 0x04) == true;
                isPermanent = ((src[srcIndex + 16] & 0x02) == 0x02) == true;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

            // State 1: Generate Type 1 message
            context.initSecContext(new byte[0], 0, 0);
    
            // Create a mock Type 2 message (server challenge)
            byte[] serverChallenge = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
            int type2Flags = NtlmFlags.NTLMSSP_NEGOTIATE_NTLM | NtlmFlags.NTLMSSP_REQUEST_TARGET | NtlmFlags.NTLMSSP_NEGOTIATE_KEY_EXCH
                    | NtlmFlags.NTLMSSP_NEGOTIATE_SIGN;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            SMBUtil.writeInt2(0x20, ctx, ci + 2); // DataOffset
            ci += 4;
            SMBUtil.writeInt4(8, ctx, ci); // DataLength
            ci += 4;
            // Name bytes at 0x10
            byte[] name = new byte[] { 'T', 'E', 'S', 'T' };
            System.arraycopy(name, 0, ctx, 0x10, name.length);
            // Data bytes at 0x20
            byte[] data = new byte[] { 1, 2, 3, 4, 5, 6, 7, 8 };
            System.arraycopy(data, 0, ctx, 0x20, data.length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                context = new PreauthIntegrityNegotiateContext();
                byte[] buffer = new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, // Padding
                        0x01, 0x00, // 1 hash algo
                        0x02, 0x00, // 2 bytes salt
                        0x01, 0x00, // SHA512
                        (byte) 0xAA, (byte) 0xBB // Salt
                };
    
                // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java

            ASN1ObjectIdentifier kerberosOid = new ASN1ObjectIdentifier(KerberosConstants.KERBEROS_OID);
            innerContent.write(kerberosOid.getEncoded());
            innerContent.write(0x01); // magic byte 1
            innerContent.write(0x00); // magic byte 2
    
            // Add a sequence instead of APPLICATION tagged object
            DERSequence wrongTag = new DERSequence(new ASN1Encodable[] { new ASN1Integer(5) });
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/util/SMBUtilTest.java

        void testWriteInt2() {
            byte[] dst = new byte[10];
    
            // Test with simple value
            SMBUtil.writeInt2(0x1234L, dst, 0);
            assertEquals((byte) 0x34, dst[0]);
            assertEquals((byte) 0x12, dst[1]);
    
            // Test with max value for 2 bytes
            SMBUtil.writeInt2(0xFFFFL, dst, 2);
            assertEquals((byte) 0xFF, dst[2]);
            assertEquals((byte) 0xFF, dst[3]);
    
            // Test with zero
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

            tree.tid = 123;
    
            // Create real request and response objects since they're not interfaces
            ServerMessageBlock request = new SmbComOpenAndX("testfile.txt", 0x01, 0, null);
            ServerMessageBlock response = new SmbComOpenAndXResponse();
    
            // Execute send
            tree.send(request, response);
    
            // Verify session.send was called and tid was set
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenAliasTest.java

        }
    
        @Test
        @DisplayName("Should correctly initialize MsrpcSamrOpenAlias with provided parameters")
        void testConstructorInitialization() {
            // Given
            int access = 0x01; // Example access value
            int rid = 123; // Example RID value
    
            // When
            MsrpcSamrOpenAlias msrpcSamrOpenAlias = new MsrpcSamrOpenAlias(mockDomainHandle, access, rid, mockAliasHandle);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

         */
        public static final int SMB2_SHAREFLAG_AUTO_CACHING = 0x10;
        /**
         * Share flag indicating automatic caching of programs and documents.
         */
        public static final int SMB2_SHAREFLAG_VDO_CACHING = 0x20;
        /**
         * Share flag indicating the share is in a DFS namespace.
         */
        public static final int SMB2_SHAREFLAG_DFS = 0x1;
        /**
         * Share flag indicating the share is a DFS root.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/ntlmssp/av/AvPairTest.java

    class AvPairTest {
    
        @Test
        void testConstructorAndGetters() {
            // Test with a valid type and raw data
            int type = AvPair.MsvAvTimestamp;
            byte[] raw = new byte[] { 0x01, 0x02, 0x03, 0x04 };
            AvPair avPair = new AvPair(type, raw);
    
            assertEquals(type, avPair.getType(), "Type should match the constructor argument.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top