Skip to content

Commit

Permalink
Add version detection.
Browse files Browse the repository at this point in the history
Signed-off-by: Edu4rdSHL <edu4rdshl@protonmail.com>
  • Loading branch information
Edu4rdSHL committed May 11, 2021
1 parent 8378a29 commit b8a4703
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/nmap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ pub fn get_nmap_data(

if fast_scan {
nmap_args.append(&mut vec!["--host-timeout", "20m"])
} else {
nmap_args.append(&mut vec!["-sV"])
}

if !ports.is_empty() {
Expand Down

0 comments on commit b8a4703

Please sign in to comment.