port-discovery

command
v0.0.0-...-6e9df3b Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: MIT Imports: 14 Imported by: 0

README

Port Discovery

This small utility discovers ports on a given ethernet device by capturing the traffic on the device. Then, in case it recognizes HTTP traffic it will attach each ports with the HTTP methods passed over it.

Based on the examples in github.com/google/gopacket/examples

Usage

go run pdiscover.go [OPTIONS]
Options
  • -i Interface to get packets from
  • -r Filename to read from, overrides -i
  • -s SnapLen for pcap packet capture
  • -f BPF filter for pcap
  • -v Verbose - logs every packet in great detail

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