Exploit databaseDownload repository ZIP
GH-7f23bb1863af2241fd7aba0b0233a874
loic-houchi/django-faille-cve-2025-57833_test
Sources for CVE-2025-57833
5 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files7
loic-houchi/django-faille-cve-2025-57833_testRevision f321c2215885
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
venv/lib/python3.8/site-packages/django/core/files/storage/mixins.py
Python · 700 bytesclass StorageSettingsMixin:
def _clear_cached_properties(self, setting, **kwargs):
"""Reset setting based property values."""
if setting == "MEDIA_ROOT":
self.__dict__.pop("base_location", None)
self.__dict__.pop("location", None)
elif setting == "MEDIA_URL":
self.__dict__.pop("base_url", None)
elif setting == "FILE_UPLOAD_PERMISSIONS":
self.__dict__.pop("file_permissions_mode", None)
elif setting == "FILE_UPLOAD_DIRECTORY_PERMISSIONS":
self.__dict__.pop("directory_permissions_mode", None)
def _value_or_setting(self, value, setting):
return setting if value is None else value