Skip to content

Hack-and-Learn/infrastructure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

README

Provision vuln vm's

openstack stack create mystack \
    -t template.yaml \
    -e env.yaml \
    --parameter image=mrRobot \
    --parameter count=5

Create images from vulnhub

  1. Download an image from vulnhub. For example: https://www.vulnhub.com/entry/mr-robot-1,151/
# Unpack ova
# https://opentox.github.io/installation/2012/08/02/converting-ova-images-to-kvm
tar -xvf mrRobot.ova
# Convert vmdk to raw disk
# https://docs.openstack.org/image-guide/convert-images.html
qemu-img convert -f vmdk -O raw mrRobot-disk1.vmdk mrRobot.raw
# Create image
openstack image create \
  --container-format bare \
  --disk-format raw \
  --private \
  --file mrRobot.raw \
  mrRobot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published