[PATCH] add bugtraq id to nessus -qp output

Devin Kowatch <[email protected]>
Newsgroups gmane.comp.security.nessus.devel
Message-ID <[email protected]>
The attached patch adds bugtraq ids to the nessus -qp output.  The
bugtraq id is already given when '-qSp' is used.



-- 
Devin Kowatch
[email protected]
dump-plugins.patch (text/plain, 623 B)
Index: nessus/cli.c
===================================================================
RCS file: /usr/local/cvs/nessus-core/nessus/cli.c,v
retrieving revision 1.39
diff -u -r1.39 cli.c
--- nessus/cli.c	7 Apr 2003 02:12:10 -0000	1.39
+++ nessus/cli.c	13 May 2003 00:22:38 -0000
@@ -607,8 +607,11 @@
   var = addslashes(arg_get_value(plugins->value, "CVE_ID"));
   printf("%s|", var);
   efree(&var);
+
+  var = addslashes(arg_get_value(plugins->value, "BUGTRAQ_ID"));
+  printf("%s|", var);
+  efree(&var);
   
-   
   var = addslashes(arg_get_value(plugins->value, "DESCRIPTION"));
   printf("%s\n", var);
   efree(&var);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.