Home page logo
/

nmap-dev logo Nmap Development mailing list archives

nmap-2.54BETA32 patch
From: William Bader <william () nscs fast net>
Date: Tue, 23 Apr 2002 14:55:00 EDT

I added parentheses in the test below.
William

--- nmap-2.54BETA32/nmap.c-     Tue Apr  2 01:57:12 2002
+++ nmap-2.54BETA32/nmap.c      Tue Apr 23 14:45:14 2002
@@ -942,7 +942,7 @@
   if (!o.isr00t) {
 
 #ifndef WIN32  /*      Win32 has perfectly fine ICMP socket support */
-    if (o.pingtype & PINGTYPE_ICMP_PING|PINGTYPE_ICMP_MASK|PINGTYPE_ICMP_TS) {
+    if (o.pingtype & (PINGTYPE_ICMP_PING|PINGTYPE_ICMP_MASK|PINGTYPE_ICMP_TS)) {
       error("Warning:  You are not root -- using TCP pingscan rather than ICMP");
       o.pingtype = PINGTYPE_TCP;
     }

---------------------------------------------------------------------
For help using this (nmap-dev) mailing list, send a blank email to 
nmap-dev-help () insecure org . List run by ezmlm-idx (www.ezmlm.org).



  By Date           By Thread  

Current thread:
  • nmap-2.54BETA32 patch William Bader (Apr 23)
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]