Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 77 for challenges (0.04 sec)

  1. src/main/java/jcifs/smb1/smb1/NtlmContext.java

         * @return true if the context is established, false otherwise
         */
        public boolean isEstablished() {
            return isEstablished;
        }
    
        /**
         * Gets the server's NTLM challenge bytes.
         * @return the server challenge bytes
         */
        public byte[] getServerChallenge() {
            return serverChallenge;
        }
    
        /**
         * Gets the signing key for message authentication.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/ntlmssp/Type3Message.java

         *
         * @param tc the CIFS context
         * @param type2 the Type-2 message containing the server challenge
         * @param domain the domain name
         * @param user the username
         * @param password the user's password
         * @param clientChallenge the client challenge bytes
         * @return the calculated response
         * @throws GeneralSecurityException if a cryptographic error occurs
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/NtlmContext.java

        }
    
        @Override
        public boolean isEstablished() {
            return this.isEstablished;
        }
    
        /**
         * Gets the server's NTLM challenge bytes.
         * @return the server's challenge
         */
        public byte[] getServerChallenge() {
            return this.serverChallenge;
        }
    
        @Override
        public byte[] getSigningKey() {
            return this.masterKey;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/http/NetworkExplorer.java

                    }
    
                    req.getSession(); /* ensure session id is set for cluster env. */
                    challenge = getTransportContext().getTransportPool().getChallenge(getTransportContext(), dc);
                    if ((ntlm = NtlmSsp.authenticate(getTransportContext(), req, resp, challenge)) == null) {
                        return;
                    }
                } else { /* Basic */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

        /**
         * Calculates the LMv2 response for NTLM authentication.
         *
         * @param type2 the Type-2 message containing the server challenge
         * @param domain the domain name
         * @param user the username
         * @param password the user's password
         * @param clientChallenge the client challenge bytes
         * @return the calculated LMv2 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)
  6. src/main/java/jcifs/http/NtlmServlet.java

                }
                NtlmPasswordAuthentication ntlm;
                if (msg.startsWith("NTLM ")) {
                    final byte[] challenge = getTransportContext().getTransportPool().getChallenge(getTransportContext(), dc);
                    ntlm = NtlmSsp.authenticate(getTransportContext(), request, response, challenge);
                    if (ntlm == null) {
                        return;
                    }
                } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (1)
  7. src/main/java/jcifs/ntlmssp/av/AvSingleHost.java

    import jcifs.Configuration;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * NTLMSSP AV pair representing single host information in NTLM authentication.
     * Contains host-specific data used during the NTLM challenge-response process.
     *
     * @author mbechler
     */
    public class AvSingleHost extends AvPair {
    
        /**
         * Constructs an AvSingleHost from raw byte data
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                    }
    
                    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 Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java

    import jcifs.internal.smb2.ServerMessageBlock2Response;
    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.NtStatus;
    
    /**
     * SMB2 Session Setup response message. This response contains the server's authentication
     * challenge or confirms successful session establishment.
     *
     * @author mbechler
     *
     */
    public class Smb2SessionSetupResponse extends ServerMessageBlock2Response {
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (1)
  10. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            verify(pooledSpy).disconnect(false, false);
            verify(nonPooledSpy).disconnect(false, false);
        }
    
        @Test
        @DisplayName("Should get challenge from server")
        void testGetChallenge() throws Exception {
            // Given: Mock transport with server key
            byte[] expectedKey = { 1, 2, 3, 4 };
    
            SmbTransportPoolImpl poolSpy = spy(pool);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
Back to top