File tree 1 file changed +20
-1
lines changed 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change 8
8
# Two sets of lessons which work depending on which rules file to use
9
9
LESSONS_WHICH_WORK_SQL=' SqlInjectionLesson5a SqlInjectionLesson5b SqlInjectionLesson6a SqlInjectionLesson12a SqlInjectionChallenge Assignment5 Assignment6 SimpleXXE BlindSendFileAssignment'
10
10
LESSONS_WHICH_WORK_XSS=' CrossSiteScriptingLesson5a'
11
- LESSONS_WHICH_DO_NOT_WORK=' Assignment3 ContentTypeAssignment VulnerableComponentsLesson MissingFunctionACUsers'
11
+ LESSONS_WHICH_WORK_IDES=' VulnerableComponentsLesson'
12
+ LESSONS_WHICH_DO_NOT_WORK=' Assignment3 ContentTypeAssignment MissingFunctionACUsers'
12
13
13
14
# Stop script if a command does not succeed
14
15
set -e
90
91
mv ${OUTPUT_DIR} /WebGoat/${LESSON} /results/* ${OUTPUT_DIR} /WebGoat/results
91
92
rm -rf ${OUTPUT_DIR} /WebGoat/${LESSON}
92
93
done
94
+
95
+ for LESSON in $LESSONS_WHICH_WORK_IDES
96
+ do
97
+ python3 $SCRIPT_DIR /../../driver/run.py \
98
+ -C $SCRIPT_DIR /WebGoatRulesIDES.json \
99
+ -I $DEPLOY_DIR \
100
+ -L $DEPLOY_DIR \
101
+ -R $OUTPUT_DIR /WebGoat/${LESSON} /results \
102
+ -T $OUTPUT_DIR /WebGoat/${LESSON} /temp \
103
+ --name WebGoat \
104
+ --use-models-library \
105
+ --timeout 10000000 --verbosity 9 --rebuild \
106
+ --do-not-use-precise-access-paths \
107
+ --entry-point Main.$LESSON
108
+
109
+ mv ${OUTPUT_DIR} /WebGoat/${LESSON} /results/* ${OUTPUT_DIR} /WebGoat/results
110
+ rm -rf ${OUTPUT_DIR} /WebGoat/${LESSON}
111
+ done
You can’t perform that action at this time.
0 commit comments