Exploit databaseDownload repository ZIP
GH-992175796f174c68b23e63d99f9f9b68
tagatac/libsafe-cve-2005-1125
Sources for CVE-2005-1125
3 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files17
tagatac/libsafe-cve-2005-1125Revision 8a66a4e42d21
- analysis/
- timing/
- utils/
- .gitignore
- Makefile
- README
- bug-interpose.sh
- bug.sh
- func_names.txt
- gen_interpose.py
- libsafe-2.0-16.tgz
- libsafebypass.txt
- ltrace.log
- repeatbug-interpose.py
- repeatbug.py
- run_test.py
- thread.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
repeatbug.py
Python · 353 bytes#!/usr/bin/env python
import subprocess
libsafecount=0
for i in range(1000):
try:
subprocess.check_output('./bug.sh', stderr=subprocess.STDOUT)
except subprocess.CalledProcessError as e:
if e.output.split()[0] == 'Libsafe':
print e.output
libsafecount += 1
print str(libsafecount) + ' out of 1000 exploit attempts were caught by libsafe.'