- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for getChallenge (0.05 sec)
-
src/test/java/jcifs/tests/NtlmTest.java
}; Type2Message t2 = new Type2Message(this.context, flags, challenge, target); Type2Message parsed = new Type2Message(t2.toByteArray()); assertArrayEquals(challenge, parsed.getChallenge()); assertEquals(target, parsed.getTarget()); } @Test public void testParsingType2NoTarget () throws IOException { int flags = 0; byte[] challenge = new byte[] {
Registered: 2025-05-25 00:10 - Last Modified: 2018-12-16 10:38 - 4.8K bytes - Viewed (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(byte[] challenge) { this.challenge = challenge; } /**
Registered: 2025-05-25 00:10 - Last Modified: 2019-03-22 20:39 - 12.6K bytes - Viewed (0) -
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: 2025-05-25 00:10 - Last Modified: 2018-07-01 13:12 - 14.4K bytes - Viewed (0) -
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: 2025-05-25 00:10 - Last Modified: 2020-12-20 14:09 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/SmbTransportPool.java
* @throws CIFSException * @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 * @param port * @param tc * @return NTLM challenge
Registered: 2025-05-25 00:10 - Last Modified: 2020-05-17 09:02 - 6.3K bytes - Viewed (0) -
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: 2025-05-25 00:10 - Last Modified: 2019-03-22 21:10 - 22.9K bytes - Viewed (0) -
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: 2025-05-25 00:10 - Last Modified: 2019-03-22 21:10 - 18.6K bytes - Viewed (0) -
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: 2025-05-25 00:10 - Last Modified: 2020-07-07 12:07 - 30.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmServlet.java
dc = UniAddress.getByName( domainController, true ); } NtlmPasswordAuthentication ntlm; if (msg.startsWith("NTLM ")) { byte[] challenge = SmbSession.getChallenge(dc); ntlm = NtlmSsp.authenticate(request, response, challenge); if (ntlm == null) return; } else { String auth = new String(Base64.decode(msg.substring(6)),
Registered: 2025-05-25 00:10 - Last Modified: 2019-03-22 21:10 - 6.8K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmServlet.java
} NtlmPasswordAuthentication ntlm; if ( msg.startsWith("NTLM ") ) { byte[] challenge = getTransportContext().getTransportPool().getChallenge(getTransportContext(), dc); ntlm = NtlmSsp.authenticate(getTransportContext(), request, response, challenge); if ( ntlm == null ) return; }
Registered: 2025-05-25 00:10 - Last Modified: 2018-07-01 13:12 - 7.6K bytes - Viewed (0)