Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getPreNTLMResponse (0.17 sec)

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

        public byte[] getAnsiHash ( CIFSContext tc, byte[] chlng ) throws GeneralSecurityException {
            switch ( tc.getConfig().getLanManCompatibility() ) {
            case 0:
            case 1:
                return NtlmUtil.getPreNTLMResponse(tc, this.password, chlng);
            case 2:
                return NtlmUtil.getNTLMResponse(this.password, chlng);
            case 3:
            case 4:
            case 5:
                if ( this.clientChallenge == null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 18.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

            DEFAULT_PASSWORD = Config.getProperty("jcifs.smb1.smb.client.password", BLANK);
        }
    
    /**
     * Generate the ANSI DES hash for the password associated with these credentials.
     */
        static public byte[] getPreNTLMResponse( String password, byte[] challenge ) {
            byte[] p14 = new byte[14];
            byte[] p21 = new byte[21];
            byte[] p24 = new byte[24];
            byte[] passwordBytes;
            try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/NtlmUtil.java

         * 
         * @param tc
         * @param password
         * @param challenge
         * @return the calculated response
         * @throws GeneralSecurityException
         */
        static public byte[] getPreNTLMResponse ( CIFSContext tc, String password, byte[] challenge ) throws GeneralSecurityException {
            byte[] p14 = new byte[14];
            byte[] p21 = new byte[21];
            byte[] p24 = new byte[24];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 9.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

         */
        public static byte[] getLMResponse(Type2Message type2, String password) {
            if (type2 == null || password == null) return null;
            return NtlmPasswordAuthentication.getPreNTLMResponse(password,
                    type2.getChallenge());
        }
    
        public static byte[] getLMv2Response(Type2Message type2,
                String domain, String user, String password,
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/Type3Message.java

            if ( type2 == null || password == null )
                return null;
            return NtlmUtil.getPreNTLMResponse(tc, password, type2.getChallenge());
        }
    
    
        /**
         * 
         * @param tc
         * @param type2
         * @param domain
         * @param user
         * @param password
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 30.6K bytes
    - Viewed (0)
Back to top