-
Notifications
You must be signed in to change notification settings - Fork 10
/
build.sh
executable file
·56 lines (45 loc) · 1.01 KB
/
build.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
#!/usr/bin/env bash
# $1: true/false skip-indexing
echo_title() {
echo "=================================================="
echo "| $1"
}
build_cscan() {
cd CScanPoc
if [ "$1" == "true" ]; then
docker build -t cscan:0.1 .
else
./build.sh ../pocs ../strategies true
fi
cd ..
}
build_asset_finder() {
cd utility/AssetFinder/
docker build -t asset-finder:0.1 .
cd ../..
}
build_asset_identification() {
cd utility/AssetIdentification/
docker build -t asset-identifier:0.1 .
cd ../..
}
build_sqlmapapi() {
cd utility/sqlmapApi/
docker build -t sqlmapapi:0.1 .
cd ../..
}
build_sqlinjectionscan() {
cd utility/SQLinjectionScan/
docker build -t sqlinjectionscan:0.1 .
cd ../..
}
echo_title "build cscan"
build_cscan
echo_title "build asset finder"
build_asset_finder
echo_title "build asset identifier"
build_asset_identification
echo_title "build sqlmapapi"
build_sqlmapapi
echo_title "build SQLInjectionScan"
build_sqlinjectionscan