Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 178 for 0x104 (0.06 sec)

  1. 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)
  2. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

            bufferIndex++;
            server.security = server.securityMode & 0x01;
            server.encryptedPasswords = (server.securityMode & 0x02) == 0x02;
            server.signaturesEnabled = (server.securityMode & 0x04) == 0x04;
            server.signaturesRequired = (server.securityMode & 0x08) == 0x08;
            server.maxMpxCount = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            server.maxNumberVcs = readInt2(buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/msrpc/netdfs.idl

    [
    	uuid(4fc742e0-4a10-11cf-8273-00aa004ae673),
    	version(3.0)
    ]
    interface netdfs
    {
    	import "../rpc.idl";
    
    	const uint32_t DFS_VOLUME_FLAVOR_STANDALONE = 0x100;
    	const uint32_t DFS_VOLUME_FLAVOR_AD_BLOB = 0x200;
    
    	const uint32_t DFS_STORAGE_STATE_OFFLINE = 0x0001;
    	const uint32_t DFS_STORAGE_STATE_ONLINE = 0x0002;
    	const uint32_t DFS_STORAGE_STATE_ACTIVE = 0x0004;
    
    	typedef struct {
    		[string] wchar_t *entry_path;
    	} DfsInfo1;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

     * Tests all constructors, parsing, and serialization functionality.
     */
    @DisplayName("Type2Message Comprehensive Tests")
    class Type2MessageTest {
    
        private static final byte[] TEST_CHALLENGE = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
        private static final String TEST_TARGET = "TEST_TARGET";
        private static final String TEST_DOMAIN = "TEST_DOMAIN";
        private static final String TEST_HOSTNAME = "TEST_HOSTNAME";
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

        }
    
        @Test
        @DisplayName("addFlags0 combines flags correctly")
        void addFlags0() {
            SmbComNTCreateAndX req = createRequest(0, 0);
            req.addFlags0(0x10);
            int flags0 = (int) getPrivateField(req, "flags0");
            assertTrue((flags0 & 0x10) != 0, "flag should be set after addFlags0");
            // Calling again should combine rather than overwrite
            req.addFlags0(0x20);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java

                    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)
  7. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

            }
    
            @Test
            @DisplayName("Persistent handles capability should be 0x10")
            void testGlobalCapPersistentHandles() {
                assertEquals(0x10, Smb2Constants.SMB2_GLOBAL_CAP_PERSISTENT_HANDLES, "Persistent handles capability must be 0x10");
            }
    
            @Test
            @DisplayName("Directory leasing capability should be 0x20")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            // When
            int bytesWritten = request.writeBytesWireFormat(buffer, offset);
    
            // Then
            assertEquals(4, bytesWritten);
    
            // Expected wire format: [0x04, 0x00, 0x00, 0x00]
            byte[] expected = new byte[] { 0x04, 0x00, 0x00, 0x00 };
            assertArrayEquals(expected, buffer);
        }
    
        @Test
        @DisplayName("Should always return 0 for readBytesWireFormat")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

        void testExactStructureSizeValue() throws SMBProtocolDecodingException {
            // Given
            byte[] buffer = new byte[256];
    
            // Write exact structure size value (4)
            buffer[0] = 0x04;
            buffer[1] = 0x00;
            buffer[2] = 0x00;
            buffer[3] = 0x00;
    
            // When
            int bytesRead = response.readBytesWireFormat(buffer, 0);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformation.java

            switch (il) {
            case FileSystemInformation.SMB_INFO_ALLOCATION:
                return 0x1;
            case FileSystemInformation.FS_SIZE_INFO:
                return 0x103;
            }
            throw new IllegalArgumentException("Unhandled information level");
        }
    
        @Override
        protected int writeDataWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top