Termshark - a terminal ui for tshark, inspired by wireshark

R_Alex

Well-known member
Nov 11, 2018
1,143
521
83
30
USA
www.russiancarders.se
#1
[/COLOR][/B]
[COLOR=rgb(250, 197, 28)][B][/B]
[B][/B]
[B]A terminal user-interface for tshark, inspired by Wireshark.[/B]
[B][/B]
[B]If you're debugging on a remote machine with a large pcap and no desire to scp it back to your desktop, termshark can help![/B]
[B][/B]
[B]Features[/B]
[B]Read pcap files or sniff live interfaces (where tshark is permitted).[/B]
[B]Inspect each packet using familiar Wireshark-inspired views[/B]
[B]Filter pcaps or live captures using Wireshark's display filters[/B]
[B]Copy ranges of packets to the clipboard from the terminal[/B]
[B]Written in Golang, compiles to a single executable on each platform - downloads available for Linux (+termux), macOS, FreeBSD, and Windows[/B]
[B]tshark has many more features that termshark doesn't expose yet! See What's Next.[/B]
[B][/B]
[B]Installation (FreeBSD)[/B]
[B]Termshark is in the FreeBSD ports tree! To install the package, run:[/B]
[B]Code:[/B]
[B]pkg install termshark[/B]
[B]To build/install the port, run:[/B]
[B]Code:[/B]
[B]cd /usr/ports/net/termshark/ && make install clean[/B]
[B]Building[/B]
[B]Termshark uses Go modules, so it's best to compile with Go 1.11 or higher. Set GO111MODULE=on then run:[/B]
[B]Code:[/B]
[B]go get github.com/gcla/termshark/cmd/termshark[/B]
[B]Then add ~/go/bin/ to your PATH.[/B]
[B]For all packet analysis, termshark depends on tshark from the Wireshark project. Make sure tshark is in your PATH.[/B]
[B][/B]
[B]Quick Start[/B]
[B][/B]
[B]Inspect a local pcap:[/B]
[B]Code:[/B]
[B]termshark -r test.pcap[/B]
[B]Capture ping packets on interface eth0:[/B]
[B]Code:[/B]
[B]termshark -i eth0 icmp[/B]
[B]Run termshark -h for options.[/B]
[B][/B]
[B]Dependencies[/B]
[B][/B]
[B]Termshark depends on these open-source packages:[/B]
[B]tshark - command-line network protocol analyzer, part of Wireshark[/B]
[B]tcell - a cell based terminal handling package, inspired by termbox[/B]
[B]gowid - compositional terminal UI widgets, inspired by urwid, built on tcell[/B]
[B]Note that tshark is a run-time dependency, and must be in your PATH for termshark to function. Version 1.10.2 or higher is required (approx 2013).[/B]
[B][/B]
[B]Download Termshark[/B][/COLOR]
 

Log in

Online statistics

Members online
0
Guests online
84
Total visitors
84