Exploit database

GH-7f23bb1863af2241fd7aba0b0233a874

loic-houchi/django-faille-cve-2025-57833_test

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2025-57833

5 sources

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

Repository files4

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

venv/lib/python3.8/site-packages/django/contrib/gis/geoip2/resources.py

Python · 819 bytes
def City(response):
    return {
        "city": response.city.name,
        "continent_code": response.continent.code,
        "continent_name": response.continent.name,
        "country_code": response.country.iso_code,
        "country_name": response.country.name,
        "dma_code": response.location.metro_code,
        "is_in_european_union": response.country.is_in_european_union,
        "latitude": response.location.latitude,
        "longitude": response.location.longitude,
        "postal_code": response.postal.code,
        "region": response.subdivisions[0].iso_code if response.subdivisions else None,
        "time_zone": response.location.time_zone,
    }


def Country(response):
    return {
        "country_code": response.country.iso_code,
        "country_name": response.country.name,
    }