forked from ctf-team/ctf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
38 lines (29 loc) · 791 Bytes
/
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
build: clear git build-all
rebuild: clear restart
build-all: clear nottelnet attack-rtlo reverse-reverse1 restart
# Nottelnet
nottelnet:
@echo "Building nottelnet..."
@docker build -t nottelnet -f docker/attack/nottelnet/Dockerfile .
# Attacks
attack-rtlo:
@echo "Building attack-rtlo..."
@docker build -t attack-rtlo -f docker/attack/rtlo/Dockerfile .
# Reverse
reverse-reverse1:
@echo "Building reverse-reverse1..."
@docker build -t reverse-reverse1 -f docker/reverse/reverse-1/Dockerfile .
update:
@echo "Updating containers..."
@docker-compose up --no-deps -d
# Compose
restart:
@echo "Pulling down docker-compose..."
@docker-compose down
@echo "Pulling up docker-compose..."
@docker-compose up -d
clear:
@clear
git:
@git reset --hard
@git pull