Add version detection.

Signed-off-by: Edu4rdSHL <edu4rdshl@protonmail.com>
This commit is contained in:
Edu4rdSHL 2021-05-10 20:36:06 -05:00
parent 8378a29d5d
commit b8a47031d9
No known key found for this signature in database
GPG key ID: 3A574A4009F553E5

View file

@ -137,6 +137,8 @@ pub fn get_nmap_data(
if fast_scan { if fast_scan {
nmap_args.append(&mut vec!["--host-timeout", "20m"]) nmap_args.append(&mut vec!["--host-timeout", "20m"])
} else {
nmap_args.append(&mut vec!["-sV"])
} }
if !ports.is_empty() { if !ports.is_empty() {