-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvulnbox.yaml
65 lines (56 loc) · 1.72 KB
/
vulnbox.yaml
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
57
58
59
60
61
62
63
64
65
---
builders:
- type: virtualbox-ovf
source_path: "./debian/output/saarctf-vulnbox-base.ova"
boot_command:
- "<enter>"
ssh_username: root
ssh_password: '123456789'
shutdown_command: echo 'packer' | shutdown -P now
export_opts:
- "--manifest"
- "--vsys"
- '0'
- "--description"
- SaarCTF 2020 Vulnbox (powered by saarsec)
- "--version"
- 0.0.1 alpha
output_directory: output-vulnbox
vm_name: saarctf-vulnbox
format: ova
guest_additions_mode: disable
vboxmanage:
- ["modifyvm", "{{.Name}}", "--memory", "4096"]
- ["modifyvm", "{{.Name}}", "--vram", "16"]
- ["modifyvm", "{{.Name}}", "--cpus", "4"]
- ["modifyvm", "{{.Name}}", "--nic1", "nat"]
vboxmanage_before_export:
- ["modifyvm", "{{.Name}}", "--nic1", "bridged"]
- ["modifyvm", "{{.Name}}", "--bridgeadapter1", "none"]
- ["modifyvm", "{{.Name}}", "--macaddress1", "0A00273D6302"]
keep_registered: true
headless: true
provisioners:
- type: apt-cacher-ng # Configure cache if present on host
- type: shell
scripts:
- "./scripts/10_basics.sh"
- "./scripts/15_nginx.sh"
- "./scripts/20_vulnbox_utils.sh"
#- "./scripts/25_sid.sh"
- "./scripts/35_append_only.sh"
- type: file
source: frontpage/
destination: "/var/www/html/"
- type: file
source: setup-scripts/
destination: "/root/"
- type: services # ALL SERVICES ARE INCLUDED HERE; THEY ARE DETECTED BY THE VULNBUILD SYSTEM
- type: file
source: ssh/saarctf.pub
destination: /tmp/saarctf.pub
- type: shell
scripts:
- "./scripts/80_system_config.sh"
- "./scripts/81_vulnbox_config.sh"
- "./scripts/90_cleanup.sh"