mirror of
https://github.com/VoidSec/Exploit-Development
synced 2026-06-08 12:50:18 +00:00
53ec6043a3
and couple fixing
13 lines
279 B
Python
13 lines
279 B
Python
#!/usr/bin/python
|
|
import sys
|
|
badChars = []
|
|
for bad in sys.argv[1]:
|
|
badChars.append(int(bad, 0))
|
|
counter = 0x00
|
|
print("[+] Generating Chars")
|
|
buffer=""
|
|
while counter <= 0xFF:
|
|
if counter not in badChars:
|
|
buffer += "\\x%02x" %counter
|
|
counter += 1
|
|
print("\"{}\"".format(buffer)) |