Files
rengine/tools/get_dirs.sh
T

12 lines
484 B
Bash
Executable File

#!/bin/sh
# delete any existing dirs.json
rm $3
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,Page Not Found,URL No Longer Exists
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,Page Not Found,URL No Longer Exists
fi