Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for NTLMv2 (0.04 sec)

  1. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            }
            case 3, 4, 5 -> {
                // NTLMv2 - returns empty for unicode hash as NTLMv2 doesn't use it
                yield new byte[0];
            }
            default -> {
                // Default to NTLMv2 behavior (empty response)
                log.info("Defaulting to secure NTLMv2 authentication (no unicode hash)");
                yield new byte[0];
            }
            };
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NtlmContext.java

    import jcifs.ntlmssp.Type2Message;
    import jcifs.ntlmssp.Type3Message;
    import jcifs.util.Crypto;
    import jcifs.util.Hexdump;
    
    /**
     * For initiating NTLM authentication (including NTLMv2). If you want to add NTLMv2 authentication support to something
     * this is what you want to use. See the code for details. Note that JCIFS does not implement the acceptor side of NTLM
     * authentication.
     *
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

            lenient().when(mockConfig.getOemEncoding()).thenReturn("UTF-8");
            lenient().when(mockConfig.getRandom()).thenReturn(mockRandom);
            lenient().when(mockConfig.getLanManCompatibility()).thenReturn(3); // Default NTLMv2
            lenient().when(mockConfig.getMachineId()).thenReturn(machineId);
            lenient().when(mockCtx.getConfig()).thenReturn(mockConfig);
            lenient().when(mockCtx.getNameServiceClient()).thenReturn(mockNameServiceClient);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/config/SecurityConfigurationTest.java

            assertTrue("Minimum version should be at least SMB2.0.2", config.getMinimumVersion().atLeast(DialectVersion.SMB202));
    
            // Verify LM compatibility level is 3 or higher (NTLMv2 only)
            assertTrue("LM compatibility should be 3 or higher for NTLMv2 only", config.getLanManCompatibility() >= 3);
            assertEquals("LM compatibility should default to 3", 3, config.getLanManCompatibility());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/ntlmssp/NtlmFlags.java

        * Indicates that the NTLM2 signing and sealing scheme should be used
        * for protecting authenticated communications.  This refers to a
        * particular session security scheme, and is not related to the use
        * of NTLMv2 authentication.
        */
        int NTLMSSP_NEGOTIATE_NTLM2 = 0x00080000;
    
        /**
         * Requests an initial response token.
         */
        int NTLMSSP_REQUEST_INIT_RESPONSE = 0x00100000;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

        }
    
        /**
         * Returns the NT/NTLMv2 response.
         *
         * @return A <code>byte[]</code> containing the NT/NTLMv2 response.
         */
        public byte[] getNTResponse() {
            return ntResponse;
        }
    
        /**
         * Sets the NT/NTLMv2 response for this message.
         *
         * @param ntResponse The NT/NTLMv2 response.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/ntlmssp/Type2Message.java

         *         The target information block is used by the client to create an
         *         NTLMv2 response.
         */
        public byte[] getTargetInformation() {
            return this.targetInformation;
        }
    
        /**
         * Sets the target information block.
         * The target information block is used by the client to create
         * an NTLMv2 response.
         *
         * @param targetInformation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ntlmssp/Type3Message.java

        }
    
        /**
         * Returns the NT/NTLMv2 response.
         *
         * @return A <code>byte[]</code> containing the NT/NTLMv2 response.
         */
        public byte[] getNTResponse() {
            return this.ntResponse;
        }
    
        /**
         * Sets the NT/NTLMv2 response for this message.
         *
         * @param ntResponse
         *            The NT/NTLMv2 response.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/NtlmFlags.java

         * Indicates that the NTLM2 signing and sealing scheme should be used
         * for protecting authenticated communications. This refers to a
         * particular session security scheme, and is not related to the use
         * of NTLMv2 authentication.
         */
        int NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY = 0x00080000;
    
        /**
         * ?? According to spec this is a reserved bit and must be set to zero
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/NtlmUtilTest.java

            byte[] viaPassword = NtlmUtil.nTOWFv2(domain, user, password);
    
            // Assert: overloads consistent
            assertArrayEquals(viaHash, viaPassword, "Both overloads must compute same NTLMv2 key");
    
            // Changing domain should change the key (domain is part of MAC input)
            byte[] differentDomain = NtlmUtil.nTOWFv2("DOMAIN", user, password);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top