Home - SethBodine/audit-tools GitHub Wiki

Podman Install

MACOS

xcode-select --install  # Required
brew install podman     # Install Podman

Other OSs

See Podman Install Documentation for other OS information

Prepare Podman

podman machine init --now --cpus=4 --memory=4096 \
       --timezone $(curl https://ipapi.co/timezone) --disk-size 50 \
       # all args are optional, but a minimum of 4GB of RAM is recommended (Prowler 3 can crash with less)
podman machine start    # only use if --now wasn't used, can be used to start the VM at a later stage after a reboot

Note: Drive Mapping is now supported and available as part of the below execution. Container storage is still NOT persistant.

Start the Container

Mount local ~/Documents to /output in the container

tmp_fol=$(mktemp -d)
wget https://raw.githubusercontent.com/SethBodine/audit-tools/main/pm-init.sh -O ${tmp_fol}/pm-init.sh
bash ${tmp_fol}/pm-init.sh

Mount local /tmp to /output in the container

tmp_fol=$(mktemp -d)
wget https://raw.githubusercontent.com/SethBodine/audit-tools/main/pm-init.sh -O ${tmp_fol}/pm-init.sh
AUDIT_OUTPUT_DIR="/tmp" bash ${tmp_fol}/pm-init.sh