- Sort Score
- Num 10 results
- Language All
Results 1 - 9 of 9 for Type2 (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/smb1/ntlmssp/Type3Message.java
setLMResponse(getLMv2Response(type2, domain, user, password, clientChallenge)); /* setNTResponse(getNTLMv2Response(type2, domain, user, password, clientChallenge)); */ break; default: setLMResponse(getLMResponse(type2, password)); setNTResponse(getNTResponse(type2, password)); } } /**
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 24.1K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/Type3Message.java
* * @param tc * context to use * @param type2 * The Type-2 message. * @return An <code>int</code> containing the default flags. */ public static int getDefaultFlags(final CIFSContext tc, final Type2Message type2) { if (type2 == null) { return getDefaultFlags(tc); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 32.7K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/Type3MessageTest.java
void testType3MessageFromBytes() throws Exception { // Given - Create a Type 3 message and convert to bytes Type2Message type2 = createMockType2Message(); Type3Message original = new Type3Message(createMockContext(), type2, null, "password", "DOMAIN", "user", "WORKSTATION", 0); byte[] messageBytes = original.toByteArray(); // When
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/ntlmssp/Type2Message.java
data += 8; } final byte[] type2 = new byte[data + target.length + (targetInformation != null ? targetInformation.length : 0)]; System.arraycopy(NTLMSSP_SIGNATURE, 0, type2, 0, 8); writeULong(type2, 8, 2); writeSecurityBuffer(type2, 12, data, target); writeULong(type2, 20, flags);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 13K bytes - Click Count (0) -
src/main/java/jcifs/http/NtlmSsp.java
if (src[8] == 1) { final Type1Message type1 = new Type1Message(src); final Type2Message type2 = new Type2Message(tc, type1, challenge, null); msg = new String(Base64.encode(type2.toByteArray()), "US-ASCII"); resp.setHeader("WWW-Authenticate", "NTLM " + msg); } else if (src[8] == 3) {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/http/NtlmSsp.java
if (src[8] == 1) { final Type1Message type1 = new Type1Message(src); final Type2Message type2 = new Type2Message(type1, challenge, null); msg = Base64.encode(type2.toByteArray()); resp.setHeader("WWW-Authenticate", "NTLM " + msg); } else if (src[8] == 3) {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java
password = new String(auth.getPassword()); } catch (final Exception ex) {} } final Type2Message type2 = (Type2Message) message; message = new Type3Message(type2, password, domain, user, Type3Message.getDefaultWorkstation(), 0); } return message; } private void reconnect() throws IOException {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 22.1K bytes - Click Count (0) -
src/main/java/jcifs/http/NtlmHttpURLConnection.java
log.debug("Interactive authentication failed", ex); } } final Type2Message type2 = (Type2Message) message; message = new Type3Message(this.transportContext, type2, null, password, domain, user, this.transportContext.getNameServiceClient().getLocalHost().getHostName(), 0); } return message;
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 25.6K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
} @Test @DisplayName("parse should handle truncated message missing context") void testParse_InputLengthTooSmallForContext() { // Given // Create a minimal Type2 message manually byte[] truncatedMessage = new byte[32]; System.arraycopy(Type2Message.NTLMSSP_SIGNATURE, 0, truncatedMessage, 0, 8);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 38.9K bytes - Click Count (0)