Method pypacker.hexdump raise exception on bytes object:
File "/home/user/pyve/pcap-tools3/lib/python3.3/site-packages/pypacker/pypacker.py", line 1046, in hexdump
line = re.sub(PROG_VISIBLE_CHARS, b".", line)
File "/home/user/pyve/pcap-tools3/lib/python3.3/re.py", line 170, in sub
return _compile(pattern, flags).sub(repl, string, count)
TypeError: can't use a string pattern on a bytes-like object
Method pypacker.hexdump raise exception on bytes object: File "/home/user/pyve/pcap-tools3/lib/python3.3/site-packages/pypacker/pypacker.py", line 1046, in hexdump line = re.sub(PROG_VISIBLE_CHARS, b".", line) File "/home/user/pyve/pcap-tools3/lib/python3.3/re.py", line 170, in sub return _compile(pattern, flags).sub(repl, string, count) TypeError: can't use a string pattern on a bytes-like object