You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RustScan automatically runs nmap -vvv -p $PORTS $IP. To make it run -A, execute the command rustscan 127.0.0.1 -- -A.
It looks like the -A flag is added in all cases, also if you don't add -A. I would not expect this, especially if you add different flags and don't want the aggressive (and time consuming) scan.
Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.92. Please mark this comment with 👍 or 👎 to give our bot feedback!
Describe the bug
The behavior of the nmap scan is not as expected / described on: https://github.com/RustScan/RustScan#-nmap-custom-flags
RustScan automatically runs nmap -vvv -p $PORTS $IP. To make it run -A, execute the command rustscan 127.0.0.1 -- -A.
It looks like the -A flag is added in all cases, also if you don't add -A. I would not expect this, especially if you add different flags and don't want the aggressive (and time consuming) scan.
To Reproduce
Steps to reproduce the behavior:
rustscan 127.0.0.1 -b 1000 -t 500 --ulimit 5000 -- -sV -sT -Pn
[>] The Nmap command to be run is nmap -sV -sT -Pn -A -p 34648,55016,22 127.0.0.1
Expected behavior
nmap -sV -sT -Pn -p 34648,55016,22 127.0.0.1
without the -A tags added.
Screenshots
Desktop (please complete the following information):
Tested on kali linux with the version: rustscan_1.7.1_amd64.deb
Additional context
Already mentioned the issue on Discord, and @kaeros agreed this is not expected behavior.
I guess this is the line where it happens: https://github.com/RustScan/RustScan/blob/master/src/main.rs#L218
The text was updated successfully, but these errors were encountered: