Skip to content

Instantly share code, notes, and snippets.

@piratecarrot
Last active September 28, 2021 12:04
Show Gist options
  • Save piratecarrot/7bcdece2a15df605815486ecb63ccf16 to your computer and use it in GitHub Desktop.
Save piratecarrot/7bcdece2a15df605815486ecb63ccf16 to your computer and use it in GitHub Desktop.
Metasploit installation on Arch with PostgreSQL Docker
# I use yay package manager on Arch
# This also assumes you have a Docker environment already setup
yay -S metasploit ruby-irb rubygems ruby-bundler
docker run --name postgres-metasploit -d -p 5432:5432 -e POSTGRES_PASSWORD=mysuperpassword postgres:alpine
msfdb --connection-string=postgresql://postgres:mysuperpassword@localhost:5432/postgres reinit --component database
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment