Exploit databaseDownload repository ZIP
GH-f7b6d713db0c234fd286d161e70825c0
atorralba/cve-2021-30005-poc
Sources for CVE-2021-30005
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files27
atorralba/cve-2021-30005-pocRevision 9eed786e4de2
- ↑..Parent directory
- __init__.py
- appdirs.py
- compat.py
- deprecation.py
- distutils_args.py
- encoding.py
- entrypoints.py
- filesystem.py
- filetypes.py
- glibc.py
- hashes.py
- inject_securetransport.py
- logging.py
- marker_files.py
- misc.py
- models.py
- packaging.py
- pkg_resources.py
- setuptools_build.py
- subprocess.py
- temp_dir.py
- typing.py
- ui.py
- unpacking.py
- urls.py
- virtualenv.py
- wheel.py
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
venv/lib/python2.7/site-packages/pip/_internal/utils/marker_files.py
Python · 741 bytesimport os.path
DELETE_MARKER_MESSAGE = '''\
This file is placed here by pip to indicate the source was put
here by pip.
Once this package is successfully installed this source code will be
deleted (unless you remove this file).
'''
PIP_DELETE_MARKER_FILENAME = 'pip-delete-this-directory.txt'
def has_delete_marker_file(directory):
# type: (str) -> bool
return os.path.exists(os.path.join(directory, PIP_DELETE_MARKER_FILENAME))
def write_delete_marker_file(directory):
# type: (str) -> None
"""
Write the pip delete marker file into this directory.
"""
filepath = os.path.join(directory, PIP_DELETE_MARKER_FILENAME)
with open(filepath, 'w') as marker_fp:
marker_fp.write(DELETE_MARKER_MESSAGE)