- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for Type2Message (0.17 sec)
-
src/main/java/jcifs/ntlmssp/Type2Message.java
import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.CIFSContext; /** * Represents an NTLMSSP Type-2 message. */ public class Type2Message extends NtlmMessage { private static final Logger log = LoggerFactory.getLogger(Type2Message.class); private byte[] challenge; private String target; private byte[] context; private byte[] targetInformation;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 14.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type2Message.java
* environment. */ public Type2Message() { this(getDefaultFlags(), null, null); } /** * Creates a Type-2 message in response to the given Type-1 message * using default values from the current environment. * * @param type1 The Type-1 message which this represents a response to. */ public Type2Message(Type1Message type1) { this(type1, null, null);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 12.6K bytes - Viewed (0) -
src/test/java/jcifs/tests/NtlmTest.java
String target = "TARGET"; byte[] challenge = new byte[] { 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8 }; Type2Message t2 = new Type2Message(this.context, flags, challenge, target); Type2Message parsed = new Type2Message(t2.toByteArray()); assertArrayEquals(challenge, parsed.getChallenge()); assertEquals(target, parsed.getTarget()); } @Test
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Dec 16 10:38:43 UTC 2018 - 4.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/ntlm/JcifsEngine.java
final String challenge) throws NTLMEngineException { Type2Message type2Message; try { type2Message = new Type2Message(Base64.getDecoder().decode(challenge)); } catch (final IOException exception) { throw new NTLMEngineException("Invalid NTLM type 2 message", exception); } final int type2Flags = type2Message.getFlags();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmSsp.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmContext.java
default: throw new SmbException("Invalid state"); } } protected byte[] makeAuthenticate ( byte[] token ) throws SmbException { try { Type2Message msg2 = new Type2Message(token); if ( log.isTraceEnabled() ) { log.trace(msg2.toString()); log.trace(Hexdump.toHexString(token)); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 12:07:20 UTC 2020 - 15.7K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type3Message.java
* taking place. * @param flags * @throws GeneralSecurityException * @throws CIFSException */ public Type3Message ( CIFSContext tc, Type2Message type2, String targetName, String password, String domain, String user, String workstation, int flags ) throws GeneralSecurityException, CIFSException {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 12:07:20 UTC 2020 - 30.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmSsp.java
byte[] src = Base64.decode(msg.substring(5)); if (src[8] == 1) { Type1Message type1 = new Type1Message(src); Type2Message type2 = new Type2Message(type1, challenge, null); msg = Base64.encode(type2.toByteArray()); resp.setHeader( "WWW-Authenticate", "NTLM " + msg ); } else if (src[8] == 3) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 4.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java
user = auth.getUserName(); password = new String(auth.getPassword()); } catch (Exception ex) { } } Type2Message type2 = (Type2Message) message; message = new Type3Message(type2, password, domain, user, Type3Message.getDefaultWorkstation(), 0); } return message; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 20.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type3Message.java
*/ public static byte[] getLMResponse(Type2Message type2, String password) { if (type2 == null || password == null) return null; return NtlmPasswordAuthentication.getPreNTLMResponse(password, type2.getChallenge()); } public static byte[] getLMv2Response(Type2Message type2, String domain, String user, String password,
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 22.9K bytes - Viewed (0)