masscan: edit page (#12645)

pull/28/head
Fazle Arefin 2024-04-16 03:24:05 +10:00 committed by GitHub
parent 4066c8e546
commit 9ef1332068
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 12 additions and 4 deletions

View File

@ -4,7 +4,7 @@
> Best run with elevated privileges. Nmap compatibility run `masscan --nmap` to find out more.
> More information: <https://github.com/robertdavidgraham/masscan>.
- Scan an IP or network subnet for port 80:
- Scan an IP or network subnet for [p]ort 80:
`masscan {{ip_address|network_prefix}} --ports {{80}}`
@ -16,10 +16,18 @@
`masscan {{10.0.0.0/16}} --top-ports {{100}} --excludefile {{path/to/file}}`
- Scan the Internet for port 443:
- Scan the Internet for web servers running on port 80 and 443:
`masscan {{0.0.0.0/0}} --ports {{443}} --rate {{10000000}}`
`masscan {{0.0.0.0/0}} --ports {{80,443}} --rate {{10000000}}`
- Scan the Internet for DNS servers running on UDP port 53:
`masscan {{0.0.0.0/0}} --ports {{U:53}} --rate {{10000000}}`
- Scan the Internet for a specific port range and export to a file:
`masscan {{0.0.0.0/0}} --ports {{0-65535}} -output-format {{binary|grepable|json|list|xml}} --output-filename {{path/to/file}}`
`masscan {{0.0.0.0/0}} --ports {{0-65535}} --output-format {{binary|grepable|json|list|xml}} --output-filename {{path/to/file}}`
- Read binary scan results from a file and output to `stdout`:
`masscan --readscan {{path/to/file}}`