Nmap Development mailing list archives
[patch] Fix regression in -oG format
From: Daniel Miller <bonsaiviking () gmail com>
Date: Mon, 15 Apr 2013 11:08:28 -0500
List,airos on IRC reported that gnmap format had changed in 6.25. I traced it back to the removal of RPCGrind from Nmap core. Here's a patch to fix, since I haven't got my commit access back:
commit d9a437b5a651b50b2c8a71c361d090f0a946299d
Author: Daniel Miller <daniel () bonsaiviking com>
Date: Mon Apr 15 11:03:20 2013 -0500
Restore empty rpc_info field to gnmap port output from r29619
diff --git a/output.cc b/output.cc
index 37a4ccc..57930d2 100644
--- a/output.cc
+++ b/output.cc
@@ -760,7 +760,7 @@ void printportoutput(Target *currenths, PortList
*plist) {
p++;
}
}
- log_write(LOG_MACHINE, "%d/%s/%s//%s/%s/", current->portno,
+ log_write(LOG_MACHINE, "%d/%s/%s//%s//%s/", current->portno,
state, protocol, serviceinfo, grepvers);
xml_open_start_tag("port");
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/
Current thread:
- [patch] Fix regression in -oG format Daniel Miller (Apr 15)
- Re: [patch] Fix regression in -oG format Daniel Miller (Apr 15)
- Re: [patch] Fix regression in -oG format David Fifield (Apr 17)
