Skip to content

This program is a simple packet sniffer written in the Go programming language. It allows the user to capture and save network packets passing through a selected network device.

Notifications You must be signed in to change notification settings

c0mrade12211/PacketSpy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

PacketSpy

image

Hello! This program is a simple packet sniffer written in the Go programming language. It allows the user to capture and save network packets passing through a selected network device.

Who might need this program? It is useful for developers, system administrators, and anyone who wants to study and analyze network traffic. The program provides a simple and convenient way to capture packets and save them in the pcap format, which can be further analyzed using the Wireshark program.

Advantages of this program:

  1. Ease of use: The program provides a simple command-line interface that allows you to select the desired network device and start packet capture with a single command.

  2. Flexibility: Users can choose any available network device to capture packets. The program also provides the option to save captured packets in a pcap file for further analysis.

  3. Integration with Wireshark: After completing the packet capture, the program automatically opens the pcap file in Wireshark, allowing users to study and analyze network traffic in more detail.

Compile

  1. build -o Give_me_Packets.exe ./main.go

Example

  1. Capture packets and open in WireShark
    image
    image
  2. Also you're can to send pcap file in the server (command for save file: nc -l -p > output.pcap)
    image image

About

This program is a simple packet sniffer written in the Go programming language. It allows the user to capture and save network packets passing through a selected network device.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages