Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 265 for attacker (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/test_openapi_cache_root_path.py

    from fastapi.testclient import TestClient
    
    
    def test_root_path_does_not_persist_across_requests():
        app = FastAPI()
    
        @app.get("/")
        def read_root():  # pragma: no cover
            return {"ok": True}
    
        # Attacker request with a spoofed root_path
        attacker_client = TestClient(app, root_path="/evil-api")
        response1 = attacker_client.get("/openapi.json")
        data1 = response1.json()
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 24 09:28:10 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  2. SECURITY.md

    ### Hardware attacks
    
    Physical GPUs or TPUs can also be the target of attacks. [Published
    research](https://scholar.google.com/scholar?q=gpu+side+channel) shows that it
    might be possible to use side channel attacks on the GPU to leak data from other
    running models or processes in the same system. GPUs can also have
    implementation bugs that might allow attackers to leave malicious code running
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Oct 16 16:10:43 GMT 2024
    - 9.6K bytes
    - Click Count (0)
  3. 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`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5K bytes
    - Click Count (0)
  4. docs/en/docs/advanced/strict-content-type.md

    Attackers could simply run a script to send requests to your API, no need for browser interaction, so you are probably already securing any privileged endpoints.
    
    In that case **this attack / risk doesn't apply to you**.
    
    This risk and attack is mainly relevant when the app runs on the **local network** and that is the **only assumed protection**.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Feb 23 17:45:20 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  5. CHANGELOG/CHANGELOG-1.23.md

    ### CVE-2022-3172: Aggregated API server can cause clients to be redirected (SSRF)
    
    A security issue was discovered in kube-apiserver that could allow an attacker controlled aggregated API server to redirect client traffic to any URL.  This could lead to the client performing unexpected actions as well as leaking the client's credentials to third parties. 
    
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Tue Feb 28 21:06:52 GMT 2023
    - 424.5K bytes
    - Click Count (0)
  6. CHANGELOG/CHANGELOG-1.22.md

    - Replace `go-bindata` with `//go:embed`. ([#99829](https://github.com/kubernetes/kubernetes/pull/99829), [@palnabarun](https://github.com/palnabarun))
    - The `DynamicFakeClient` now exposes its tracker via a `Tracker()` function. ([#100085](https://github.com/kubernetes/kubernetes/pull/100085), [@markusthoemmes](https://github.com/markusthoemmes))
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Tue Dec 13 12:43:45 GMT 2022
    - 454.1K bytes
    - Click Count (0)
  7. docs/uk/docs/advanced/security/http-basic-auth.md

        # Поверніть якусь помилку
        ...
    ```
    
    Але використовуючи `secrets.compare_digest()`, це буде захищено від типу атак, що називаються «атаки за часом» (timing attacks).
    
    ### Атаки за часом { #timing-attacks }
    
    Що таке «атака за часом»?
    
    Уявімо, що зловмисники намагаються вгадати ім'я користувача та пароль.
    
    Вони надсилають запит з ім'ям користувача `johndoe` та паролем `love123`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  8. CHANGELOG/CHANGELOG-1.25.md

    ### CVE-2022-3172: Aggregated API server can cause clients to be redirected (SSRF)
    
    A security issue was discovered in kube-apiserver that could allow an attacker controlled aggregated API server to redirect client traffic to any URL.  This could lead to the client performing unexpected actions as well as leaking the client's credentials to third parties. 
    
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Mon May 06 09:23:20 GMT 2024
    - 419.1K bytes
    - Click Count (0)
  9. docs/ko/docs/advanced/security/http-basic-auth.md

    ```Python
    if not (credentials.username == "stanleyjobson") or not (credentials.password == "swordfish"):
        # 어떤 오류를 반환
        ...
    ```
    
    하지만 `secrets.compare_digest()`를 사용하면 "timing attacks"라고 불리는 한 유형의 공격에 대해 안전해집니다.
    
    ### 타이밍 공격 { #timing-attacks }
    
    그렇다면 "timing attack"이란 무엇일까요?
    
    공격자들이 사용자명과 비밀번호를 추측하려고 한다고 가정해봅시다.
    
    그리고 사용자명 `johndoe`, 비밀번호 `love123`으로 요청을 보냅니다.
    
    그러면 애플리케이션의 Python 코드는 대략 다음과 같을 것입니다:
    
    ```Python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  10. docs/ru/docs/advanced/security/http-basic-auth.md

    Замечая, что сервер прислал «Неверное имя пользователя или пароль» на несколько микросекунд позже, злоумышленники поймут, что какая-то часть была угадана — начальные буквы верны.
    
    Тогда они могут попробовать снова, зная, что правильнее что-то ближе к `stanleyjobsox`, чем к `johndoe`.
    
    #### «Профессиональная» атака { #a-professional-attack }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 7.4K bytes
    - Click Count (0)
Back to Top