Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 74 for challenges (0.05 sec)

  1. src/main/java/jcifs/SmbTransportPool.java

         */
        @Deprecated
        void logon(CIFSContext tc, Address dc, int port) throws CIFSException;
    
        /**
         * Get NTLM challenge from a server
         *
         * @param dc the domain controller address
         * @param tc the CIFS context containing credentials
         * @return NTLM challenge
         * @throws CIFSException if an error occurs during authentication
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

         * @param username the username to authenticate with
         * @param challenge the server challenge bytes
         * @param ansiHash the ANSI password hash
         * @param unicodeHash the Unicode password hash
         */
        public NtlmPasswordAuthentication(final String domain, final String username, final byte[] challenge, final byte[] ansiHash,
                final byte[] unicodeHash) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

            NtlmContext context = new NtlmContext(mockAuth, true);
    
            // State 1: Generate Type 1 message
            context.initSecContext(new byte[0], 0, 0);
    
            // Create a mock Type 2 message (server challenge)
            byte[] serverChallenge = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
            int type2Flags = NtlmFlags.NTLMSSP_NEGOTIATE_NTLM | NtlmFlags.NTLMSSP_REQUEST_TARGET | NtlmFlags.NTLMSSP_NEGOTIATE_KEY_EXCH
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbSession.java

            }
            return new NtlmChallenge(trans.server.encryptionKey, dc);
        }
    
        /**
         * Retrieves an NTLM challenge from a domain controller for the configured domain.
         *
         * @return the NTLM challenge from the domain controller
         * @throws SmbException if an SMB error occurs
         * @throws UnknownHostException if the domain controller cannot be resolved
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                assertEquals(expectedFlags, message.getFlags(), "Default flags should be set correctly");
                assertNull(message.getChallenge(), "Challenge should initially be null");
                assertNull(message.getTarget(), "Target should initially be null");
                assertNull(message.getTargetInformation(), "Target information should be null when no target is set");
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/http/NtlmServlet.java

                }
                NtlmPasswordAuthentication ntlm;
                if (msg.startsWith("NTLM ")) {
                    final byte[] challenge = SmbSession.getChallenge(dc);
                    ntlm = NtlmSsp.authenticate(request, response, challenge);
                    if (ntlm == null) {
                        return;
                    }
                } else {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  10. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
Back to top