diff options
author | mboelen <michael@cisofy.com> | 2014-09-08 17:19:13 +0400 |
---|---|---|
committer | mboelen <michael@cisofy.com> | 2014-09-08 17:19:13 +0400 |
commit | 2644399057b72f04755a928183dc03c4b2f9fc60 (patch) | |
tree | 9bd49695285e4c569816ba203838b27b8d1a8958 /include | |
parent | 29442cdfcfa44dbfab097114e3d804a7f7623fef (diff) |
Display skipped root-only tests
Diffstat (limited to 'include')
-rw-r--r-- | include/report | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/report b/include/report index 318ed027..01947c75 100644 --- a/include/report +++ b/include/report @@ -201,6 +201,23 @@ fi fi + # Display what tests are skipped in non-privileged scan for awareness + if [ ${PENTESTINGMODE} -eq 1 -a ! "${SKIPPED_TESTS_ROOTONLY}" = "" ]; then + echo "" + echo " ${PURPLE}Skipped tests due to non-privileged scan${NORMAL}" + + FIND=`echo ${SKIPPED_TESTS_ROOTONLY} | sed 's/ /:space:/g'` + # Split entries + FIND=`echo ${FIND} | sed 's/====/ /g'` + # Display found entries + for I in ${FIND}; do + J=`echo ${I} | sed 's/:space:/ /g'` + echo " ${J}" + done + echo "" + echo "================================================================================" + fi + if [ ${SHOW_TOOL_TIPS} -eq 1 ]; then echo " Tip: Disable all tests which are not relevant or are too strict for the" echo " purpose of this particular machine. This will remove unwanted suggestions" |