File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -2366,13 +2366,16 @@ function smuggling() {
2366
2366
exit 1
2367
2367
}
2368
2368
cat $dir /.tmp/webs_all.txt | python3 smuggler.py -q --no-color 2> /dev/null | anew -q $dir /.tmp/smuggling.txt
2369
+ mkdir -p $dir /vulns/smuggling/
2370
+ find payloads -type f ! -name " README*" -exec mv {} $dir /vulns/smuggling/ \;
2369
2371
popd > /dev/null || {
2370
2372
echo " Failed to popd in ${FUNCNAME[0]} @ line ${LINENO} "
2371
2373
exit 1
2372
- } [ -s " .tmp/smuggling.txt" ] && cat .tmp/smuggling.txt | anew -q vulns/smuggling.txt
2373
- end_func " Results are saved in vulns/smuggling.txt" ${FUNCNAME[0]}
2374
+ }
2375
+ [ -s " .tmp/smuggling.txt" ] && cat .tmp/smuggling.txt | anew -q vulns/smuggling_log.txt
2376
+ end_func " Results are saved in vulns/smuggling_log.txt and findings in vulns/smuggling/" ${FUNCNAME[0]}
2374
2377
else
2375
- end_func " Skipping Prototype Pollution : Too many webs to test, try with --deep flag" ${FUNCNAME[0]}
2378
+ end_func " Skipping Request Smuggling : Too many webs to test, try with --deep flag" ${FUNCNAME[0]}
2376
2379
fi
2377
2380
else
2378
2381
if [[ $SMUGGLING == false ]]; then
You can’t perform that action at this time.
0 commit comments