Exploit databaseDownload repository ZIP
GH-bc303729e8eac9d0545e8253ab721603
abeltrar/app_security
Sources for CVE-1999-0211
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files14
abeltrar/app_securityRevision 29cf1dcbe92b
- ↑..Parent directory
- __pycache__/
- compatibility/
- security/
- __init__.py
- async_checks.py
- caches.py
- database.py
- files.py
- messages.py
- model_checks.py
- registry.py
- templates.py
- translation.py
- urls.py
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 bytesimport 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 []