-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinstall.sh
51 lines (35 loc) · 941 Bytes
/
install.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
#!/usr/bin/env bash
ARGS=$#
ARG=$1
ONLY=$2
if [[ "$ARG" == "--help" ]]; then
echo "Usage: bash install.sh [--only \"test1 test2\"]"
exit
fi
install() {
if [[ ${ARGS} -eq 0 || "$ARG" == "--only" && "$ONLY" =~ "$1" ]]; then
rm -rf $1
git clone https://github.com/SecuritySquad/$1.git
cd $1
bash install.sh
cd ..
fi
}
cd ..
install webifier-resolver
install webifier-test-virusscan
install webifier-test-header-inspection
install webifier-test-portscan
install webifier-test-ipscan
install webifier-test-linkchecker
install webifier-test-certificatechecker
install webifier-test-phishingdetector
install webifier-test-screenshot
install webifier-test-google-safe-browsing
docker rmi $(docker images --filter "dangling=true" -q)
cd webifier-tester
./gradlew :buildAll
cd ..
cd run
rm -f webifier-tester-all-*.jar
cp ../webifier-tester/build/libs/webifier-tester-all-*.jar .