Skip to content

CrackQ Configuration

f0cker edited this page Dec 20, 2023 · 7 revisions

CrackQ Config

Before running the application for the first time the config file ./crackq/cfg/crackq.conf will need to be completed relevant to the installation environment, setting the paths to the required files for cracking. The following changes are required before running the application for the first time:

[wordlists]
leaks: /var/crackq/files/leaks.txt

The default hashcat rules will be automatically setup and included within the config file.

You will also want to change the application's secret keys under [app]:

[app]
SECRET_KEY: sz7UWKnhfyOT--HqFdd4fKCtiJBXuxghIGCkuncUERE

You can use the following commands to generate secure keys:

python3 -c 'import secrets; print(secrets.token_urlsafe())'

Put your wordlists in /var/crackq/files, then move your modified config file there too:

sudo cp cfg/crackq.conf /var/crackq/files/
sudo chown crackq:crackq /var/crackq/files/crackq.conf
sudo chmod 640 /var/crackq/files/crackq.conf

Then modify the config file to your needs, specifically pointing it to your wordlists and any additional rules.