SilentListener

SilentListener listens on the network interface of choice to identify network segments that cross the interface.

Installation

wget https://gist.githubusercontent.com/Dfte/9cfeb87892557fd098de78f68b1b1390/raw/a9a3d9cb5867ad95e565116c83817e10c75574a6/SilentListener.py
python3 -m pip install argparse ipaddress scapy

Usage

python3 SilentListener.py [-h] -i INTERFACE -o OUTPUT [--scan] [--rate RATE]

Flags

  -h, --help    show this help message and exit
  -i INTERFACE  Interface on which to listen and run scan
  -o OUTPUT     File in which to write found ranges
  --scan        Launch internal ranges masscan
  --rate RATE   Scan rate (the more the faster)

Examples

$ sudo python3 SilentListener.py -i en0 -o silentlistener-out.log
Already found ranges:
Listening for incoming packets on en0... Press Ctrl+C to stop
10.10.10.0/24
10.10.20.0/24
10.10.30.0/24
10.20.30.0/24

URL list