Exploit databaseDownload repository ZIP
GH-f7058a3a4d8f9e0ceef2ba1ac1c12f6f
chybeta/cve-2017-11427-demo
Sources for CVE-2017-11427
3 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files28
chybeta/cve-2017-11427-demoRevision 8a420b9ea68c
- ↑..Parent directory
- signatures/
- tool/
- __init__.py
- __init__.pyc
- __main__.py
- __main__.pyc
- archive.py
- archive.pyc
- bdist_wheel.py
- bdist_wheel.pyc
- decorator.py
- decorator.pyc
- egg2wheel.py
- egg2wheel.pyc
- install.py
- install.pyc
- metadata.py
- metadata.pyc
- paths.py
- paths.pyc
- pep425tags.py
- pep425tags.pyc
- pkginfo.py
- pkginfo.pyc
- util.py
- util.pyc
- wininst2wheel.py
- wininst2wheel.pyc
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
venv/lib/python2.7/site-packages/wheel/paths.py
Python · 1,129 bytes"""
Installation paths.
Map the .data/ subdirectory names to install paths.
"""
import distutils.command.install as install
import distutils.dist as dist
import os.path
import sys
def get_install_command(name):
# late binding due to potential monkeypatching
d = dist.Distribution({'name': name})
i = install.install(d)
i.finalize_options()
return i
def get_install_paths(name):
"""
Return the (distutils) install paths for the named dist.
A dict with ('purelib', 'platlib', 'headers', 'scripts', 'data') keys.
"""
paths = {}
i = get_install_command(name)
for key in install.SCHEME_KEYS:
paths[key] = getattr(i, 'install_' + key)
# pip uses a similar path as an alternative to the system's (read-only)
# include directory:
if hasattr(sys, 'real_prefix'): # virtualenv
paths['headers'] = os.path.join(sys.prefix,
'include',
'site',
'python' + sys.version[:3],
name)
return paths