syn.scan - rhaidiz/bettercap GitHub Wiki

A module to perform SYN port scanning, as open ports are discovered the tcp-ports meta field of the endpoints will be filled ( it will be shown in the new.show view ).

Commands

command description
syn.scan IP-RANGE START-PORT END-PORT? Perform a syn port scanning against an IP address within the provided ports range.
syn.scan stop Stop the current syn scanning session.
syn.scan.progress Print progress of the current syn scanning session.

Parameters

parameter default description
syn.scan.show-progress-every 1 Period in seconds for the scanning progress reporting.

Examples

Scan a single ip for ports 1 to 1000:

> syn.scan 192.168.1.3 1 1000

Scan several addresses for port 22:

> syn.scan 192.168.1.1-50 22

Scan the entire subnet for ports 1 to 10000:

> syn.scan 192.168.1.0/24 1 10000