Usage
👻 Basic Usage
🥸 Advanced Usage
- 💡 Things you may want to do with RustScan but don't understand how
- 🎯 Increasing Speed / Accuracy
- 🍜 Config File
⚒ Contributing
Clone this wiki locally
🤸 Usage
The help menu can be accessed with rustscan --help. For a list of "things you may want to do", check out:
⚠️ WARNING
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 10will 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 5000means 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.
Often referred to as "quiet" mode, the -q switch makes things go quieter!
rustscan -a 127.0.0.1 -q --range 1-10000