Skip to content

Commit 30df658

Browse files
author
Owen
committed
Do not make install
Also run in benchmarks rather than dist
1 parent 773e483 commit 30df658

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

benchmarks/GENUINE/WebGoat.sh

+2-7
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,10 @@ fi
5454
# 11. rm -rf ./webgoat-container
5555
rm -rf ../../webgoat-container
5656

57-
# Build and install security-analyser
58-
cd ../../../../
59-
60-
(cd $SECURITY_SCANNER_HOME && make install)
61-
6257
# Run security-analyser on each lesson which works separately
63-
cd dist
58+
cd $SECURITY_SCANNER_HOME
6459

6560
for LESSON in $LESSONS_WHICH_WORK
6661
do
67-
python3 ../driver/run.py -C $SCRIPT_WORKING_DIR/WebGoatRules.json -I $REPO_DIR -L $REPO_DIR -R GENUINE/WebGoat/$LESSON/RESULTS -T GENUINE/WebGoat/TEMP --name WebGoat --verbosity 9 --use-models-library --do-not-use-precise-access-paths --rebuild --timeout 10000000 --entry-point Main.$LESSON
62+
python3 $SCRIPT_WORKING_DIR/../../driver/run.py -C $SCRIPT_WORKING_DIR/WebGoatRules.json -I $REPO_DIR -L $REPO_DIR -R $SCRIPT_WORKING_DIR/WebGoat-results/$LESSON -T $SCRIPT_WORKING_DIR/WebGoat-tmp --name WebGoat --verbosity 9 --use-models-library --do-not-use-precise-access-paths --rebuild --timeout 10000000 --entry-point Main.$LESSON
6863
done

0 commit comments

Comments
 (0)