Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for NTLMv2 (0.2 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/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)
  5. 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)
  6. 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)
  7. 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)
  8. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

         * The target information block is used by the client to create an
         * NTLMv2 response.
         */
        public byte[] getTargetInformation() {
            return targetInformation;
        }
    
        /**
         * Sets the target information block.
         * The target information block is used by the client to create
         * an NTLMv2 response.
         *
         * @param targetInformation The target information block.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

            return NtlmPasswordAuthentication.computeResponse(responseKeyLM, serverChallenge, clientChallenge, 0, clientChallenge.length);
        }
    
        /**
         * Creates the NTLMv2 response for the supplied information.
         *
         * @param responseKeyNT the NT response key
         * @param serverChallenge the server challenge bytes
         * @param clientChallenge the client challenge bytes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/Configuration.java

         * <td>2</td>
         * <td>NTLM only</td>
         * </tr>
         * <tr>
         * <td>3-5</td>
         * <td>NTLMv2 only</td>
         * </tr>
         * </table>
         *
         *
         * Property {@code jcifs.smb.lmCompatibility} (int, default 3)
         *
         * @return lanman compatibility level, defaults to 3 i.e. NTLMv2 only
         */
        int getLanManCompatibility();
    
        /**
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
Back to top