diff --git a/doc/user_guide.md b/doc/user_guide.md index b72181515..54d6b3fa9 100644 --- a/doc/user_guide.md +++ b/doc/user_guide.md @@ -292,6 +292,7 @@ Once you have the postgres server running on your machine and access to the psql ```bash psql postgres://username:password@localhost:5432/ -c "CREATE DATABASE assetdb" psql postgres://username:password@localhost:5432/ -c "ALTER DATABASE assetdb SET TIMEZONE to 'UTC'" +psql postgres://username:password@localhost:5432/assetdb -c "CREATE EXTENSION IF NOT EXISTS pg_trgm;" ``` Now you can add the following setting into your Amass `config.yaml` file for storing and analyzing attack surface discoveries using PostgreSQL: diff --git a/examples/config.yaml b/examples/config.yaml index ae60a5c5e..4e44ad16a 100644 --- a/examples/config.yaml +++ b/examples/config.yaml @@ -25,7 +25,7 @@ options: wordlist: # global wordlist(s) to uses - "./wordlists/deepmagic.com_top50kprefixes.txt" - "./wordlists/deepmagic.com_top500prefixes.txt" - database: "postgres://username:password@localhost:5432/database?testing=works" # databases URI to be used when adding entries + database: "postgres://username:password@localhost:5432/assetdb?testing=works" # databases URI to be used when adding entries bruteforce: # specific option to use when brute forcing is needed enabled: true wordlists: # wordlist(s) to use that are specific to brute forcing