mirror of
https://github.com/yogeshojha/rengine.git
synced 2026-09-17 23:37:47 +02:00
Default wordlists added
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user