Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 61 for ntlmssp (0.42 seconds)

  1. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

    package jcifs.smb1.ntlmssp;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  2. src/main/java/jcifs/ntlmssp/Type3Message.java

    import jcifs.ntlmssp.av.AvSingleHost;
    import jcifs.ntlmssp.av.AvTargetName;
    import jcifs.ntlmssp.av.AvTimestamp;
    import jcifs.smb.NtlmUtil;
    import jcifs.util.Crypto;
    
    /**
     * Represents an NTLMSSP Type-3 message.
     */
    public class Type3Message extends NtlmMessage {
    
        private byte[] lmResponse;
        private byte[] ntResponse;
        private String domain;
        private String user;
        private String workstation;
    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)
  3. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                byte[] invalidSignature = new byte[100];
                Arrays.fill(invalidSignature, (byte) 0xFF); // Fill with non-NTLMSSP signature
    
                // When & Then
                IOException thrown = assertThrows(IOException.class, () -> new Type2Message(invalidSignature));
                assertEquals("Not an NTLMSSP message.", thrown.getMessage());
            }
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 38.9K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            SMBUtil.writeInt2(8, buffer, 58); // Security buffer length
    
            // Add some dummy security data at offset 64 from start
            buffer[64] = (byte) 0x4E; // NTLMSSP signature start
            buffer[65] = (byte) 0x54;
            buffer[66] = (byte) 0x4C;
            buffer[67] = (byte) 0x4D;
            buffer[68] = (byte) 0x53;
            buffer[69] = (byte) 0x53;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  5. go.mod

    	cloud.google.com/go/monitoring v1.24.2 // indirect
    	filippo.io/edwards25519 v1.1.0 // indirect
    	github.com/Azure/azure-sdk-for-go/sdk/internal v1.11.1 // indirect
    	github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358 // indirect
    	github.com/AzureAD/microsoft-authentication-library-for-go v1.4.2 // indirect
    	github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.27.0 // indirect
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  6. src/main/java/jcifs/http/NetworkExplorer.java

                    p.setProperty(name, getInitParameter(name));
                }
            }
    
            try {
                if (p.getProperty("jcifs.smb.client.username") == null) {
                    new NtlmSsp();
                } else {
                    this.credentialsSupplied = true;
                }
    
                try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 23.4K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                throw dr;
            case 0x80000005: /* STATUS_BUFFER_OVERFLOW */
                break; /* normal for DCERPC named pipes */
            case NtStatus.NT_STATUS_MORE_PROCESSING_REQUIRED:
                break; /* normal for NTLMSSP */
            default:
                throw new SmbException(resp.errorCode, null);
            }
            if (resp.verifyFailed) {
                throw new SmbException("Signature verification failed.");
            }
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.8K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

            }
        }
    
        /**
         * Create an {@code NtlmPasswordAuthentication} object with raw password
         * hashes. This is used exclusively by the {@code jcifs.smb1.http.NtlmSsp}
         * class which is in turn used by NTLM HTTP authentication functionality.
         */
        /**
         * Create an NtlmPasswordAuthentication object with raw password hashes.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

         * @param tc the CIFS context
         * @param chlng
         *            The server challenge.
         * @return A <code>byte[]</code> containing the effective user session key,
         *         used in SMB MAC signing and NTLMSSP signing and sealing.
         */
        public byte[] getUserSessionKey(CIFSContext tc, byte[] chlng) {
            byte[] key = new byte[16];
            try {
                getUserSessionKey(tc, chlng, key, 0);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30.3K bytes
    - Click Count (0)
  10. src/main/java/jcifs/Configuration.java

         */
        boolean isAllowNTLMFallback();
    
        /**
         * Property {@code jcifs.smb.useRawNTLM} (boolean, default false)
         *
         * @return whether to use raw NTLMSSP tokens instead of SPNEGO wrapped ones
         * @since 2.1
         */
        boolean isUseRawNTLM();
    
        /**
         *
         * Property {@code jcifs.smb.client.disablePlainTextPasswords} (boolean, default true)
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 25.4K bytes
    - Click Count (0)
Back to Top