Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Type2Message (0.1 sec)

  1. src/main/java/jcifs/ntlmssp/Type2Message.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSContext;
    
    
    /**
     * Represents an NTLMSSP Type-2 message.
     */
    public class Type2Message extends NtlmMessage {
    
        private static final Logger log = LoggerFactory.getLogger(Type2Message.class);
    
        private byte[] challenge;
        private String target;
        private byte[] context;
        private byte[] targetInformation;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

         * environment.
         */
        public Type2Message() {
            this(getDefaultFlags(), null, null);
        }
    
        /**
         * Creates a Type-2 message in response to the given Type-1 message
         * using default values from the current environment.
         *
         * @param type1 The Type-1 message which this represents a response to.
         */
        public Type2Message(Type1Message type1) {
            this(type1, null, null);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 12.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/NtlmContext.java

            default:
                throw new SmbException("Invalid state");
            }
        }
    
    
        protected byte[] makeAuthenticate ( byte[] token ) throws SmbException {
            try {
                Type2Message msg2 = new Type2Message(token);
    
                if ( log.isTraceEnabled() ) {
                    log.trace(msg2.toString());
                    log.trace(Hexdump.toHexString(token));
                }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 15.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ntlmssp/Type3Message.java

         *            taking place.
         * @param flags
         * @throws GeneralSecurityException
         * @throws CIFSException
         */
        public Type3Message ( CIFSContext tc, Type2Message type2, String targetName, String password, String domain, String user, String workstation,
                int flags ) throws GeneralSecurityException, CIFSException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 30.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

                        user = auth.getUserName();
                        password = new String(auth.getPassword());
                    } catch (Exception ex) { }
                }
                Type2Message type2 = (Type2Message) message;
                message = new Type3Message(type2, password, domain, user,
                        Type3Message.getDefaultWorkstation(), 0);
            }
            return message;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 20.4K bytes
    - Viewed (0)
  6. 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)
  7. src/main/java/jcifs/http/NtlmHttpURLConnection.java

                        }
                        catch ( Exception ex ) {
                            log.debug("Interactive authentication failed", ex);
                        }
                    }
                    Type2Message type2 = (Type2Message) message;
                    message = new Type3Message(
                        this.transportContext,
                        type2,
                        null,
                        password,
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 25.5K bytes
    - Viewed (0)
Back to top