diff --git a/NmapOps.cc b/NmapOps.cc index a16d5dd99..59d8249d7 100644 --- a/NmapOps.cc +++ b/NmapOps.cc @@ -429,15 +429,11 @@ void NmapOps::ValidateOptions() { const char *privreq = "root privileges."; #ifdef WIN32 if (!have_pcap) - privreq = "WinPcap version 3.1 or higher and\n\ -iphlpapi.dll. You seem to be missing one or both of these. Winpcap is\n\ -available from http://www.winpcap.org. iphlpapi.dll comes with Win98 and\n\ -later operating systems and NT 4.0 with SP4 or greater. For previous Windows\n\ -versions, you may be able to take iphlpapi.dll from another system and place\n\ -it in your system32 dir (e.g. c:\\windows\\system32).\n\ -On Windows Vista and Windows 7, The WinPcap NPF service must be started by an\n\ -administrator before WinPcap can be used. Running nmap.exe will open a UAC\n\ -dialog where you can start NPF if you have administrator privileges."; + privreq = "Npcap, but it seems to be missing.\n\ +Npcap is available from http://www.npcap.org. The Npcap driver service must\n\ +be started by an administrator before Npcap can be used. Running nmap.exe\n\ +will open a UAC dialog where you can start the service if you have\n\ +administrator privileges."; #endif diff --git a/mswin32/winfix.cc b/mswin32/winfix.cc index 1de4d3386..4e901194e 100644 --- a/mswin32/winfix.cc +++ b/mswin32/winfix.cc @@ -353,17 +353,17 @@ void win_init() #ifdef _MSC_VER if(FAILED(__HrLoadAllImportsForDll("wpcap.dll"))) { - error("WARNING: your winpcap is too old to use. Nmap may not function.\n"); + error("WARNING: Failed to load wpcap.dll. Nmap may not function.\n"); o.have_pcap = false; } #endif if(o.debugging) - printf("Winpcap present, dynamic linked to: %s\n", pcap_lib_version()); + printf("wpcap.dll present, library version: %s\n", pcap_lib_version()); } #ifdef _MSC_VER __except (1) { - error("WARNING: Could not import all necessary Npcap functions. You may need to upgrade to version 0.07 or higher from http://www.npcap.org. Resorting to connect() mode -- Nmap may not function completely"); + error("WARNING: Could not import all necessary Npcap functions. You may need to upgrade to the latest version from http://www.npcap.org. Resorting to connect() mode -- Nmap may not function completely"); o.have_pcap=false; } #endif diff --git a/nping/winfix.cc b/nping/winfix.cc index f9e602996..ca6876ed3 100644 --- a/nping/winfix.cc +++ b/nping/winfix.cc @@ -352,17 +352,17 @@ void win_init() #ifdef _MSC_VER if(FAILED(__HrLoadAllImportsForDll("wpcap.dll"))) { - error("WARNING: your winpcap is too old to use. Nping may not function.\n"); + error("WARNING: Failed to load wpcap.dll. Nmap may not function.\n"); o.setHavePcap(false); } #endif if(o.getDebugging() >= DBG_1) - printf("Winpcap present, dynamic linked to: %s\n", pcap_lib_version()); + printf("wpcap.dll present, library version: %s\n", pcap_lib_version()); } #ifdef _MSC_VER __except (1) { - error("WARNING: Could not import all necessary Npcap functions. You may need to upgrade to version 0.07 or higher from http://www.npcap.org. Resorting to connect() mode -- Nping may not function completely"); + error("WARNING: Could not import all necessary Npcap functions. You may need to upgrade to the latest version from http://www.npcap.org. Resorting to connect() mode -- Nmap may not function completely"); o.setHavePcap(false); } #endif