/arpspoof

A tool to perform ARP spoofing

Primary LanguageGoGNU General Public License v3.0GPL-3.0

ARP spoof

License: GPL v3 Go Reference GitHub go.mod Go version Go Report Card GitHub Release GitHub Downloads (all assets, all releases) GitHub Downloads (all assets, latest release)

Install

CGO_ENABLED=0 go install -ldflags "-s -w" -trimpath github.com/shadowy-pycoder/arpspoof/cmd/af@latest

Usage

af -h
Usage of af:
  -I    Display list of interfaces and exit.
  -d    Enable debug logging
  -f    Run ARP spoofing in fullduplex mode
  -g string
        IPv4 address of custom gateway (Default: default gateway)
  -i string
        The name of the network interface. Example: eth0 (Default: default interface)
  -nocolor
        Disable colored output
  -t string
        Targets for ARP spoofing. Example: "targets 10.0.0.1,10.0.0.5-10,192.168.1.*,192.168.10.0/24" (Default: entire subnet)

Usage as a library

See https://github.com/shadowy-pycoder/go-http-proxy-to-socks