diff options
Diffstat (limited to 'hexnoise.py')
-rwxr-xr-x | hexnoise.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hexnoise.py b/hexnoise.py index e8a3d73..1b8a304 100755 --- a/hexnoise.py +++ b/hexnoise.py @@ -80,3 +80,8 @@ if __name__ == '__main__': print('Handshake finished, handshake hash:') hexdump(print, proto.get_handshake_hash(), args.width) + while True: + data = proto.decrypt(receive_packet(ser, args.width)) + print('Decrypted data:') + hexdump(print, data, args.width) + |