> Attached is a simple perl script (nsr) to filter the session data to an
> NSR file. Once you have that, you can use the nessus client to convert
> to XML. For example:
>
>  perl nsr /usr/local/var/nessus/users/<user>/sessions/20030804-111856-data > 
> session.nsr
>  nessus -i session.nsr -o session.xml
>
> Hope this helps,
>
> George

The perl script seems to leave out type "HOLE", probably because the .nsr file doesn't 
like that "type". I modified the perl script to include type "HOLE" but then issuing 
nessus -i session.nsr -o session.html fails with a "Segmentation Fault (coredump)".
That is probably caused because I simply can't just add type "HOLE" entries to the 
.nsr file. The document nsr_file_format.txt indicates that type "REPORT" should show 
security holes but MANY security holes are of type "HOLE". I'm not sure what to do to
get an accurate report from a session data file. I wish detached scans allowed 
creation of .nsr files along with the ability to mail the text version. Anyone have 
any ideas? Perhaps if I change the word "HOLE to "RESULT" in the perl script before it
writes the record to the .nsr file. I'm not sure that is the correct method though.

-Ted



_______________________________________________
Nessus mailing list
[EMAIL PROTECTED]
http://mail.nessus.org/mailman/listinfo/nessus

Reply via email to