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:
@@ -194,7 +194,8 @@ void win_init()
|
||||
}
|
||||
#endif
|
||||
|
||||
o.isr00t = pcap_avail;
|
||||
if (!pcap_avail)
|
||||
o.isr00t = 0;
|
||||
atexit(win_cleanup);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user