1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-15 20:29:03 +00:00

3.84ALPHA1 release imminant

This commit is contained in:
fyodor
2005-08-11 05:07:01 +00:00
parent d0369ebb4f
commit b3923483ea
22 changed files with 943 additions and 937 deletions

10
nmap.cc
View File

@@ -107,7 +107,9 @@
#include "timing.h"
#include "NmapOps.h"
#include "MACLookup.h"
#ifdef WIN32
#include "winfix.h"
#endif
using namespace std;
@@ -791,6 +793,12 @@ int nmap_main(int argc, char *argv[]) {
fatal("You cannot use -F (fast scan) or -p (explicit port selection) with PING scan or LIST scan");
}
#ifdef WIN32
if (o.sendpref & PACKET_SEND_IP) {
error("WARNING: raw IP (rather than raw ethernet) packet sending attempted on Windows. This probably won't work. Consider --send_eth next time.\n");
}
#endif
if (spoofmac) {
u8 mac_data[6];
int pos = 0; /* Next index of mac_data to fill in */
@@ -1190,7 +1198,7 @@ int nmap_main(int argc, char *argv[]) {
// Should be host parallelized. Though rarely takes a huge amt. of time.
if (o.osscan)
os_scan(currenths);
/* Now I can do the output and such for each host */
log_write(LOG_XML, "<host>");
write_host_status(currenths, resolve_all);