Added plaintext link support

This commit is contained in:
Mark Qvist
2018-04-16 22:04:28 +02:00
parent 75e0cb039d
commit 8772db6736
3 changed files with 46 additions and 3 deletions
+5 -1
View File
@@ -1,4 +1,5 @@
import os
import sys
import glob
import time
@@ -73,4 +74,7 @@ def hexrep(data, delimit=True):
def prettyhexrep(data):
delimiter = ""
hexrep = "<"+delimiter.join("{:02x}".format(ord(c)) for c in data)+">"
return hexrep
return hexrep
def panic():
os._exit(255)