Files
rengine/tools/get_dirs.sh
T
RobbieandGitHub 4aeebe4b5c Update get_dirs.sh
Stop pages being filled with useless hits where a WAF gives off a 200 ok but the page is blocked.
2020-09-09 08:06:31 +01:00

9 lines
373 B
Bash
Executable File

#!/bin/sh
if [[ $# -eq 5 ]]
then
python3 /app/tools/dirsearch/dirsearch.py -u $1 -w $2 --json-report=$3 -e $4 -t $5 -e $4 --exclude-texts=Attack Detected,Please contact the system administrator
else
python3 /app/tools/dirsearch/dirsearch.py -u $1 -w $2 --json-report=$3 -e $4 -t $5 -r -R $6 -e $4 --exclude-texts=Attack Detected,Please contact the system administrator
fi