- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 90 for attacks (0.03 sec)
-
src/main/java/jcifs/util/InputValidator.java
*/ package jcifs.util; import java.util.regex.Pattern; /** * Comprehensive input validation utility for SMB protocol implementation. * Provides validation methods to prevent buffer overflows, injection attacks, * and other security vulnerabilities. */ public final class InputValidator { private InputValidator() { // Utility class }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.5K bytes - Viewed (0) -
src/main/java/jcifs/util/AuthenticationRateLimiter.java
import java.util.concurrent.atomic.AtomicLong; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.smb.SmbException; /** * Rate limiter for authentication attempts to prevent brute force attacks. * * Features: * - Per-account rate limiting * - Per-IP rate limiting * - Global rate limiting * - Exponential backoff for repeated failures * - Account lockout after threshold
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
constantTimeCopy(output, message.length, authTag, 0, tagLength); return new EncryptionResult(ciphertext, authTag); } /** * Perform constant-time encryption to prevent timing attacks */ private byte[] performConstantTimeEncryption(Cipher cipher, byte[] message) throws Exception { // Pad to fixed block size to prevent timing leaks int blockSize = cipher.getBlockSize();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
final byte[] cmp = new byte[SIGNATURE_LENGTH]; System.arraycopy(mac.doFinal(), 0, cmp, 0, SIGNATURE_LENGTH); // Use constant-time comparison to prevent timing attacks if (!MessageDigest.isEqual(sig, cmp)) { return false; // Signature verification failed } return true; // Signature verification succeeded } finally {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/PreauthIntegrityService.java
import jcifs.internal.smb2.nego.PreauthIntegrityNegotiateContext; /** * Enhanced Pre-Authentication Integrity Service for SMB 3.1.1. * * Provides comprehensive pre-authentication integrity protection against * downgrade attacks by maintaining cryptographic hash chains of all * negotiation and session setup messages. */ public class PreauthIntegrityService {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 12.1K bytes - Viewed (0) -
src/main/java/jcifs/util/PathValidator.java
import java.util.regex.Pattern; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.smb.SmbException; /** * Path validation utility to prevent directory traversal and other path-based attacks. * * Features: * - Directory traversal prevention * - Path normalization * - Blacklist/whitelist support * - UNC path validation * - Special character filtering * - Length validation */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.5K bytes - Viewed (0) -
docs/features/https.md
By default, OkHttp trusts the certificate authorities of the host platform. This strategy maximizes connectivity, but it is subject to certificate authority attacks such as the [2011 DigiNotar attack](https://www.computerworld.com/article/2510951/cybercrime-hacking/hackers-spied-on-300-000-iranians-using-fake-google-certificate.html). It also assumes your HTTPS servers’ certificates are signed by a certificate authority.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Dec 24 00:16:30 UTC 2022 - 10.5K bytes - Viewed (0) -
src/main/java/jcifs/util/SecureCredentialStorage.java
* * Features: * - Encrypts credentials at rest using AES-256-GCM * - Uses PBKDF2 for key derivation from master password * - Secure wiping of sensitive data * - Thread-safe operations * - Protection against timing attacks */ public class SecureCredentialStorage implements AutoCloseable, Destroyable { private static final Logger log = LoggerFactory.getLogger(SecureCredentialStorage.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.smb.SmbException; /** * Validator for SMB server responses to prevent buffer overflow and injection attacks. * * Features: * - Buffer bounds checking * - Integer overflow prevention * - Size validation * - Protocol compliance checking * - Malformed response detection */ public class ServerResponseValidator {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashCode.java
* representation to this hash code. * * <p><b>Security note:</b> this method uses a constant-time (not short-circuiting) implementation * to protect against <a href="http://en.wikipedia.org/wiki/Timing_attack">timing attacks</a>. */ @Override public final boolean equals(@Nullable Object object) { if (object instanceof HashCode) { HashCode that = (HashCode) object;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.6K bytes - Viewed (0)