Created
June 15, 2019 08:43
-
-
Save nani1337/6adc33a90a3e297b19af0a71873c42de to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#dirsearchem | |
#$1 box name | |
#$2 URL (check for Domain, HTTPS, port first) | |
clear | |
date | |
echo "Running dirsearch on $1 $2" | |
python3 /opt/Web_Tools/dirsearch/dirsearch.py -u "$2" -e sh,txt,php,html,htm,asp,aspx,js,xml,log,json,jpg,jpeg,png,gif,doc,pdf,mpg,mp3,zip,tar.gz,tar --plain-text-report=dirsearch_$1_quick | |
python3 /opt/Web_Tools/dirsearch/dirsearch.py -u "$2" -e sh,txt,php,html,htm,asp,aspx,js,xml,log,json,jpg,jpeg,png,gif,doc,pdf,mpg,mp3,zip,tar.gz,tar -w /usr/share/wordlists/dirbuster/directory-list-lowercase-2.3-medium.txt --plain-text-report=dirsearch_$1_BigList | |
date | |
echo "Finished dirsearch on $1 at $2" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment