GSNIFF

command module
v0.0.0-...-3d84bef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2024 License: GPL-3.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

GSNIFF

A simple TCP packet sniffer using gopacket package.

Introduction

The Packet GSNIFF is a basic tool for network analysis, similar in concept to Wireshark, but much simpler. It captures TCP packets.

Prerequisites

Before you can run the packet sniffer, you need to have the following installed:

  • Go (Golang) - Installation guide
  • libpcap - On Unix-based systems, this can usually be installed via your package manager (e.g., apt for Ubuntu, yum for CentOS).
    • For Debian/Ubuntu: sudo apt-get install libpcap-dev
    • For RedHat/CentOS: sudo yum install libpcap-devel
    • For macOS: brew install libpcap (using Homebrew)
  • WinPcap or Npcap for Windows users - Npcap

Installation

  1. Clone the repository:
    git clone https://github.com/BigBr41n/GSNIFF.git
    
  2. Navigate to the cloned repository:
    cd GSNIFF
    

Usage

  1. To run the packet sniffer, use the following command:
    make
    sudo ./GSNIFF
    

Disclaimer

This tool is for educational purposes only. Unauthorized packet sniffing or network analysis can be illegal and unethical. Always ensure you have permission to capture packets on the network you're monitoring.

Contributing

Contributions to the Go Packet Sniffer are welcome!

License

This project is licensed under the GPL License - see the LICENSE file for details.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址