Exploit databaseDownload repository ZIP
GH-3fe86c5f9d22fd81d8385b990ffa1470
raka200juta/28458
Sources for CVE-2020-28458
2 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files13
raka200juta/28458Revision f655c7f24090
- ↑..Parent directory
- __pycache__/
- __init__.py
- candidate.py
- direct_url.py
- format_control.py
- index.py
- installation_report.py
- link.py
- scheme.py
- search_scope.py
- selection_prefs.py
- target_python.py
- wheel.py
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
venv/lib/python3.12/site-packages/pip/_internal/models/scheme.py
Python · 738 bytes"""
For types associated with installation schemes.
For a general overview of available schemes and their context, see
https://docs.python.org/3/install/index.html#alternate-installation.
"""
SCHEME_KEYS = ["platlib", "purelib", "headers", "scripts", "data"]
class Scheme:
"""A Scheme holds paths which are used as the base directories for
artifacts associated with a Python package.
"""
__slots__ = SCHEME_KEYS
def __init__(
self,
platlib: str,
purelib: str,
headers: str,
scripts: str,
data: str,
) -> None:
self.platlib = platlib
self.purelib = purelib
self.headers = headers
self.scripts = scripts
self.data = data