Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getNTLMv2Response (0.06 sec)

  1. src/test/java/jcifs/smb/NtlmUtilTest.java

            // Assert
            assertEquals(24, a.length);
            assertFalse(Arrays.equals(a, b), "Changing server challenge must alter the response");
        }
    
        @Test
        @DisplayName("getNTLMv2Response: blob structure and computeResponse match")
        void testGetNTLMv2Response_blobAndCompute() {
            // Arrange
            byte[] key = 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)
  2. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                RANDOM.nextBytes(clientChallenge);
                setLMResponse(getLMv2Response(type2, domain, user, password, clientChallenge));
                /*
                setNTResponse(getNTLMv2Response(type2, domain, user, password,
                        clientChallenge));
                */
                break;
            default:
                setLMResponse(getLMResponse(type2, password));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ntlmssp/Type3Message.java

         */
        public static byte[] getNTLMv2Response(final CIFSContext tc, final Type2Message type2, final byte[] responseKeyNT,
                final byte[] clientChallenge, final byte[] clientChallengeInfo, final long ts) {
            if (type2 == null || responseKeyNT == null || clientChallenge == null) {
                return null;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

         * @param nanos1601 the timestamp in nanoseconds since 1601
         * @param targetInfo the target information from the Type 2 message
         * @return the NTLMv2 response bytes
         */
        public static byte[] getNTLMv2Response(final byte[] responseKeyNT, final byte[] serverChallenge, final byte[] clientChallenge,
                final long nanos1601, final byte[] targetInfo) {
            final int targetInfoLength = targetInfo != null ? targetInfo.length : 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmUtil.java

         * @param nanos1601 the timestamp in nanoseconds since 1601
         * @param avPairs the AV pairs from the Type 2 message
         * @return the calculated response
         */
        public static byte[] getNTLMv2Response(final byte[] responseKeyNT, final byte[] serverChallenge, final byte[] clientChallenge,
                final long nanos1601, final byte[] avPairs) {
            final int avPairsLength = avPairs != null ? avPairs.length : 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top