Exploit database

GH-90a8e3e873473ada722e634ae91d71b2

feliam/cve-2013-2730

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2013-2730

4 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files7
feliam/cve-2013-2730Revision f5bc44c72a5c

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

bin2c.py

Python · 257 bytes
import sys
shellcode = file(sys.argv[1],"rb").read()
N=15
print "/*"
print " * "+ " ".join(sys.argv)
print " */"

print "unsigned char shellcode[] ="
for i in range(0,len(shellcode),N):
	print '"'+''.join(["\\x%02X"%ord(c) for c in shellcode[i:i+N]]) + '"'