- Visit https://github.com/elespike/lab26-vm/releases/latest and download the provided
.ovafile. - Import the
.ovafile into your preferred virtualization platform; e.g., VirtualBox - Start the VM
- Wait ~10 seconds for things to spin up
- Visit http://127.0.0.1:1313 on your browser (your own, host machine browser)
When you need to use the terminal (and don't feel like uploading a web shell), you can log in to the VM using the following credentials:
| Username | Password |
|---|---|
| tux | password |
- Once you import and start the VM, create a snapshot so you can always revert to this initial state
- If certain applications cease to work for more than a couple minutes, try rebooting the VM.
- Some of the web applications (e.g., bWAPP, Mutillidae, DVWA) have their own reset page to restore their respective databases to its defaults.
- If all else fails, either revert to the initial snapshot (if you created one) or re-import the VM altogether (then remember to take a snapshot).
This VM is built using Vagrant
- Assuming Vagrant is already installed, clone this repository and run the supplied
build.shscript - After the barebones VM is created and shut down, clone the existing
.vmdkdisk into a new.vdidisk for better compression - Replace the original
.vmdkdisk with the cloned.vdidisk - Re-run
build.shwith an environment variable namedVDIthat points to the.vdifile you created e.g.,env VDI=/path/to/copy.vdi ./build.sh - Wait until the script is finished, and review
vagrant.logto ensure there were no errors - Visit http://127.0.0.1:1313, verify all links and sites
- Shut down the VM with
vagrant halt - Using the VirtualBox interface:
- Reduce memory to 2048 MB and CPU count to 1
- Change the graphics controller to
VMSVGA - Export to
.ovaand ship it!