On Wed, Jun 11, 2003 at 01:16:29PM -0700, Todd A. Jacobs wrote:
> I've saved two sets of reports into NBE format. Is there any way to diff
> the results? A standard diff shows everything being different (date
> stamps, probably). Aside from using the knowledge base when scanning, how
> can I compare two reports?


First, strip out the timestamps and whatnot :

nessus -i report1.nbe -o report1.nsr
nessus -i report2.nbe -o report2.nsr

Then sort the reports :

cat report1.nsr | sort > report1_sorted.nsr
cat report2.nsr | sort > report2_sorted.nsr

Then diff them :

diff report1_sorted.nsr report2_sorted.nsr > stuff_i_have_to_work_on.txt



                                -- Renaud

Reply via email to