1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-07 14:06:33 +00:00

Fixed an error that showed itself on Windows when attempting to scan

localhost as an unprivileged user (nmap --unprivileged localhost). The
error looked like
Skipping SYN Stealth Scan against localhost (127.0.0.1) because Windows does not support scanning your own machine (localhost) this way.
Now connect scan is used instead of SYN scan.
This commit is contained in:
david
2007-12-20 10:02:14 +00:00
parent ce9618eed8
commit aa94d1e9d1
2 changed files with 8 additions and 1 deletions

View File

@@ -194,7 +194,8 @@ void win_init()
}
#endif
o.isr00t = pcap_avail;
if (!pcap_avail)
o.isr00t = 0;
atexit(win_cleanup);
}