Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

masscan: add page #6986

Merged
merged 10 commits into from
Oct 17, 2021
Merged
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions pages/common/masscan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Masscan

> Masscan - network scanner meant to scan the entire Internet as fast as possible.
CleanMachine1 marked this conversation as resolved.
Show resolved Hide resolved
> Best run with elevated priviledges. Nmap compability run `masscan --nmap` to find out more.
> More information: <https://github.com/robertdavidgraham/masscan>.

- Scan a ip or network subnet for port 443:
navarroaxel marked this conversation as resolved.
Show resolved Hide resolved

`masscan {{ip_address|network_prefix}} --ports {{443}}`
CleanMachine1 marked this conversation as resolved.
Show resolved Hide resolved

- 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 specific port range and export to file output:
ciph3rz marked this conversation as resolved.
Show resolved Hide resolved

`masscan {{0.0.0.0/0}} --ports {{0-65535}} -output-format {{binary|grepable|json|list|xml}} --output-filename {{path/to/file}}`