Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for Nash (0.13 sec)

  1. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                return false;
            }
    
            boolean valid = false;
            for ( int hash : rpc.getHashAlgos() ) {
                if ( hash == pc.getHashAlgos()[ 0 ] ) {
                    valid = true;
                }
            }
            if ( !valid ) {
                log.error("Server returned invalid hash selection");
                return false;
            }
            return true;
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Mar 22 10:09:46 GMT 2020
    - 17.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

        }
    
    
        private final boolean filter ( FileEntry fe ) {
            String name = fe.getName();
            if ( name.length() < 3 ) {
                int h = name.hashCode();
                if ( h == SmbFile.HASH_DOT || h == SmbFile.HASH_DOT_DOT ) {
                    if ( name.equals(".") || name.equals("..") )
                        return false;
                }
            }
            if ( this.nameFilter == null ) {
                return true;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFile.java

        protected static final int ATTR_SET_MASK = 0x30A7;
        protected static final int DEFAULT_ATTR_EXPIRATION_PERIOD = 5000;
    
        protected static final int HASH_DOT = ".".hashCode();
        protected static final int HASH_DOT_DOT = "..".hashCode();
    
        private static Logger log = LoggerFactory.getLogger(SmbFile.class);
    
        private long createTime;
        private long lastModified;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportImpl.java

                updatePreauthHash(resp.getRequestRaw());
                updatePreauthHash(resp.getResponseRaw());
                if ( log.isDebugEnabled() ) {
                    log.debug("Preauth hash after negotiate " + Hexdump.toHexString(this.preauthIntegrityHash));
                }
            }
        }
    
    
        protected synchronized void doDisconnect ( boolean hard ) throws IOException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

         * @see java.lang.Object#hashCode()
         */
        @Override
        public int hashCode () {
            int hash;
            try {
                hash = getAddress().hashCode();
            }
            catch ( CIFSException uhe ) {
                hash = getServer().toUpperCase().hashCode();
            }
            return hash + getURLPath().toUpperCase().hashCode();
        }
    
    
        /**
         * {@inheritDoc}
         *
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jul 20 08:24:53 GMT 2019
    - 23.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/Type3Message.java

         *            The Type-2 message which this represents a response to.
         * @param targetName
         *            SPN of the target system, optional
         * @param passwordHash
         *            The NT password hash to use when constructing the response.
         * @param domain
         *            The domain in which the user has an account.
         * @param user
         *            The username for the authenticating user.
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 30.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbSessionImpl.java

            this.preauthIntegrityHash = preauthIntegrity ? trans.getPreauthIntegrityHash() : null;
    
            if ( this.preauthIntegrityHash != null && log.isDebugEnabled() ) {
                log.debug("Initial session preauth hash " + Hexdump.toHexString(this.preauthIntegrityHash));
            }
    
            while ( true ) {
                Subject s = this.credentials.getSubject();
                if ( ctx == null ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:41:04 GMT 2021
    - 49K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top