Skip to content

suraj-singh127/pcap-explore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Packet Sniffer Using Rust

A packet sniffer that intercepts the network traffic and analyzes the raw data packets. Further these packets will be analyzed using a packet sniffing software that presents these raw data packets to the user in a user friendly format.

Usage

To use this packet sniffer use the following commands on you pc -

  1. Clone this repository -
git clone https://github.com/suraj-singh127/pcap-explore
  1. Now once inside the repository write the following command to build the crate -
cargo build
  1. To list all the available interfaces -
cargo run list 
  1. To capture packets from the above mentioned list of interfaces(device no should be no listed above) -
cargo run capture device_number 
  1. To save packets to a file -
cargo run save device_no file_name_here