What are the basic usage examples of Masscan for network scanning?
Masscan can scan a network range for specific ports, e.g., `masscan.exe -p80 192.168.81.1/24` to find hosts with port 80 open. It also supports scanning all ports on a host (`-p0-65535`), retrieving banners with `--banners`, and using configuration files via `-c`. Default scans use SYN scan with no ping, no DNS, and randomized hosts. Adjust speed with `--rate`. These scanning techniques are foundational for information gathering in internal network penetration, as also discussed in Penetration Techniques - Enabling Anonymous Access Shares on Windows Systems via Command Line.
Masscan usagenetwork scanningport scanningbanner grabbinginternal network