1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +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

@@ -1,5 +1,11 @@
# Nmap Changelog ($Id$); -*-text-*-
o 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.
o Fixed an output problem that showed itself on Windows when attempting
to scan localhost, which is skipped. The problem looked like
All 0 scanned ports on 127.0.0.1 are

View File

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