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 files48
opsxcq/exploit-cve-2017-7494Revision 4d0bde4f1a7d
- ↑..Parent directory
- __init__.py
- ar.py
- bison.py
- cc.py
- ccroot.py
- compiler_cc.py
- compiler_cxx.py
- compiler_d.py
- config_c.py
- cs.py
- cxx.py
- d.py
- dbus.py
- dmd.py
- flex.py
- gas.py
- gcc.py
- gdc.py
- glib2.py
- gnome.py
- gnu_dirs.py
- gob2.py
- gxx.py
- icc.py
- icpc.py
- intltool.py
- javaw.py
- kde4.py
- libtool.py
- lua.py
- misc.py
- msvc.py
- nasm.py
- ocaml.py
- osx.py
- perl.py
- preproc.py
- python.py
- qt4.py
- ruby.py
- suncc.py
- suncxx.py
- tex.py
- unittestw.py
- vala.py
- winres.py
- xlc.py
- xlcxx.py
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
src/third_party/waf/wafadmin/Tools/gas.py
Python · 1,108 bytes#!/usr/bin/env python
# encoding: utf-8
# Thomas Nagy, 2008 (ita)
"as and gas"
import os, sys
import Task
from TaskGen import extension, taskgen, after, before
EXT_ASM = ['.s', '.S', '.asm', '.ASM', '.spp', '.SPP']
as_str = '${AS} ${ASFLAGS} ${_ASINCFLAGS} ${SRC} -o ${TGT}'
Task.simple_task_type('asm', as_str, 'PINK', ext_out='.o', shell=False)
@extension(EXT_ASM)
def asm_hook(self, node):
# create the compilation task: cpp or cc
try: obj_ext = self.obj_ext
except AttributeError: obj_ext = '_%d.o' % self.idx
task = self.create_task('asm', node, node.change_ext(obj_ext))
self.compiled_tasks.append(task)
self.meths.append('asm_incflags')
@after('apply_obj_vars_cc')
@after('apply_obj_vars_cxx')
@before('apply_link')
def asm_incflags(self):
self.env.append_value('_ASINCFLAGS', self.env.ASINCFLAGS)
var = ('cxx' in self.features) and 'CXX' or 'CC'
self.env.append_value('_ASINCFLAGS', self.env['_%sINCFLAGS' % var])
def detect(conf):
conf.find_program(['gas', 'as'], var='AS')
if not conf.env.AS: conf.env.AS = conf.env.CC
#conf.env.ASFLAGS = ['-c'] <- may be necesary for .S files