spawn_db is a small bash script which pulls docker images for various databases and spawn a local instance that is ready to use.
This comes particularly useful when investigating SQL injections, to quickly lab up and get back to focusing on exploitation.
At the moment, the following databases are supported:
- EnterpriseDB
- MySQL
- Microsoft SQL
- Oracle Database
- Postgres SQL
- sqlite3
alexa@deadbeef:~ []
22:22 > spawn_db -h
====================
== spawn_db ==
====================
Usage:
$ spawn_db.sh [mssql | mysql | oracle | postgres | sqlite3 | enterprisedb]
- docker
- openssl (Used to generate random passwords)
For Windows users, an easy workflow can be to use the script on WSL2