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 files42
loic-houchi/django-faille-cve-2025-57833_testRevision f321c2215885
- ↑..Parent directory
- __pycache__/
- _vendor/
- command/
- extern/
- __init__.py
- _deprecation_warning.py
- _imp.py
- archive_util.py
- build_meta.py
- cli-32.exe
- cli-64.exe
- cli.exe
- config.py
- dep_util.py
- depends.py
- dist.py
- errors.py
- extension.py
- glob.py
- gui-32.exe
- gui-64.exe
- gui.exe
- installer.py
- launch.py
- lib2to3_ex.py
- monkey.py
- msvc.py
- namespaces.py
- package_index.py
- py27compat.py
- py31compat.py
- py33compat.py
- py34compat.py
- sandbox.py
- script (dev).tmpl
- script.tmpl
- site-patch.py
- ssl_support.py
- unicode_utils.py
- version.py
- wheel.py
- windows_support.py
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
venv/lib/python3.8/site-packages/setuptools/unicode_utils.py
Python · 996 bytesimport unicodedata
import sys
from setuptools.extern import six
# HFS Plus uses decomposed UTF-8
def decompose(path):
if isinstance(path, six.text_type):
return unicodedata.normalize('NFD', path)
try:
path = path.decode('utf-8')
path = unicodedata.normalize('NFD', path)
path = path.encode('utf-8')
except UnicodeError:
pass # Not UTF-8
return path
def filesys_decode(path):
"""
Ensure that the given path is decoded,
NONE when no expected encoding works
"""
if isinstance(path, six.text_type):
return path
fs_enc = sys.getfilesystemencoding() or 'utf-8'
candidates = fs_enc, 'utf-8'
for enc in candidates:
try:
return path.decode(enc)
except UnicodeDecodeError:
continue
def try_encode(string, enc):
"turn unicode encoding into a functional routine"
try:
return string.encode(enc)
except UnicodeEncodeError:
return None