Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 144 for 0x1d (0.88 sec)

  1. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                        0x0A, 0x0B, 0x0C, 0x0D // Salt
                };
    
                // Act
                int decodedSize = context.decode(buffer, 0, buffer.length);
    
                // Assert
                assertEquals(12, decodedSize);
                assertArrayEquals(new int[] { 1, 2 }, context.getHashAlgos());
                assertArrayEquals(new byte[] { 0x0A, 0x0B, 0x0C, 0x0D }, context.getSalt());
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java

            dnsDomainInfo.domain_guid.time_mid = 0x1234;
            dnsDomainInfo.domain_guid.time_hi_and_version = 0x5678;
            dnsDomainInfo.domain_guid.clock_seq_hi_and_reserved = 0x12;
            dnsDomainInfo.domain_guid.clock_seq_low = 0x34;
            dnsDomainInfo.domain_guid.node = new byte[] { 1, 2, 3, 4, 5, 6 };
    
            dnsDomainInfo.sid = new rpc.sid_t();
            dnsDomainInfo.sid.revision = 1;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SIDTest.java

         *
         * @throws SmbException if the SID string is invalid
         */
        @Test
        void testStringConstructorWithHex() throws SmbException {
            SID sid = new SID("S-1-0x12-21-1");
            assertEquals(1, sid.revision);
            assertEquals(0x12, sid.identifier_authority[5]);
            assertEquals(2, sid.sub_authority_count);
            assertEquals(21, sid.sub_authority[0]);
            assertEquals(1, sid.sub_authority[1]);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ACE.java

         */
        int FLAGS_INHERIT_ONLY = 0x08;
        /**
         * Inheritance flag: ACE was inherited from parent
         */
        int FLAGS_INHERITED = 0x10;
    
        /**
         * Return the SID associated with this ACE.
         *
         * @return ACE target SID
         */
        SID getSID();
    
        /**
         * Returns the access mask associated with this ACE. Use the
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

            buffer[bufferIndex++] = (byte) 0x40;
            buffer[bufferIndex++] = 0;
            buffer[bufferIndex++] = 0;
            // maxRawSize
            buffer[bufferIndex++] = (byte) 0x00;
            buffer[bufferIndex++] = (byte) 0x10;
            buffer[bufferIndex++] = 0;
            buffer[bufferIndex++] = 0;
            // sessionKey
            buffer[bufferIndex++] = 1;
            buffer[bufferIndex++] = 2;
            buffer[bufferIndex++] = 3;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java

         */
        public static final byte SMB2_INDEX_SPECIFIED = 0x4;
    
        /**
         * Flag to reopen the directory enumeration.
         */
        public static final byte SMB2_REOPEN = 0x10;
    
        private byte fileInformationClass = FILE_BOTH_DIRECTORY_INFO;
        private byte queryFlags;
        private int fileIndex;
        private byte[] fileId;
        private final int outputBufferLength;
        private String fileName;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/http/NtlmServlet.java

            if (msg != null && (msg.startsWith("NTLM ") || offerBasic && msg.startsWith("Basic "))) {
                if (loadBalance) {
                    dc = new UniAddress(NbtAddress.getByName(domainController, 0x1C, null));
                } else {
                    dc = UniAddress.getByName(domainController, true);
                }
                NtlmPasswordAuthentication ntlm;
                if (msg.startsWith("NTLM ")) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

            when(mockFile2.length()).thenReturn(0L);
            when(mockFile2.lastModified()).thenReturn(2000L);
            when(mockFile2.isDirectory()).thenReturn(true);
            when(mockFile2.getAttributes()).thenReturn(0x10);
            when(mockFile2.createTime()).thenReturn(600L);
            when(mockFile2.lastAccess()).thenReturn(900L);
    
            // Update cache
            List<SmbFile> files = Arrays.asList(mockFile1, mockFile2);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/SmbNegotiationTest.java

            SmbNegotiationRequest anotherRequest = mock(SmbNegotiationRequest.class);
            SmbNegotiationResponse anotherResponse = mock(SmbNegotiationResponse.class);
            byte[] anotherRequestBuffer = new byte[] { 0x10, 0x20 };
            byte[] anotherResponseBuffer = new byte[] { 0x30, 0x40 };
    
            SmbNegotiation anotherNegotiation =
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

            }
        }
    
        @Test
        @DisplayName("Test setFileInfoClass method")
        void testSetFileInfoClass() {
            request = new Smb2QueryInfoRequest(mockConfig);
            byte testFileInfoClass = (byte) 0x10;
    
            request.setFileInfoClass(testFileInfoClass);
    
            // Verify file info class was set and info type was set to SMB2_0_INFO_FILE
            try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
Back to top