Home Get Started Step 03

Shut down and reset the machine

When you are done with your lab, stop the machine. Restore the clean-base snapshot and start it again. Then you can practice the next CVE.

Time
~2 min
Difficulty
Easy
Runs on
Host machine
Ends with
A clean machine, ready for the next lab
01

Stop the machine

When you are done with your lab, stop the machine.

Terminal · host
VBoxManage controlvm thehackingmachine acpipowerbutton

Want to keep your notes or logs? Copy them to the host first. The next step deletes everything on the machine.

02

Restore clean-base

Restore the clean-base snapshot. This removes the CVE and all other changes. Then start the machine. Wait about 30 seconds for it to boot.

Terminal · host
VBoxManage snapshot thehackingmachine restore clean-base

If the restore fails, the snapshot is missing. Go back to the snapshot step in Step 02.

03

Start the next CVE

The machine is clean again. Go to our CVE library, pick your next CVE and run its playbook to practice.

Terminal · host
VBoxManage startvm thehackingmachine
ansible-playbook cve/cve-xxxx-xxxx.yml