#!/bin/bash source scctestlib || exit 1 #fix ssh access ../npl/sshkeyfix root@$IP || exit 1 #haal lijst met scc php files op ssh root@$IP "cd /usr/webint/htdocs; find . -name '*.php'" > /tmp/scan.$$ || exit 1 #eerst weer uitloggen DESCRIPTION1="uitloggen" IGNOREERROR=1 PAGE="login/login.php?logout=1" scc_add #genereer test aan de hand van alle php files for PAGE in `cat /tmp/scan.$$`; do DESCRIPTION1="test 302 code $PAGE" PAGE="$PAGE" IGNOREERROR=1 #VERIFYRESPONSECODE=302 VERIFYNEGATIVE="\<" scc_add done scc_test || exit 1