source: tests/scan.scctest @ 0105685

gcc484ntopperl-5.22
Last change on this file since 0105685 was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100755
File size: 562 bytes
Line 
1#!/bin/bash
2
3source scctestlib || exit 1
4
5#fix ssh access
6../npl/sshkeyfix root@$IP || exit 1
7
8#haal lijst met scc php files op
9ssh root@$IP "cd /usr/webint/htdocs; find . -name '*.php'" > /tmp/scan.$$ || exit 1
10
11#eerst weer uitloggen
12DESCRIPTION1="uitloggen"
13IGNOREERROR=1
14PAGE="login/login.php?logout=1"
15scc_add
16
17#genereer test aan de hand van alle php files
18for PAGE in `cat /tmp/scan.$$`; do
19    DESCRIPTION1="test 302 code $PAGE"
20    PAGE="$PAGE"
21    IGNOREERROR=1
22    #VERIFYRESPONSECODE=302
23    VERIFYNEGATIVE="\<"
24    scc_add
25done
26
27scc_test || exit 1
Note: See TracBrowser for help on using the repository browser.