Tshark is a terminal-based network analysis tool that allows users to capture, filter, and analyze network traffic through command-line interfaces. Key commands include listing network interfaces with -D, capturing packets on specific interfaces with -i and -c flags, filtering traffic by protocol or port with -f, reading previously captured data with -r, extracting specific packet fields with -T fields, and generating statistics with -z for bandwidth analysis.
Inmersión profunda
Prerrequisito
- No hay datos disponibles.
Próximos pasos
- No hay datos disponibles.
Inmersión profunda
Wireshark in the Terminal: Using tsharkAñadido:
Wireshark in the terminal, mastering Tshark.
Welcome.
In this tutorial, we're diving into the world of network analysis with Tshark, the terminal-based version of Wireshark.
Remember, this is for educational purposes only.
First, let's list all the available network interfaces on our machine using Tshark {dash} D.
This command gives us a numbered list of interfaces we can monitor.
Next, we're capturing packets on the WLAN0 interface.
By using {dash} i 0, we specify the interface. And {dash} c 10 limits the capture to just 10 packets.
This is a great way to quickly check the traffic on your network without getting overwhelmed by data.
Now, let's focus on HTTP traffic by filtering packets on TCP port 80 with {dash} f TCP port 80.
We're using {dash} a duration 30 to capture for 30 seconds. This way, we can see all the HTTP requests and responses flowing through our network interface.
You can also analyze previously captured data.
Let's read a file named capture.pcap with {dash} r and filter for HTTP requests using {dash} q.request.
This allows us to focus on specific types of traffic even after the capture is complete.
For more detailed analysis, Shark can extract specific fields from packets.
Using {dash} T fields with {dash} E options, we extract the source IP, destination IP, and HTTP host header.
This provides a concise view of who's communicating with whom and what domains are being accessed.
Finally, let's look at some statistics using {dash} q for quiet mode and {dash} z for statistics.
Here, we're generating 10-second interval statistics for TCP and UDP traffic, giving us insight into the network's bandwidth usage.
Videos Relacionados
Re: 🗣️📍theprophedu📍2026 GST 103 CLASS (E-EXAM REVISION)
theprophedu
636 views•2026-06-04
WEB TECHNOLOGIES UNIT-2 | Degree 4th sem BCOM Computers web technologies unit-2 full explanation💯✅
LearnwithSahera
1K views•2026-05-29
More tests are always better? How to use AI to identify tests that bring little value
Alliance4Qualification
335 views•2026-05-29
Search Algorithms Explained in 60 Seconds! 🤖💨
samarthtuliofficial
218 views•2026-06-01
Making Minecraft Clone with C++ & Raylib
PecaCSLive
686 views•2026-06-04
People of Game of Thrones using JavaScript DOM
AltCampus
296 views•2026-05-30
Instagram accounts got PWNed
EricParker
13K views•2026-06-03
Introduction to Problem Solving Part - 1 | Lecture 1 | Intermediate DSA
ascensionix
107 views•2026-05-29
Tendencias
Why Batman Lets The Joker Live 🤨
zackdfilms
9222K views•2026-05-30
They're Complete Trash
penguinz0
558K views•2026-06-04
The Murder of Deputy Caleb Conley
MidwestSafety
810K views•2026-06-04
I Bought FAKE HopeScope Merch (and paid a subscriber to give it a makeover) | Hopeful Hauls
HangWithHopescope
158K views•2026-06-04











