Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 149 for attacks (0.03 sec)

  1. src/main/java/org/codelibs/core/io/SerializeUtil.java

    /**
     * Utility for serializing objects with security protections.
     * <p>
     * This utility provides object serialization and deserialization with built-in
     * security protections against deserialization attacks. By default, it uses an
     * ObjectInputFilter to restrict which classes can be deserialized.
     * </p>
     * <p>
     * The default filter allows common safe classes like primitives, arrays, String,
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/FileUtil.java

    /**
     * Utility class for handling {@link File}.
     * <p>
     * <strong>SECURITY NOTE:</strong> When accepting file paths from untrusted sources,
     * always validate them using {@link #isPathSafe(Path, Path)} to prevent path traversal attacks.
     * Methods that accept path strings do not perform automatic validation to maintain backward compatibility.
     * </p>
     *
     * @author higa
     */
    public abstract class FileUtil {
    
        /**
         * Do not instantiate.
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContext.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Pre-authentication Integrity Negotiate Context.
     *
     * This negotiate context is used in SMB 3.1.1 to establish
     * pre-authentication integrity protection against downgrade attacks.
     *
     * @author mbechler
     */
    public class PreauthIntegrityNegotiateContext implements NegotiateContextRequest, NegotiateContextResponse {
    
        /**
         * Context type
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  4. README.md

    - **Encryption Context**: Per-session encryption state management
    - **Key Derivation**: SMB3 KDF implementation with dialect-specific parameters
    - **Pre-Authentication Integrity**: SMB 3.1.1 PAI for preventing downgrade attacks
    - **Automatic Detection**: Encryption automatically enabled when servers require it
    - **Secure Key Management**: Proper key derivation and nonce generation
    
    ### Core Features
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 09:24:52 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/av/AvTimestamp.java

     */
    package jcifs.ntlmssp.av;
    
    import jcifs.internal.util.SMBUtil;
    
    /**
     * NTLMSSP AV pair representing timestamp information in NTLM authentication.
     * Contains time-based data used to prevent replay attacks and ensure message freshness.
     *
     * @author mbechler
     */
    public class AvTimestamp extends AvPair {
    
        /**
         * Constructs an AvTimestamp from raw byte data
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/JdkBackedImmutableMultiset.java

    import java.util.Collection;
    import java.util.Map;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An implementation of ImmutableMultiset backed by a JDK Map and a list of entries. Used to protect
     * against hash flooding attacks.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    final class JdkBackedImmutableMultiset<E> extends ImmutableMultiset<E> {
      private final Map<E, Integer> delegateMap;
      private final ImmutableList<Entry<E>> entries;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  7. docs/contribute/code_of_conduct.md

       documentation may negatively impact others.
    
     * **Be respectful**: We expect people to work together to resolve conflict, assume good intentions,
       and act with empathy. Do not turn disagreements into personal attacks.
    
     * **Be collaborative**: Collaboration reduces redundancy and improves the quality of our work. We
       strive for transparency within our open source community, and we work closely with upstream
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
Back to top