Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for nt (0.01 sec)

  1. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

        }
    
        /**
         * Returns the NT/NTLMv2 response.
         *
         * @return A <code>byte[]</code> containing the NT/NTLMv2 response.
         */
        public byte[] getNTResponse() {
            return ntResponse;
        }
    
        /**
         * Sets the NT/NTLMv2 response for this message.
         *
         * @param ntResponse The NT/NTLMv2 response.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/ntlmssp/Type3Message.java

        }
    
        /**
         * Returns the NT/NTLMv2 response.
         *
         * @return A <code>byte[]</code> containing the NT/NTLMv2 response.
         */
        public byte[] getNTResponse() {
            return this.ntResponse;
        }
    
        /**
         * Sets the NT/NTLMv2 response for this message.
         *
         * @param ntResponse
         *            The NT/NTLMv2 response.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/NtlmUtil.java

            hmac.update(Strings.getUNIBytes(domain));
            return hmac.digest();
        }
    
        /**
         * Generates the NT password hash for the given password.
         *
         * @param password the password to hash
         * @return nt password hash
         */
        public static byte[] getNTHash(final String password) {
            if (password == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/NtStatus.java

                NT_STATUS_PATH_NOT_COVERED, NT_STATUS_IO_REPARSE_TAG_NOT_HANDLED, };
    
        /**
         * Array of NT status message strings corresponding to NT status codes.
         * These messages provide human-readable descriptions for various NT status values.
         */
        String[] NT_STATUS_MESSAGES = { "The operation completed successfully.", "A device attached to the system is not functioning.",
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/NtlmUtilTest.java

            String password = "password";
            // Known NT hash for "password" (UTF-16LE MD4)
            // This is a well-known test vector: password -> 8846F7EAEE8FB117AD06BDD830B7586C
            byte[] expected = hex("8846F7EAEE8FB117AD06BDD830B7586C");
    
            // Act
            byte[] actual = NtlmUtil.getNTHash(password);
    
            // Assert
            assertArrayEquals(expected, actual, "NT hash must match known test vector");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

            // For primary NT transaction: should be at least 38 bytes
            assertTrue(primaryBytes >= 38);
    
            // Execute for secondary transaction
            transaction.setCommand(ServerMessageBlock.SMB_COM_NT_TRANSACT_SECONDARY);
            int secondaryBytes = transaction.writeParameterWordsWireFormat(dst, 0);
    
            // For secondary NT transaction: should be at least 36 bytes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtStatus.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb;
    
    /**
     * Interface defining NT status codes used in SMB protocol operations.
     * These status codes are returned by SMB servers to indicate the result
     * of requested operations. The codes follow the Windows NT status code format.
     */
    public interface NtStatus {
    
        /*
         * Don't bother to edit this. Everything within the interface
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        /** Whether to use NT status codes */
        boolean USE_NTSTATUS = Config.getBoolean("jcifs.smb1.smb.client.useNtStatus", true);
        /** Whether signing is preferred */
        boolean SIGNPREF = Config.getBoolean("jcifs.smb1.smb.client.signingPreferred", false);
        /** Whether to use NT SMBs */
        boolean USE_NTSMBS = Config.getBoolean("jcifs.smb1.smb.client.useNTSmbs", true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbConstants.java

         */
        int CAP_LARGE_FILES = 0x0008;
        /**
         * NT SMBs are supported capability.
         */
        int CAP_NT_SMBS = 0x0010;
        int CAP_PERSISTENT_HANDLES = 0x0002;
        /**
         * RPC remote APIs are supported capability.
         */
        int CAP_RPC_REMOTE_APIS = 0x0020;
        /**
         * NT status codes are supported capability.
         */
        int CAP_STATUS32 = 0x0040;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

    package jcifs.internal.smb1.trans.nt;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top