-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Usage
Mike L edited this page Mar 25, 2022
·
13 revisions
The help menu can be accessed with rustscan --help
. For a list of "things you may want to do", check out:
By default, RustScan scans 3000 ports per second.
This may cause damage to a server or make it very obvious you are scanning the server, thus triggering an unwelcome response like having your IP address blocked.
There are 2 ways to deal with this:
- Decrease batch size:
rustscan -b 10
will scan 10 ports at a time, each with a default timeout of 1000 (1 second). So, the maximum batch duration can be longer than the timeout: however long it takes to start (and finish processing) all the scans in the batch. - Increase timeout:
rustscan -T 5000
means RustScan will wait for a response on a port for up to 5 seconds.
You can use both of these at the same time, to make it as slow or as fast as you want. A fun favourite is 65535 batch size with 1 second timeout. Practically speaking, that translates to getting results from nmap in less than 2 wall clock seconds.
Please do not use this tool against sensitive servers. It is designed mainly for Capture the Flag events, not real world servers with sensitive data.