Battlestation is a set of scripts designed to help manage VirtualBox VMs on a public network such that the VMs can be used as training tools for security and penetration testing.
Note that there is an inherent risk of running vulnerable VMs on a public network. The host computer should not be used for other purposes and should not have any personal information stored on the device. Make sure to back the device up completely before any session involving a group of people in a public network.
sudo apt install git
git clone https://github.com/jwdotjs/battlestation.git <path_to_desired_folder>
wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && sudo dpkg -i erlang-solutions_1.0_all.deb
sudo apt-get update
sudo apt-get install esl-erlang
sudo apt-get install elixir
sudo apt install npm
Change the network adapter to use Bridge
To start your Phoenix app:
- Install Elixir dependencies with
make install
- Install Javascript dependencies with
npm install
- Start Phoenix endpoint with
make iex
Now you can visit localhost:4000
from your browser.
- Make sure the host computer is backed up
- Make sure you are behind a NAT
- Make sure your VMs are snapshotted and running