mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-09 08:15:41 +02:00
masscan: add page (#6986)
This commit is contained in:
parent
36648e1031
commit
7c85dd0c7e
1 changed files with 25 additions and 0 deletions
25
pages/common/masscan.md
Normal file
25
pages/common/masscan.md
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
# Masscan
|
||||||
|
|
||||||
|
> Network scanner for scanning as fast as possible.
|
||||||
|
> Best run with elevated priviledges. Nmap compability run `masscan --nmap` to find out more.
|
||||||
|
> More information: <https://github.com/robertdavidgraham/masscan>.
|
||||||
|
|
||||||
|
- Scan an IP or network subnet for port 80:
|
||||||
|
|
||||||
|
`masscan {{ip_address|network_prefix}} --ports {{80}}`
|
||||||
|
|
||||||
|
- Scan a class B subnet for the top 100 ports at 100,000 packets per second:
|
||||||
|
|
||||||
|
`masscan {{10.0.0.0/16}} --top-ports {{100}} --rate {{100000}}`
|
||||||
|
|
||||||
|
- Scan a class B subnet avoiding ranges from a specific exclude file:
|
||||||
|
|
||||||
|
`masscan {{10.0.0.0/16}} ‐‐top-ports {{100}} ‐‐excludefile {{path/to/file}}`
|
||||||
|
|
||||||
|
- Scan the Internet for port 443:
|
||||||
|
|
||||||
|
`masscan {{0.0.0.0/0}} --ports {{443}} ––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}}`
|
Loading…
Add table
Reference in a new issue