Skip to content

Instantly share code, notes, and snippets.

View 0xtf's full-sized avatar
🏠
Working from home

Tiago Faria 0xtf

🏠
Working from home
View GitHub Profile
@0xtf
0xtf / tlp-colors
Last active September 14, 2024 00:55
TLP classification colors in HEX/HTML
TLP:RED #FF2B2B
TLP:AMBER #ffc000
TLP:GREEN #33ff00
TLP:WHITE #ffffff
@0xtf
0xtf / tcprewrite-cheat-sheet
Last active June 6, 2019 00:29
tcpreplay, tcprewrite and tcpdump cheat sheet
Visualization (tcpdump, tshark)
tcpdump -qns 0 -X -r file.pcap
tcpdump -qns 0 -A -r file.pcap
tcpdump -X -r file.pcap
tshark -r file.pcap -V
Packet manipulation (tcprewrite)
Port: tcprewrite --portmap=OLDPORT:NEWPORT -i in.pcap -o out.pcap