Skip to content

Instantly share code, notes, and snippets.

@gbossert
Last active February 19, 2017 10:08
Show Gist options
  • Save gbossert/8b0b0d5279cf29617abb04cd3e1e931a to your computer and use it in GitHub Desktop.
Save gbossert/8b0b0d5279cf29617abb04cd3e1e931a to your computer and use it in GitHub Desktop.
#!/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