mirror of
https://github.com/edu4rdshl/unimap.git
synced 2026-07-17 23:24:49 +00:00
Add version detection.
Signed-off-by: Edu4rdSHL <edu4rdshl@protonmail.com>
This commit is contained in:
parent
8378a29d5d
commit
b8a47031d9
1 changed files with 2 additions and 0 deletions
|
|
@ -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() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue