- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 19 for getChallenge (0.12 seconds)
-
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(final byte[] challenge) { this.challenge = challenge; } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.4K bytes - Click Count (0) -
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(final byte[] challenge) { this.challenge = challenge; } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 13K bytes - Click Count (0) -
src/test/java/jcifs/SmbTransportPoolTest.java
when(transportPool.getChallenge(context, address)).thenReturn(expectedChallenge); // When byte[] result = transportPool.getChallenge(context, address); // Then assertNotNull(result); assertArrayEquals(expectedChallenge, result); verify(transportPool).getChallenge(context, address); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/ntlmssp/Type3Message.java
setLMResponse(clientChallenge); setNTResponse(ntlm2Response); if ((getFlags() & NTLMSSP_NEGOTIATE_SIGN) == NTLMSSP_NEGOTIATE_SIGN) { final byte[] sessionNonce = new byte[16]; System.arraycopy(type2.getChallenge(), 0, sessionNonce, 0, 8);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 24.1K bytes - Click Count (0) -
src/main/java/jcifs/SmbTransportPool.java
* @deprecated functionality is broken and will be removed at some point, * use actual Active Directory authentication instead */ @Deprecated byte[] getChallenge(CIFSContext tc, Address dc) throws CIFSException; /** * Get NTLM challenge from a server * * @param dc the domain controller address * @param port the port numberCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.5K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/Type3Message.java
final byte[] ntlm2Response = NtlmUtil.getNTLM2Response(passwordHash, type2.getChallenge(), clientChallenge); setLMResponse(clientChallenge); setNTResponse(ntlm2Response); final byte[] sessionNonce = new byte[16]; System.arraycopy(type2.getChallenge(), 0, sessionNonce, 0, 8); System.arraycopy(clientChallenge, 0, sessionNonce, 8, 8);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 32.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbSession.java
* @throws SmbException if an SMB error occurs * @throws UnknownHostException if the host cannot be resolved */ public static byte[] getChallenge(final UniAddress dc) throws SmbException, UnknownHostException { return getChallenge(dc, 0); } /** * Retrieves the NTLM challenge from the specified domain controller using the specified port. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 20.7K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
// Final cleanup cleanup(); return inUse; } @Override public byte[] getChallenge(final CIFSContext tf, final Address dc) throws SmbException { return getChallenge(tf, dc, 0); } @Override public byte[] getChallenge(final CIFSContext tf, final Address dc, final int port) throws SmbException { try (SmbTransportInternal trans = tf.getTransportPool()Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 33.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/NtlmContext.java
if (LogStream.level >= 6) { Hexdump.hexdump(log, token, 0, token.length); } } serverChallenge = msg2.getChallenge(); ntlmsspFlags &= msg2.getFlags(); // netbiosName = getNtlmsspListItem(token, 0x0001); final Type3Message msg3 =
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7K bytes - Click Count (0) -
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; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.1K bytes - Click Count (1)