Skip to content

Commit 25b8e97

Browse files
committed
refactor(hacktools): move dirsearch wordlist to lists
1 parent 81e33a6 commit 25b8e97

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

setup/install_hacktools.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,9 @@ fi
142142

143143
# Generate recursive.txt for ffuf recursive fuzzing (dirsearch + raft-large combined)
144144
RECURSIVE_LIST="$LISTS_PATH/recursive.txt"
145-
if [[ -f "$TOOLS_PATH/Dirsearch/db/dicc.txt" && -f "$LISTS_PATH/raft-large-directories-lowercase.txt" ]]; then
145+
if [[ -f "$LISTS_PATH/dirsearch-dicc.txt" && -f "$LISTS_PATH/raft-large-directories-lowercase.txt" ]]; then
146146
printf "${bblue} Generating recursive.txt wordlist ${reset}\n"
147-
cat "$TOOLS_PATH/Dirsearch/db/dicc.txt" "$LISTS_PATH/raft-large-directories-lowercase.txt" | sort -u > "$RECURSIVE_LIST"
147+
cat "$LISTS_PATH/dirsearch-dicc.txt" "$LISTS_PATH/raft-large-directories-lowercase.txt" | sort -u > "$RECURSIVE_LIST"
148148
printf "${green} recursive.txt generated: %s entries${reset}\n" "$(wc -l < "$RECURSIVE_LIST")"
149149
else
150150
printf "${yellow} Could not generate recursive.txt — missing dirsearch or raft-large wordlist${reset}\n"

setup/lib/hacktools_inventory.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ WORDLISTS=(
6868
"\$LISTS_PATH/xato-net-10-million-usernames.txt|https://raw.githubusercontent.com/danielmiessler/SecLists/master/Usernames/xato-net-10-million-usernames.txt"
6969
"\$TOP_1M_110K_LIST|https://raw.githubusercontent.com/danielmiessler/SecLists/master/Discovery/DNS/subdomains-top1million-110000.txt"
7070
"\$LISTS_PATH/raft-large-words.txt|https://raw.githubusercontent.com/danielmiessler/SecLists/master/Discovery/Web-Content/raft-large-words.txt"
71+
"\$LISTS_PATH/dirsearch-dicc.txt|https://raw.githubusercontent.com/maurosoria/dirsearch/master/db/dicc.txt"
7172
"\$ALL_TXT_LIST|https://gist.githubusercontent.com/jhaddix/86a06c5dc309d08580a018c66354a056/raw/96f4e51d96b2203f19f6381c8c545b278eaa0837/all.txt"
7273
)
7374

tests/test_shell_modules.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ source "$ROOT/setup/lib/hacktools_inventory.sh"
3939
hacktools_plan=$(hacktools_inventory_plan)
4040
assert_contains "$hacktools_plan" "projectdiscovery|pdtm|naabu,shuffledns,chaos,nuclei,notify,httpx,dnsx,subfinder,interactsh-client,alterx,katana"
4141
assert_contains "$hacktools_plan" "wordlist|$LISTS_PATH/raft-large-directories-lowercase.txt|"
42-
assert_contains "$hacktools_plan" "repo|Dirsearch|https://github.com/maurosoria/dirsearch"
42+
assert_contains "$hacktools_plan" "wordlist|$LISTS_PATH/dirsearch-dicc.txt|https://raw.githubusercontent.com/maurosoria/dirsearch/master/db/dicc.txt"
4343

4444
echo "shell module tests passed"

0 commit comments

Comments
 (0)