Default wordlists added

This commit is contained in:
Yogesh Ojha
2022-04-24 22:57:31 +05:30
parent 75243ffe32
commit 5449bec562
2 changed files with 22 additions and 6 deletions
+21 -5
View File
@@ -22,6 +22,27 @@ python3 manage.py loaddata fixtures/default_keywords.yaml --app scanEngine.Inter
# update whatportis
yes | whatportis --update
# clone dirsearch default wordlist
if [ ! -d "/usr/src/wordlist" ]
then
echo "Making Wordlist directory"
mkdir /usr/src/wordlist
fi
if [ ! -f "/usr/src/wordlist/" ]
then
echo "Downloading Default Directory Bruteforce Wordlist"
wget https://raw.githubusercontent.com/maurosoria/dirsearch/master/db/dicc.txt -O /usr/src/wordlist/dicc.txt
fi
# check if default wordlist for amass exists
if [ ! -f /usr/src/wordlist/deepmagic.com-prefixes-top50000.txt ];
then
echo "Downloading Deepmagic top 50000 Wordlist"
wget https://raw.githubusercontent.com/danielmiessler/SecLists/master/Discovery/DNS/deepmagic.com-prefixes-top50000.txt -O /usr/src/wordlist/deepmagic.com-prefixes-top50000.txt
fi
# clone Sublist3r
if [ ! -d "/usr/src/github/Sublist3r" ]
then
@@ -79,11 +100,6 @@ then
mkdir /usr/src/scan_results
fi
# check if default wordlist for amass exists
if [ ! -f /usr/src/wordlist/deepmagic.com-prefixes-top50000.txt ]; then
wget https://raw.githubusercontent.com/danielmiessler/SecLists/master/Discovery/DNS/deepmagic.com-prefixes-top50000.txt -O /usr/src/wordlist/deepmagic.com-prefixes-top50000.txt
fi
# test tools, required for configuration
naabu && subfinder && amass
+1 -1
View File
@@ -858,7 +858,7 @@ def directory_brute(task, domain, yaml_configuration, results_dir, activity_id):
if (WORDLIST not in yaml_configuration[DIR_FILE_SEARCH] or
not yaml_configuration[DIR_FILE_SEARCH][WORDLIST] or
'default' in yaml_configuration[DIR_FILE_SEARCH][WORDLIST]):
wordlist_location = '/usr/src/github/dirsearch/db/dicc.txt'
wordlist_location = '/usr/src/wordlist/dicc.txt'
else:
wordlist_location = '/usr/src/wordlist/' + \
yaml_configuration[DIR_FILE_SEARCH][WORDLIST] + '.txt'