Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for EncryptionKey (0.23 sec)

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

                    auth.getUserSessionKey(transport.server.encryptionKey, macSigningKey, 0);
                    break;
                default:
                    macSigningKey = new byte[40];
                    auth.getUserSessionKey(transport.server.encryptionKey, macSigningKey, 0);
                    System.arraycopy(auth.getUnicodeHash(transport.server.encryptionKey),
                                0, macSigningKey, 16, 24);
                    break;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

                    } else if (session.transport.server.encryptedPasswords) {
                        lmHash = auth.getAnsiHash( session.transport.server.encryptionKey );
                        ntHash = auth.getUnicodeHash( session.transport.server.encryptionKey );
                        // prohibit HTTP auth attempts for the null session
                        if (lmHash.length == 0 && ntHash.length == 0) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

            int start = bufferIndex;
    
            if ((server.capabilities & CAP_EXTENDED_SECURITY) == 0) {
                server.encryptionKey = new byte[server.encryptionKeyLength];
                System.arraycopy( buffer, bufferIndex,
                        server.encryptionKey, 0, server.encryptionKeyLength );
                bufferIndex += server.encryptionKeyLength;
                if( byteCount > server.encryptionKeyLength ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/ServerData.java

        public boolean signaturesRequired;
        public int maxNumberVcs;
        public int maxRawSize;
        public long serverTime;
        public int serverTimeZone;
        public int encryptionKeyLength;
        public byte[] encryptionKey;
        public byte[] guid;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

                        if ( server.encryptedPasswords ) {
                            this.lmHash = a.getAnsiHash(tc, server.encryptionKey);
                            this.ntHash = a.getUnicodeHash(tc, server.encryptionKey);
                            // prohibit HTTP auth attempts for the null session
                            if ( this.lmHash.length == 0 && this.ntHash.length == 0 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 17 10:20:23 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

                }
                else if ( this.server.encryptedPasswords ) {
                    // encrypted
                    try {
                        this.password = pwAuth.getAnsiHash(this.ctx, this.server.encryptionKey);
                    }
                    catch ( GeneralSecurityException e ) {
                        throw new RuntimeCIFSException("Failed to encrypt password", e);
                    }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

                if( session.transport.server.encryptedPasswords ) {
                    // encrypted
                    password = session.auth.getAnsiHash( session.transport.server.encryptionKey );
                    passwordLength = password.length;
                } else if( DISABLE_PLAIN_TEXT_PASSWORDS ) {
                    throw new RuntimeException( "Plain text passwords are disabled" );
                } else {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.8K bytes
    - Viewed (0)
Back to top