Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for getChallenge (0.11 sec)

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

         * @return A <code>byte[]</code> containing the challenge.
         */
        public byte[] getChallenge () {
            return this.challenge;
        }
    
    
        /**
         * Sets the challenge for this message.
         *
         * @param challenge
         *            The challenge from the domain controller/server.
         */
        public void setChallenge ( byte[] challenge ) {
            this.challenge = challenge;
        }
    
    
        /**
    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

         *
         * @return A <code>byte[]</code> containing the challenge.
         */
        public byte[] getChallenge() {
            return challenge;
        }
    
        /**
         * Sets the challenge for this message.
         *
         * @param challenge The challenge from the domain controller/server.
         */
        public void setChallenge(byte[] challenge) {
            this.challenge = challenge;
        }
    
        /**
    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/SmbTransportPoolImpl.java

                cleanup();
            }
            return inUse;
        }
    
    
        @Override
        public byte[] getChallenge ( CIFSContext tf, Address dc ) throws SmbException {
            return getChallenge(tf, dc, 0);
        }
    
    
        @Override
        public byte[] getChallenge ( CIFSContext tf, Address dc, int port ) throws SmbException {
            try ( SmbTransportInternal trans = tf.getTransportPool()
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 12.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                                type2.getChallenge(),
                                clientChallenge);
    
                    setLMResponse(clientChallenge);
                    setNTResponse(ntlm2Response);
    
                    if ((getFlags() & NTLMSSP_NEGOTIATE_SIGN) == NTLMSSP_NEGOTIATE_SIGN) {
                        byte[] sessionNonce = new byte[16];
                        System.arraycopy(type2.getChallenge(), 0, sessionNonce, 0, 8);
    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/smb1/smb1/SmbSession.java

                    "Failed to negotiate with a suitable domain controller for " + DOMAIN );
        }
    
        public static byte[] getChallenge( UniAddress dc )
                    throws SmbException, UnknownHostException {
            return getChallenge(dc, 0);
        }
    
        public static byte[] getChallenge( UniAddress dc, int port )
                    throws SmbException, UnknownHostException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 18.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/Type3Message.java

                    byte[] ntlm2Response = NtlmUtil.getNTLM2Response(passwordHash, type2.getChallenge(), clientChallenge);
    
                    setLMResponse(clientChallenge);
                    setNTResponse(ntlm2Response);
    
                    byte[] sessionNonce = new byte[16];
                    System.arraycopy(type2.getChallenge(), 0, sessionNonce, 0, 8);
                    System.arraycopy(clientChallenge, 0, sessionNonce, 8, 8);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 30.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmContext.java

                if ( log.isTraceEnabled() ) {
                    log.trace(msg2.toString());
                    log.trace(Hexdump.toHexString(token));
                }
    
                this.serverChallenge = msg2.getChallenge();
    
                if ( this.requireKeyExchange ) {
                    if ( this.transportContext.getConfig().isEnforceSpnegoIntegrity() && ( !msg2.getFlag(NtlmFlags.NTLMSSP_NEGOTIATE_KEY_EXCH)
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 15.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

                        dc = chal.dc;
                        challenge = chal.challenge;
                    } else {
                        dc = UniAddress.getByName( domainController, true );
                        challenge = SmbSession.getChallenge( dc );
                    }
    
                    if(( ntlm = NtlmSsp.authenticate( req, resp, challenge )) == null ) {
                        return null;
                    }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NtlmHttpFilter.java

                    }
                    else {
                        dc = getTransportContext().getNameServiceClient().getByName(this.domainController, true);
                        challenge = getTransportContext().getTransportPool().getChallenge(getTransportContext(), dc);
                    }
    
                    if ( ( ntlm = NtlmSsp.authenticate(getTransportContext(), req, resp, challenge) ) == null ) {
                        return null;
                    }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                        dc = UniAddress.getByName( server, possibleWorkgroup );
                    }
    
                    req.getSession(); /* ensure session id is set for cluster env. */
                    challenge = SmbSession.getChallenge( dc );
                    if(( ntlm = NtlmSsp.authenticate( req, resp, challenge )) == null ) {
                        return;
                    }
                } else { /* Basic */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 22 03:57:31 UTC 2020
    - 19.7K bytes
    - Viewed (0)
Back to top