Skip to content

Commit 529889f

Browse files
committed
try fix build error
1 parent 21ad74c commit 529889f

File tree

2 files changed

+15
-30
lines changed

2 files changed

+15
-30
lines changed

build/add-tools.sh

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22
#######################################
33
# Handle the installation of tools
44
#######################################
5+
####
6+
# Utility functions
7+
add_seclists () {
8+
# To save space only keep:
9+
# - Types of dictionaries used
10+
# - Specifics dictionaries for specific usage
11+
repo_dest="/tools/sec-lists"
12+
git clone --depth 1 https://github.com/danielmiessler/SecLists.git $repo_dest
13+
cd $repo_dest
14+
cp "$repo_dest/Passwords/Leaked-Databases/rockyou.txt.tar.gz" "rockyou.txt.tar.gz"
15+
rm -rf Ai Fuzzing Miscellaneous Passwords Pattern-Matching Payloads Web-Shells
16+
rm CONTRIBUTING.md CONTRIBUTORS.md LICENSE README.md SecLists.png
17+
cd -
18+
}
519
#####
620
# Create a Python virtual to address PEP668 error
721
# See https://peps.python.org/pep-0668/
@@ -20,7 +34,7 @@ mkdir /tools/reports
2034
git clone --depth 1 https://github.com/maurosoria/dirsearch.git /tools/dirsearch
2135
git clone --depth 1 https://github.com/drwetter/testssl.sh /tools/testssl
2236
git clone --depth 1 https://github.com/sullo/nikto.git /tools/nikto
23-
git clone --depth 1 https://github.com/danielmiessler/SecLists.git /tools/sec-lists
37+
add_seclists
2438
git clone --depth 1 https://github.com/stamparm/identYwaf.git /tools/identYwaf
2539
git clone --depth 1 https://github.com/righettod/website-passive-reconnaissance.git /tools/website-passive-reconnaissance
2640
git clone --depth 1 https://github.com/sqlmapproject/sqlmap.git /tools/sqlmap

scripts/generate-passwords-dict.sh

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)