1
0
mirror of https://github.com/osmarks/random-stuff synced 2024-11-08 13:39:53 +00:00
random-stuff/unhex.py

13 lines
291 B
Python
Raw Normal View History

2020-08-12 19:31:12 +00:00
#!/usr/bin/env python3
import fileinput
import sys
def process_char(c):
return c + random.choice(zalgo)
for line in fileinput.input():
#b = bytes()
#for i in range(0, len(line), 2):
# b.appendline[i:i+2]
sys.stdout.buffer.write(bytes.fromhex(line.replace("\n", "").replace(" ", "")))