News for hackers. Stuff that matters.
Re:Gosniff: A TUI-Based Tcpdump by T3OU-736 on Sunday May 01, 2022 @08:04PM (#31229941)
Neat project.

How does it compare to Wireshark' console cousin tshark?

Re:Gosniff: A TUI-Based Tcpdump by tptacek on Sunday May 01, 2022 @08:45PM (#31230201)
Once nice thing about this is that it's memory-safe, which is something you really want for a packet capture tool.
Re:Gosniff: A TUI-Based Tcpdump by T3OU-736 on Sunday May 01, 2022 @10:24PM (#31230780)
Hrm. Interesting point. There have been a fair number of parser CVEs, but GoLang isn't immune to some of the (based on an admittedly cursory look) parser issues.
Re:Gosniff: A TUI-Based Tcpdump by tptacek on Sunday May 01, 2022 @11:02PM (#31230994)
A protocol analyzer implemented in anything short of formally-verified code is going to be "vulnerable" to logic errors, such that it might print (or not print) the wrong things. But a protocol analyzer implemented in C standard a decent chance of coughing up RCE.
Re:Gosniff: A TUI-Based Tcpdump by T3OU-736 on Monday May 02, 2022 @09:59AM (#31235203)
(Playing devil's advocate): What would the RCE accomplish?

"Parse this packet and get a reverse shell on analyst's workstation?"

To be clear: I am not in any way attempting to disparage the project. It is damned cool, and as a neophyte Go practitioner myself, I very much appreciate its existance and utility. Just working through all the edge cases :)

Re:Gosniff: A TUI-Based Tcpdump by jpalomaki on Monday May 02, 2022 @10:59AM (#31235942)
I assume one reason for these console versions is that people run them directly on the server. Maybe sometimes even as root.
Re:Gosniff: A TUI-Based Tcpdump by tptacek on Monday May 02, 2022 @01:36PM (#31238227)
Yes, that's what it would accomplish.
Re:Gosniff: A TUI-Based Tcpdump by freedomben on Sunday May 01, 2022 @09:00PM (#31230306)
My thoughts as well. Tshark supports a ton of dissectors. How does this project compare? Being in go, can it reuse the Wireshark dissectors that are written in C?