Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for attacker (0.05 sec)

  1. docs/en/docs/advanced/security/http-basic-auth.md

        # Return some error
        ...
    ```
    
    But by using the `secrets.compare_digest()` it will be secure against a type of attacks called "timing attacks".
    
    ### Timing Attacks { #timing-attacks }
    
    But what's a "timing attack"?
    
    Let's imagine some attackers are trying to guess the username and password.
    
    And they send a request with a username `johndoe` and a password `love123`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5K bytes
    - Viewed (0)
  2. 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)
  3. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

    import java.util.concurrent.TimeUnit;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    /**
     * Security-focused test cases for NtlmPasswordAuthenticator to verify timing attack resistance.
     */
    public class NtlmPasswordAuthenticatorTimingAttackTest {
    
        private static final int TIMING_ITERATIONS = 1000;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/async-tests.md

    /// tip
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/middleware.md

    ## `TrustedHostMiddleware` { #trustedhostmiddleware }
    
    Enforces that all incoming requests have a correctly set `Host` header, in order to guard against HTTP Host Header attacks.
    
    {* ../../docs_src/advanced_middleware/tutorial002.py hl[2,6:8] *}
    
    The following arguments are supported:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:59:07 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. docs/en/data/topic_repos.yml

    - name: slowapi
      html_url: https://github.com/laurentS/slowapi
      stars: 1580
      owner_login: laurentS
      owner_html_url: https://github.com/laurentS
    - name: coronavirus-tracker-api
      html_url: https://github.com/ExpDev07/coronavirus-tracker-api
      stars: 1578
      owner_login: ExpDev07
      owner_html_url: https://github.com/ExpDev07
    - name: fastapi-crudrouter
      html_url: https://github.com/awtkns/fastapi-crudrouter
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 08:57:41 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtStatus.java

                "A notify change request is being completed.", "The data was too large to fit into the specified buffer.",
                "A device attached to the system is not functioning.", "Incorrect function.", "The parameter is incorrect.",
                "Invalid access to memory location.", "The handle is invalid.", "The parameter is incorrect.",
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/jcifs/smb1/smb1/NtStatus.java

         * These messages provide human-readable descriptions for various NT status values.
         */
        String[] NT_STATUS_MESSAGES = { "The operation completed successfully.", "A device attached to the system is not functioning.",
                "Incorrect function.", "The parameter is incorrect.", "Invalid access to memory location.", "The handle is invalid.",
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

    /**
     * Security-focused test cases for Smb2NegotiateResponse input validation.
     * Tests various malformed input scenarios to ensure proper validation and
     * protection against buffer overflow, integer overflow, and other attacks.
     */
    public class Smb2NegotiateResponseInputValidationTest {
    
        private Configuration mockConfig;
        private Smb2NegotiateResponse response;
    
        @BeforeEach
        public void setUp() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top