Exploit database

GH-bc303729e8eac9d0545e8253ab721603

abeltrar/app_security

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-1999-0211

1 source

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files14

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

venv/Lib/site-packages/django/core/checks/async_checks.py

Python · 403 bytes
import os

from . import Error, Tags, register

E001 = Error(
    "You should not set the DJANGO_ALLOW_ASYNC_UNSAFE environment variable in "
    "deployment. This disables async safety protection.",
    id="async.E001",
)


@register(Tags.async_support, deploy=True)
def check_async_unsafe(app_configs, **kwargs):
    if os.environ.get("DJANGO_ALLOW_ASYNC_UNSAFE"):
        return [E001]
    return []