-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.sh
More file actions
24 lines (22 loc) · 696 Bytes
/
Copy pathsetup.sh
File metadata and controls
24 lines (22 loc) · 696 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
if [[ "$OSTYPE" == "linux"* ]]; then
echo "install amass nmap nikto"
apt install git python3 amass nmap nikto
fi
echo "nmap vulscan script"
if [[ -d "/usr/share/nmap/scripts/" ]]
then
cd /usr/share/nmap/scripts/
git clone https://github.com/scipag/vulscan.git
cd vulscan
git fetch
curl https://www.computec.ch/projekte/vulscan/download/cve.csv -o cve.csv
fi
# homebrew version
if [[ -d "/opt/homebrew/Cellar/nmap/7.92/share/nmap/scripts/" ]]
then
cd /opt/homebrew/Cellar/nmap/7.92/share/nmap/scripts/
git clone https://github.com/scipag/vulscan.git
cd vulscan
git fetch
curl https://www.computec.ch/projekte/vulscan/download/cve.csv -o cve.csv
fi