-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile
More file actions
38 lines (37 loc) · 1.45 KB
/
Copy pathVagrantfile
File metadata and controls
38 lines (37 loc) · 1.45 KB
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
# Author: Sristi Sravan
# Date : 16 August 2023
# TIC4301 - NUS - Information Security Practicum I
Vagrant.configure("2") do |config|
config.vm.define "tic4301-attacker" do |cfg|
cfg.vm.box = "sT0wn/kalilinux_arm64"
cfg.vm.box_version = "2023.3"
cfg.vm.hostname = "tic4301-attacker"
cfg.vm.network :private_network, ip: "192.168.33.11", gateway: "192.168.33.1", dns: "8.8.8.8"
cfg.vm.provider "virtualbox" do |vb, override|
vb.gui = true
vb.name = "tic4301-attacker"
vb.customize ["modifyvm", :id, "--memory", 4096]
vb.customize ["modifyvm", :id, "--cpus", 2]
vb.customize ["modifyvm", :id, "--vram", "32"]
vb.customize ["modifyvm", :id, "--clipboard", "bidirectional"]
end
end
config.vm.define "tic4301-host" do |cfg|
cfg.vm.box = "realhax/ubuntu-desktop-arm64"
cfg.vm.hostname = "tic4301-host"
cfg.vm.communicator = "winrm"
cfg.winrm.basic_auth_only = true
cfg.winrm.timeout = 1200
cfg.winrm.retry_limit = 20
cfg.vm.boot_timeout = 1200
cfg.vm.network :private_network, ip: "192.168.33.10", gateway: "192.168.33.1", dns: "8.8.8.8"
cfg.vm.provider "virtualbox" do |vb, override|
vb.gui = true
vb.name = "tic4301-host"
vb.customize ["modifyvm", :id, "--memory", 4096]
vb.customize ["modifyvm", :id, "--cpus", 2]
vb.customize ["modifyvm", :id, "--vram", "32"]
vb.customize ["modifyvm", :id, "--clipboard", "bidirectional"]
end
end
end