Last active
February 19, 2017 10:08
-
-
Save gbossert/8b0b0d5279cf29617abb04cd3e1e931a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
from netzob.all import * | |
file_to_parse = "/tmp/test.txt" | |
messages = [] | |
with open(file_to_parse, 'r') as fd: | |
for data in fd: | |
messages.append(RawMessage(data)) | |
print(messages) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment