Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When using database backend: mention pg_trgm extension to address pg_trgm error #1009

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/user_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion examples/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down