Exploit databaseDownload repository ZIP
GH-ea821316336f01071e5d83d15c2dd13b
opsxcq/exploit-cve-2017-7494
Sources for CVE-2017-7494
38 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files36
opsxcq/exploit-cve-2017-7494Revision 4d0bde4f1a7d
- ↑..Parent directory
- tests/
- README
- __init__.py
- configure_file.py
- generic_cc.py
- hpuxcc.py
- irixcc.py
- nothreads.py
- pkgconfig.py
- samba3.py
- samba_abi.py
- samba_autoconf.py
- samba_autoproto.py
- samba_bundled.py
- samba_conftests.py
- samba_cross.py
- samba_deps.py
- samba_dist.py
- samba_git.py
- samba_headers.py
- samba_install.py
- samba_optimisation.py
- samba_patterns.py
- samba_perl.py
- samba_pidl.py
- samba_python.py
- samba_third_party.py
- samba_utils.py
- samba_version.py
- samba_wildcard.py
- stale_files.py
- symbols.py
- test_duplicate_symbol.sh
- tru64cc.py
- wafsamba.py
- wscript
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
src/buildtools/wafsamba/samba_third_party.py
Python · 1,008 bytes# functions to support third party libraries
import os
import Utils, Build
from Configure import conf
@conf
def CHECK_FOR_THIRD_PARTY(conf):
return os.path.exists(os.path.join(Utils.g_module.srcdir, 'third_party'))
Build.BuildContext.CHECK_FOR_THIRD_PARTY = CHECK_FOR_THIRD_PARTY
@conf
def CHECK_ZLIB(conf):
version_check='''
#if (ZLIB_VERNUM >= 0x1230)
#else
#error "ZLIB_VERNUM < 0x1230"
#endif
z_stream *z;
inflateInit2(z, -15);
'''
return conf.CHECK_BUNDLED_SYSTEM('z', minversion='1.2.3', pkg='zlib',
checkfunctions='zlibVersion',
headers='zlib.h',
checkcode=version_check,
implied_deps='replace')
Build.BuildContext.CHECK_ZLIB = CHECK_ZLIB
@conf
def CHECK_POPT(conf):
return conf.CHECK_BUNDLED_SYSTEM('popt', checkfunctions='poptGetContext', headers='popt.h')
Build.BuildContext.CHECK_POPT = CHECK_POPT