-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·17 lines (17 loc) · 847 Bytes
/
setup.sh
File metadata and controls
executable file
·17 lines (17 loc) · 847 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env bash
echo "Just gonna install dependencies cause it's quick"
echo "Proper installation relies on a correctly configured go environment..."
sleep 3
#Test for or get root.
[ "$UID" -eq 0 ] || exec sudo bash "$0" "$@" || exit 1
if ! command -v go &>/dev/null; then echo "Go could not be found. Install and configure that first."; exit 1; fi
if [ -z $GOPATH ]; then echo "GOPATH not set. Fix it before continuing."; exit 2; fi
echo '"Getting" amass...'
go get -u github.com/caffix/amass
echo '"Getting" subfinder...'
go get github.com/Ice3man543/subfinder
echo '"Getting" httpscreenshot...'
#http screenshot - https://github.com/breenmachine/httpscreenshot.git
echo "Installing httpscreenshot to /opt..."
cd /opt
git clone https://github.com/breenmachine/httpscreenshot.git > /dev/null && sh /opt/httpscreenshot/install-dependencies.sh