Skip to content

vuln2pve is a Shell Script, it download VM's from Vulnhub and convert this to the Proxmox VE format. Can be used by CTF (Capture the Flag) players who prefer the open source platform Proxmox.

License

Notifications You must be signed in to change notification settings

53845714nF/vuln2pve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vuln2pve

Shellcheck on vuln2pve

English version below

Berschreibung

vuln2pve ist ein kleines Shell Skript, was es erlaubt VMs von Vulnhub zu downloaden und diese dann automatisiert auf Proxmox VE zu erstellen. Es soll manuellen Arbeitsaufwand verringern. Daraus folgt, dass mit CTFs schneller begonnen werden kann. 😉

Ein ähnliches Projekt gibt es unter: https://github.com/Ap3x/ProxKube
Dieses bietet zwar mehr Möglichkeiten, braucht aber dafür mehr Nutzerinteraktion.

Installation

Das vuln2pve Skript auf den Proxmox VE Host ablegen. Am besten im /opt oder /usr/local/bin Verzeichnis.

Ausführungsrechte vergeben:
chmod u+x vuln2pve

Verwendung

Einstellungen für deine Umgebung:
# Please adapt for your environment 
dns=local # like fritz.box
storage=vm_pool # default is local-lvm
images_dir=/var/lib/vz/images # default pve dir
Download VM und konvertiert es zur Proxmox VM
./vuln2pve <url>
Sucht im images Verzeichnis nach .zip, .ova, .rar oder .vmdk Dateien und konvertiert diese zur Proxmox VM:
./vuln2pve

Achtung: Die Dateien werden dabei gelöscht.


Description

vuln2pve is a small Shell Script, it try to download VM's from Vulnhub and convert this to the Proxmox VE format. Should avoid manual steps so you can start quickly with your CTF's. 😉

There is a similar project at: https://github.com/Ap3x/ProxKube
This offers more features but requires more user interaction.

Installation

Copy the vuln2pve file to your Proxmox VE Host the best in the /opt or /usr/local/bin Directory.

Set execution rights:
chmod u+x vuln2pve

Usage

Setup for your environment:
# Please adapt for your environment 
dns=local # like fritz.box
storage=vm_pool # default is local-lvm
images_dir=/var/lib/vz/images # default pve dir
Download VM and try to convert:
./vuln2pve <url>
Lock in the images Directory and search for .zip, .ova, .rar or .vmdk files and convert them to Proxmox VM's:
./vuln2pve

Attention: The files will be deleted.

About

vuln2pve is a Shell Script, it download VM's from Vulnhub and convert this to the Proxmox VE format. Can be used by CTF (Capture the Flag) players who prefer the open source platform Proxmox.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Languages