-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbulk_install_tools.sh
executable file
·70 lines (58 loc) · 1.87 KB
/
bulk_install_tools.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#!/bin/sh
SCRIPT_DIR="$(realpath "$(dirname "${0}")")"
. "${SCRIPT_DIR}/config-files/shell-utils/util.sh"
install_package() {
local package_name=$1
pacman -S --noconfirm --needed "${package_name}"
}
install_custom_package() {
local package_name=$1
"${SCRIPT_DIR}/make.sh" install "${package_name}" ${VERBOSE}
}
install_packages() {
local packages='nmap
medusa
sqlmap'
local custom_packages='amass
asnlookup
assetfinder
brutespray
dnmasscan
domlink
aquatone
favfreak
ffuf
getrelationship
github_search
github_subdomains
gospider
hakrawler
httprobe
massdns
metabigor
subdomainizer
subfinder
subscraper
seclists
kalilists
dnsvalidator
linkfinder
nuclei
subjack'
#subover -- replaced by subjack
#resolvers -- installed by amass/subfinder
#shosubgo
#eyewitness
for package in ${packages}; do
perform_task_arg install_package "${package}"
done
for package in ${custom_packages}; do
perform_task_arg install_custom_package "${package}"
done
}
main() {
setup_verbosity "${@}"
install_packages
check_for_errors
}
main "${@}"