-
Notifications
You must be signed in to change notification settings - Fork 42
/
Makefile
55 lines (47 loc) Β· 1.05 KB
/
Makefile
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
cve-2021-3449: main.go $(wildcard tls/*.go)
go build -o cve-2021-3449 .
export UBUNTU_VERSION
.ONESHELL:
demo-openssl: cve-2021-3449
$(MAKE) -C demo start-openssl
sleep 2
./cve-2021-3449 -host localhost:4433
$(MAKE) -C demo stop-openssl
.ONESHELL:
demo-apache: cve-2021-3449
$(MAKE) -C demo start-apache
sleep 10
./cve-2021-3449 -host localhost:443
sleep 5
$(MAKE) -C demo stop-apache
.ONESHELL:
demo-haproxy: cve-2021-3449
$(MAKE) -C demo start-haproxy
sleep 3
./cve-2021-3449 -host localhost:4433
sleep 3
$(MAKE) -C demo stop-haproxy
.ONESHELL:
demo-lighttpd: cve-2021-3449
$(MAKE) -C demo start-lighttpd
sleep 3
./cve-2021-3449 -host localhost:4433
sleep 3
$(MAKE) -C demo stop-lighttpd
.ONESHELL:
demo-nginx: cve-2021-3449
$(MAKE) -C demo start-nginx
sleep 3
./cve-2021-3449 -host localhost:4433
sleep 3
$(MAKE) -C demo stop-nginx
.ONESHELL:
demo-nodejs: cve-2021-3449
$(MAKE) -C demo start-nodejs
sleep 8
./cve-2021-3449 -host localhost:4433
sleep 3
$(MAKE) -C demo stop-nodejs
clean:
rm -f cve-2021-3449
$(MAKE) -C demo clean