mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
fix an os detection bug to prevent system from always doing os detection, even when it wasn't requested
This commit is contained in:
parent
91af49292a
commit
fd8d3fae6e
2 changed files with 6 additions and 2 deletions
|
|
@ -1,7 +1,11 @@
|
|||
# Nmap Changelog ($Id$); -*-text-*-
|
||||
Nmap 4.20ALPHA3
|
||||
|
||||
o Added back Win32 support thanks to a patch by kx (kxmail(a)gmail.com)
|
||||
o Added back Win32 support thanks to a patch by kx
|
||||
|
||||
o Fix a problem which caused OS detection to be done in some cases
|
||||
even if the user didn't request it. Thanks to Diman Todorov for the
|
||||
fix.
|
||||
|
||||
Nmap 4.20ALPHA2
|
||||
|
||||
|
|
|
|||
2
nmap.cc
2
nmap.cc
|
|
@ -1561,7 +1561,7 @@ int nmap_main(int argc, char *argv[]) {
|
|||
service_scan(Targets);
|
||||
}
|
||||
|
||||
if (o.osscan != OS_SCAN_SYS_1_ONLY)
|
||||
if (o.osscan == OS_SCAN_DEFAULT || o.osscan == OS_SCAN_SYS_2_ONLY)
|
||||
os_scan_2(Targets);
|
||||
|
||||
for(targetno = 0; targetno < Targets.size(); targetno++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue