From 2e4f8fa7a756e25a93777d7c6d1ca50c4b75f44c Mon Sep 17 00:00:00 2001 From: Steve Pinkham Date: Wed, 17 Nov 2010 22:07:04 -0500 Subject: [PATCH] 1.71b: better duplicate node detection, new report diff tool and child signatures in report - Child signatures now exposed in the report, - Improvements to duplicate node detection, - sfscandiff tool added to compare reports. --- ChangeLog | 9 ++++ Makefile | 2 +- README | 16 ++++--- assets/index.html | 41 ++++++++++++++++-- database.c | 4 ++ database.h | 1 + report.c | 7 +-- sfscandiff | 107 ++++++++++++++++++++++++++++++++++++++++++++++ skipfish.c | 2 +- 9 files changed, 175 insertions(+), 14 deletions(-) create mode 100755 sfscandiff diff --git a/ChangeLog b/ChangeLog index 779d36e..1421306 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +Version 1.71b: +-------------- + + - Child signatures now exposed in the report, + + - Improvements to duplicate node detection, + + - sfscandiff tool added to compare reports. + Version 1.70b: -------------- diff --git a/Makefile b/Makefile index b8901f4..9370694 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ # PROGNAME = skipfish -VERSION = 1.70b +VERSION = 1.71b OBJFILES = http_client.c database.c crawler.c analysis.c report.c INCFILES = alloc-inl.h string-inl.h debug.h types.h http_client.h \ diff --git a/README b/README index 7258e1e..a47dfd8 100644 --- a/README +++ b/README @@ -251,6 +251,12 @@ results over HTTP). The index.html file is static; actual results are stored as a hierarchy of JSON files, suitable for machine processing or different presentation frontends if needs be. +A simple companion script, sfscandiff, can be used to compute a delta for +two scans executed against the same target with the same flags. The newer +report will be non-destructively annotated by adding red background to all +new or changed nodes; and blue background to all new or changed issues +found. + Some sites may require authentication; for simple HTTP credentials, you can try: @@ -500,15 +506,15 @@ know: currently employed by skipfish; but in the long run, should be provided as a last-resort option. - * Scan resume option. + * Scan resume option. - * Option to limit document sampling or save samples directly to disk. + * Option to limit document sampling or save samples directly to disk. - * Standalone installation (make install) support. + * Standalone installation (make install) support. - * Config file support. + * Config file support. - * A database for banner / version checks? + * A database for banner / version checks? ------------------------------------- 9. Oy! Something went horribly wrong! diff --git a/assets/index.html b/assets/index.html index be335db..042344d 100644 --- a/assets/index.html +++ b/assets/index.html @@ -93,6 +93,13 @@ td.child_ctr:hover { font-weight: bold; } +.name_diff { + font-weight: bold; + color: white; + background-color: red; + padding: 0.2em 0.5em 0.2em 0.5em; +} + span.sum_name { font-weight: bold; border: 1px solid white; @@ -121,6 +128,13 @@ span.sum_name:hover { font-weight: bold; } +.issue_desc_diff { + font-weight: bold; + color: white; + background-color: blue; + padding: 0.2em 0.5em 0.2em 0.5em; +} + .comment { color: crimson; font-size: 70%; @@ -227,9 +241,10 @@ div.req_hdr:hover {