- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for getAnsiHash (0.13 sec)
-
src/main/java/jcifs/smb/NtlmPasswordAuthentication.java
* {@inheritDoc} * * @see jcifs.smb.NtlmPasswordAuthenticator#getAnsiHash(jcifs.CIFSContext, byte[]) */ @Override public byte[] getAnsiHash ( CIFSContext tc, byte[] chlng ) throws GeneralSecurityException { if ( this.hashesExternal ) { return this.ansiHash; } return super.getAnsiHash(tc, chlng); } /** * {@inheritDoc} *
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 10:50:16 UTC 2020 - 8.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java
ntHash = new byte[0]; capabilities &= ~SmbConstants.CAP_EXTENDED_SECURITY; } 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
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 7.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java
this.passwordLength = 1; } 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) -
src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 6.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java
this.primaryDomain = a.getUserDomain() != null ? a.getUserDomain().toUpperCase() : "?"; 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
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Mar 17 10:20:23 UTC 2019 - 8.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
* * @param tc * @param chlng * @return the hash for the given challenge * @throws GeneralSecurityException */ public byte[] getAnsiHash ( CIFSContext tc, byte[] chlng ) throws GeneralSecurityException { switch ( tc.getConfig().getLanManCompatibility() ) { case 0: case 1:
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 12:07:20 UTC 2020 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 22.5K bytes - Viewed (0)