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 files19
abeltrar/app_securityRevision 29cf1dcbe92b

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

venv/Lib/site-packages/django/__init__.py

Python · 799 bytes
from django.utils.version import get_version

VERSION = (5, 0, 7, "final", 0)

__version__ = get_version(VERSION)


def setup(set_prefix=True):
    """
    Configure the settings (this happens as a side effect of accessing the
    first setting), configure logging and populate the app registry.
    Set the thread-local urlresolvers script prefix if `set_prefix` is True.
    """
    from django.apps import apps
    from django.conf import settings
    from django.urls import set_script_prefix
    from django.utils.log import configure_logging

    configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
    if set_prefix:
        set_script_prefix(
            "/" if settings.FORCE_SCRIPT_NAME is None else settings.FORCE_SCRIPT_NAME
        )
    apps.populate(settings.INSTALLED_APPS)