Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Nash (0.15 sec)

  1. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

            DEFAULT_USERNAME = Config.getProperty("jcifs.smb1.smb.client.username", "GUEST");
            DEFAULT_PASSWORD = Config.getProperty("jcifs.smb1.smb.client.password", BLANK);
        }
    
    /**
     * Generate the ANSI DES hash for the password associated with these credentials.
     */
        static public byte[] getPreNTLMResponse( String password, byte[] challenge ) {
            byte[] p14 = new byte[14];
            byte[] p21 = new byte[21];
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/NamingTest.java

        public void testWhitespaceSuffix () throws Exception {
            runFilenameTest("wssuffix ");
        }
    
    
        @Test
        @Ignore
        public void testHash () throws Exception {
            runFilenameTest("hash#tag");
        }
    
    
        private void runFilenameTest ( String... names ) throws CIFSException, UnknownHostException, MalformedURLException {
            try ( SmbFile d = createTestDirectory() ) {
                try {
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jun 06 10:48:05 GMT 2020
    - 7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

        /**
         * 
         */
        public static final int FSCTL_SRV_REQUEST_RESUME_KEY = 0x00140078;
        /**
         * 
         */
        public static final int FSCTL_SRV_READ_HASH = 0x001441bb;
        /**
         * 
         */
        public static final int FSCTL_SRV_COPYCHUNK_WRITE = 0x001480F2;
        /**
         * 
         */
        public static final int FSCTL_LRM_REQUEST_RESILENCY = 0x001401D4;
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 07:13:17 GMT 2018
    - 7.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/SessionTest.java

            Assume.assumeTrue(Boolean.parseBoolean(getProperties().getOrDefault("jcifs.smb.client.useExtendedSecurity", "true")));
            byte[] hash = NtlmUtil.getNTHash(getTestUserPassword());
            CIFSContext ctx = getContext().withCredentials(new NtlmNtHashAuthenticator(getTestUserDomain(), getTestUser(), hash));
            try ( SmbResource f = new SmbFile(getTestShareURL(), ctx); ) {
                checkConnection(f);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 15.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/MD4.java

                System.arraycopy(input, offset + i, buffer, bufferNdx, len - i);
        }
    
        /**
         * Completes the hash computation by performing final operations such
         * as padding. At the return of this engineDigest, the MD engine is
         * reset.
         *
         * @return the array of bytes for the resulting hash value.
         */
        public byte[] engineDigest () {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * @throws SmbException
     */
    
        public int hashCode() {
            int hash;
            try {
                hash = getAddress().hashCode();
            } catch( UnknownHostException uhe ) {
                hash = getServer().toUpperCase().hashCode();
            }
            getUncPath0();
            return hash + canon.toUpperCase().hashCode();
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  7. src/main/java/jcifs/smb/NtlmUtil.java

            return getNTLMResponse(getNTHash(password), challenge);
        }
    
    
        /**
         * Generate the Unicode MD4 hash for the password associated with these credentials.
         * 
         * @param passwordHash
         *            NT Hash
         * @param challenge
         * @return the calculated response
         * @throws GeneralSecurityException
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 9.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

         * 
         */
        public static final int SMB2_SHAREFLAG_FORCE_LEVEL2_OPLOCK = 0x1000;
        /**
         * 
         */
        public static final int SMB2_SHAREFLAG_ENABLE_HASH_V1 = 0x2000;
        /**
         * 
         */
        public static final int SMB2_SHAREFLAG_ENABLE_HASH_V2 = 0x4000;
        /**
         * 
         */
        public static final int SMB2_SHAREFLAG_ENCRYPT_DATA = 0x8000;
    
        /**
         * 
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon May 23 14:35:20 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContext.java

        /**
         * Context type
         */
        public static final int NEGO_CTX_PREAUTH_TYPE = 0x1;
    
        /**
         * SHA-512
         */
        public static final int HASH_ALGO_SHA512 = 0x1;
    
        private int[] hashAlgos;
        private byte[] salt;
    
    
        /**
         * 
         * @param config
         * @param hashAlgos
         * @param salt
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

                byte[] salt = new byte[32];
                config.getRandom().nextBytes(salt);
                negoContexts.add(new PreauthIntegrityNegotiateContext(config, new int[] {
                    PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512
                }, salt));
                this.preauthSalt = salt;
    
                if ( config.isEncryptionEnabled() ) {
                    negoContexts.add(new EncryptionNegotiateContext(config, new int[] {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7.5K bytes
    - Viewed (0)
Back to top