File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ echo "Building downloader Docker image..."
7575docker build -t taptrap_downloader " ${DATASET_PREPARATION_DIR} /downloader" 1> /dev/null || abort " Failed to build downloader image"
7676
7777echo " Running downloader..."
78- docker run --rm \
78+ docker run -it - -rm \
7979 -v " ${SAMPLED_CSV} :/data/input.csv" \
8080 -v " ${OUTPUT_DOWNLOAD_APP_DIR} :/data/output" \
8181 -v " ${OUTPUT_DOWNLOAD_LOG_DIR} :/data/logs" \
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ mkdir -p "$OUT_DIR" || abort "Failed to create output directory"
5454mkdir -p " $OUT_DIR /android_framework" || abort " Failed to create android_framework directory"
5555cp " $FRAMEWORK_RES_APK " " $OUT_DIR /android_framework/" || abort " Failed to copy framework-res.apk into output directory"
5656echo " Run the MalTapExtract Docker container"
57- docker run --rm -v " $OUT_DIR :/output" -v " $APK_DIR :/apks" taptrap_maltapextract /output /apks 6
57+ docker run -it - -rm -v " $OUT_DIR :/output" -v " $APK_DIR :/apks" taptrap_maltapextract /output /apks 6
5858
5959# Run MalTapAnalyze
6060echo " > Step 2: Run MalTapAnalyze"
Original file line number Diff line number Diff line change @@ -38,11 +38,11 @@ echo "> Step 1: Run vulnerability detection pipeline"
3838
3939docker build -t taptrap_vulntap " ${VULN_APP_DIR} /code" || abort " Failed to build Docker image 'taptrap_vulntap'"
4040
41- # docker run -it --rm \
42- # -v "${APK_DIR}:/apks" \
43- # -v "${OUT_DIR}:/output" \
44- # taptrap_vulntap \
45- # /apks /output 4
41+ docker run -it --rm \
42+ -v " ${APK_DIR} :/apks" \
43+ -v " ${OUT_DIR} :/output" \
44+ taptrap_vulntap \
45+ /apks /output 4
4646
4747echo " > Step 2: Generate report"
4848
You can’t perform that action at this time.
0 commit comments