A bit more info on this. After looking in xml_output_ng.c, i found the mysterious new <error> tags. It appears to be due to the fact that 'Context->plugins' is returning NULL, or an empty list, or each of the plugins are listing as t->enabled == 0.

Any ideas?  I can't figure out where Context->plugins is populated...

---
static void
xml_plugins (FILE* fd, int indent)
{
struct nessus_plugin * t;

xml_fprintf (fd, indent, "<plugins>\n");

 t = Context->scanners;
 if ( t != NULL )
  while (t != NULL )
  {
    if ( t->enabled != 0 )
     xml_plugins_plugin(fd, indent+1, t);

   t = t->next;
  }
 else
  xml_fprintf (fd, indent+1, "<error txt=\"No scanners list.\"/>\n");
//                             ^^^^^^^^^^^^^^^^^^^^^^^^
 t = Context->plugins;
 if ( t != NULL )
  while (t != NULL )
  {
    if ( t->enabled != 0 )
     xml_plugins_plugin(fd, indent+1, t);

   t = t->next;
  }
 else
  xml_fprintf (fd, indent+1, "<error txt=\"No plugins list.\"/>\n");


 xml_fprintf (fd, indent, "</plugins>\n");
}
---

Bob Rich wrote:
Hi all!

I noticed that in the XML output of NessusClient, the plugin info is missing and there appears to be a new <error/> tag.

Is it possible to get the plugin info back into that output? I'm running it against Nessus 3.0.1 if that makes any difference.

Thanks!

Bob

_______________________________________________
Nessus mailing list
[email protected]
http://mail.nessus.org/mailman/listinfo/nessus


_______________________________________________
Nessus mailing list
[email protected]
http://mail.nessus.org/mailman/listinfo/nessus

Reply via email to