forked from The-Art-of-Hacking/websploit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile
More file actions
33 lines (25 loc) · 1014 Bytes
/
Vagrantfile
File metadata and controls
33 lines (25 loc) · 1014 Bytes
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
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrant configuration file for setting up a Kali Linux VM with WebSploit Labs installed
Vagrant.configure("2") do |config|
# Box Settings
# Use the official Kali Linux rolling release Vagrant box
config.vm.box = "kalilinux/rolling"
# Provider Settings (VirtualBox)
config.vm.provider "virtualbox" do |vb|
# Enable the VirtualBox GUI during boot (set to 'false' for headless mode)
vb.gui = true
# Allocate memory (RAM) for the VM (in MB)
vb.memory = "4096"
# Allocate number of CPU cores for the VM
vb.cpus = 4
# Optional: Manually assign a private network IP if needed
# Uncomment the following line if you want to use a static IP address
# config.vm.network "private_network", ip: "10.1.1.1"
end
# Provisioning
# Automatically run a shell script after the VM is up to install WebSploit Labs
config.vm.provision "shell", inline: <<-SHELL
curl -sSL https://websploit.org/install.sh | sudo bash
SHELL
end