Open mhendy25 opened 9 months ago
@danysigha look at tshark.
@AsikoGomis look at TCPDump.
@mhendy25 look at ngrep.
Here are the readings Mohamed shared with us today for reference:
That Youtube Series was a good find.
Based on my research we have 3 options. Pyshark, dpkt and Scapy. I think we should go with dpkt because it is simple, offers a stand alone solution, and it uses pure python.
Some references:
Hi guys, we need to keep digging... Pyshark does not output hexdumps and will likely not be able to deal with hexdumps as input. I think Spathis may want us to figure this one out by ourselves.
edit1: There is an extra step in between actually. Spathis answered correctly. We first need to convert the hexdumps to pcap files using text2pcap. Only then can we use Pyshark.
edit2: As usual setup is pretty annoying. idk about you but I just downloaded Wireshark off the web but for this we want to use brew install. Here are the steps:
brew uninstall --force wireshark
to be safebrew install wireshark
and brew install --cask wireshark
brew info --cask wireshark
alias wireshark='/Applications/Wireshark.app/Contents/MacOS/Wireshark'
We need to make some design decisions before we start: