killchain-compendium/Exploits/Binaries/Scripts/bad_chars.py

9 lines
217 B
Python
Raw Normal View History

2022-11-13 22:38:01 +01:00
#!/usr/bin/env python3
from __future__ import print_function
listRem = "\\x0a".split("\\x")
for x in range(1, 256):
if "{:02x}".format(x) not in listRem:
print("\\x" + "{:02x}".format(x), end='')
print()