An open API service indexing awesome lists of open source software.

https://github.com/vandycknick/pentest-playbooks

Collection of playbooks to configure my pentest VMs (Offsec, HTB, ...)
https://github.com/vandycknick/pentest-playbooks

Last synced: 3 months ago
JSON representation

Collection of playbooks to configure my pentest VMs (Offsec, HTB, ...)

Awesome Lists containing this project

README

        

# Pentest Playbooks

Before getting instarted install ansible dependencies with ansible galaxy:

```sh
ansible-galaxy install -r requirements.yml --force
```

## Creating the base base-image

Run the `build.yml` playbook.

```sh
ansible-playbook build.yml
```

## Configure a VM

Run the `main.yml` playbook.

```sh
ansible-playbook main.yml --ask-vault-pass --ask-become-pass
```

## Manage VM lifecycle

Starting the vm
```sh
virsh start hack-the-box
```

Stop the vm
```sh
virsh shutdown hack-the-box
```

Open VM window
```sh
virt-viewer hack-the-box -a -w
```

## Todo
- Allow having multiple backing stores base-image -> pentest-base -> htb or base-image -> pentest-base -> oscp