File tree 6 files changed +30
-30
lines changed 6 files changed +30
-30
lines changed Original file line number Diff line number Diff line change 8
8
# Stop script if a command does not succeed
9
9
set -e
10
10
11
- SCRIPT_WORKING_DIR =" $( cd " $( dirname " $0 " ) " ; pwd -P ) "
12
- REPO_DIR=$SCRIPT_WORKING_DIR /Alfresco
11
+ SCRIPT_DIR =" $( cd " $( dirname " $0 " ) " ; pwd -P ) "
12
+ REPO_DIR=$SCRIPT_DIR /Alfresco
13
13
DEPLOY_DIR=$REPO_DIR /__dist__
14
14
if [ -z " $OUTPUT_DIR " ]; then
15
15
OUTPUT_DIR=$SECURITY_SCANNER_HOME /GENUINE
77
77
# Run security-analyser
78
78
cd $SECURITY_SCANNER_HOME
79
79
80
- python3 $SCRIPT_WORKING_DIR /../../driver/run.py \
81
- -C $SCRIPT_WORKING_DIR /AlfrescoRules.json \
80
+ python3 $SCRIPT_DIR /../../driver/run.py \
81
+ -C $SCRIPT_DIR /AlfrescoRules.json \
82
82
-I $DEPLOY_DIR /webapps/alfresco-4.3.0-SNAPSHOT.war \
83
83
-L $DEPLOY_DIR /lib \
84
84
-R $OUTPUT_DIR /Alfresco/results \
Original file line number Diff line number Diff line change 8
8
# Stop script if a command does not succeed
9
9
set -e
10
10
11
- SCRIPT_WORKING_DIR =" $( cd " $( dirname " $0 " ) " ; pwd -P ) "
12
- REPO_DIR=$SCRIPT_WORKING_DIR /CiteSeerX
11
+ SCRIPT_DIR =" $( cd " $( dirname " $0 " ) " ; pwd -P ) "
12
+ REPO_DIR=$SCRIPT_DIR /CiteSeerX
13
13
DEPLOY_DIR=$REPO_DIR
14
- FILES_DIR=$SCRIPT_WORKING_DIR /CiteSeerX_files
14
+ FILES_DIR=$SCRIPT_DIR /CiteSeerX_files
15
15
if [ -z " $OUTPUT_DIR " ]; then
16
16
OUTPUT_DIR=$SECURITY_SCANNER_HOME /GENUINE
17
17
fi
36
36
# Run security-analyser
37
37
cd $SECURITY_SCANNER_HOME
38
38
39
- python3 $SCRIPT_WORKING_DIR /../../driver/run.py \
40
- -C $SCRIPT_WORKING_DIR /CiteSeerXRules.json \
39
+ python3 $SCRIPT_DIR /../../driver/run.py \
40
+ -C $SCRIPT_DIR /CiteSeerXRules.json \
41
41
-I $DEPLOY_DIR \
42
42
-L $DEPLOY_DIR \
43
43
-R $OUTPUT_DIR /CiteSeerX/results \
Original file line number Diff line number Diff line change 8
8
# Stop script if a command does not succeed
9
9
set -e
10
10
11
- SCRIPT_WORKING_DIR =" $( cd " $( dirname " $0 " ) " ; pwd -P ) "
12
- REPO_DIR=$SCRIPT_WORKING_DIR /DSpace
11
+ SCRIPT_DIR =" $( cd " $( dirname " $0 " ) " ; pwd -P ) "
12
+ REPO_DIR=$SCRIPT_DIR /DSpace
13
13
DEPLOY_DIR=$REPO_DIR
14
- FILES_DIR=$SCRIPT_WORKING_DIR /DSpace_files
14
+ FILES_DIR=$SCRIPT_DIR /DSpace_files
15
15
if [ -z " $OUTPUT_DIR " ]; then
16
16
OUTPUT_DIR=$SECURITY_SCANNER_HOME /GENUINE
17
17
fi
46
46
# Run security-analyser
47
47
cd $SECURITY_SCANNER_HOME
48
48
49
- python3 $SCRIPT_WORKING_DIR /../../driver/run.py \
50
- -C $SCRIPT_WORKING_DIR /DSpace_rules.json \
49
+ python3 $SCRIPT_DIR /../../driver/run.py \
50
+ -C $SCRIPT_DIR /DSpace_rules.json \
51
51
-I $DEPLOY_DIR /webapps/jspui \
52
52
-R $OUTPUT_DIR /DSpace/results \
53
53
-T $OUTPUT_DIR /DSpace/temp \
Original file line number Diff line number Diff line change 8
8
# Stop script if a command does not succeed
9
9
set -e
10
10
11
- SCRIPT_WORKING_DIR =" $( cd " $( dirname " $0 " ) " ; pwd -P ) "
12
- REPO_DIR=$SCRIPT_WORKING_DIR /Ginco
11
+ SCRIPT_DIR =" $( cd " $( dirname " $0 " ) " ; pwd -P ) "
12
+ REPO_DIR=$SCRIPT_DIR /Ginco
13
13
DEPLOY_DIR=$REPO_DIR /__dist__
14
- FILES_DIR=$SCRIPT_WORKING_DIR /Ginco_files
14
+ FILES_DIR=$SCRIPT_DIR /Ginco_files
15
15
if [ -z " $OUTPUT_DIR " ]; then
16
16
OUTPUT_DIR=$SECURITY_SCANNER_HOME /GENUINE
17
17
fi
52
52
# Run security-analyser
53
53
cd $SECURITY_SCANNER_HOME
54
54
55
- python3 $SCRIPT_WORKING_DIR /../../driver/run.py \
56
- -C $SCRIPT_WORKING_DIR /GincoRules.json \
55
+ python3 $SCRIPT_DIR /../../driver/run.py \
56
+ -C $SCRIPT_DIR /GincoRules.json \
57
57
-I $DEPLOY_DIR /ginco-admin/webapp \
58
58
-L $DEPLOY_DIR /ginco-admin/lib \
59
59
-R $OUTPUT_DIR /Ginco/results \
Original file line number Diff line number Diff line change 8
8
# Stop script if a command does not succeed
9
9
set -e
10
10
11
- SCRIPT_WORKING_DIR =" $( cd " $( dirname " $0 " ) " ; pwd -P ) "
12
- REPO_DIR=$SCRIPT_WORKING_DIR /Sakai
11
+ SCRIPT_DIR =" $( cd " $( dirname " $0 " ) " ; pwd -P ) "
12
+ REPO_DIR=$SCRIPT_DIR /Sakai
13
13
DEPLOY_DIR=$REPO_DIR /__dist__
14
- FILES_DIR=$SCRIPT_WORKING_DIR /Sakai_files
14
+ FILES_DIR=$SCRIPT_DIR /Sakai_files
15
15
if [ -z " $OUTPUT_DIR " ]; then
16
16
OUTPUT_DIR=$SECURITY_SCANNER_HOME /GENUINE
17
17
fi
33
33
# Run security-analyser
34
34
cd $SECURITY_SCANNER_HOME
35
35
36
- python3 $SCRIPT_WORKING_DIR /../../driver/run.py \
37
- -C $SCRIPT_WORKING_DIR /Sakai_rules.json \
36
+ python3 $SCRIPT_DIR /../../driver/run.py \
37
+ -C $SCRIPT_DIR /Sakai_rules.json \
38
38
-I $DEPLOY_DIR /webapps/sakai-assignment-tool.war \
39
39
-L $DEPLOY_DIR /lib \
40
40
-R $OUTPUT_DIR /Sakai/results \
Original file line number Diff line number Diff line change @@ -11,11 +11,11 @@ LESSONS_WHICH_DO_NOT_WORK='CrossSiteScriptingLesson5a Assignment3 ContentTypeAss
11
11
# Stop script if a command does not succeed
12
12
set -e
13
13
14
- SCRIPT_WORKING_DIR =" $( cd " $( dirname " $0 " ) " ; pwd -P ) "
15
- REPO_DIR=$SCRIPT_WORKING_DIR /WebGoat
14
+ SCRIPT_DIR =" $( cd " $( dirname " $0 " ) " ; pwd -P ) "
15
+ REPO_DIR=$SCRIPT_DIR /WebGoat
16
16
DEPLOY_DIR=$REPO_DIR
17
- FILES_DIR=$SCRIPT_WORKING_DIR /WebGoat_files
18
- MODELS_LIB_DIR=$SCRIPT_WORKING_DIR /../LIBRARIES/models
17
+ FILES_DIR=$SCRIPT_DIR /WebGoat_files
18
+ MODELS_LIB_DIR=$SCRIPT_DIR /../LIBRARIES/models
19
19
if [ -z " $OUTPUT_DIR " ]; then
20
20
OUTPUT_DIR=$SECURITY_SCANNER_HOME /GENUINE
21
21
fi
@@ -52,8 +52,8 @@ cd $SECURITY_SCANNER_HOME
52
52
53
53
for LESSON in $LESSONS_WHICH_WORK
54
54
do
55
- python3 $SCRIPT_WORKING_DIR /../../driver/run.py \
56
- -C $SCRIPT_WORKING_DIR /WebGoatRules.json \
55
+ python3 $SCRIPT_DIR /../../driver/run.py \
56
+ -C $SCRIPT_DIR /WebGoatRules.json \
57
57
-I $DEPLOY_DIR \
58
58
-L $DEPLOY_DIR \
59
59
-R $OUTPUT_DIR /WebGoat/results/$LESSON \
You can’t perform that action at this time.
0 commit comments