There are 3 ways to provide credentials to Mind_Finder. Pick the method that works best for you!
cd /home/kali/Git/MindSeeker_Suite
cp config.yaml.example config.yaml
nano config.yaml # or vi, vim, code, etc.github:
token: "ghp_YOUR_ACTUAL_TOKEN_HERE"
google:
api_key: "YOUR_GOOGLE_API_KEY"
cse_id: "YOUR_CSE_ID"
# Optional
gitlab:
token: "glpat_YOUR_TOKEN"python3 Mind_Finder.py -c PayPal -d paypal.comBenefit: Easy to read, organized, supports comments
cd /home/kali/Git/MindSeeker_Suite
cp .env.example .env
nano .envGITHUB_TOKEN=ghp_YOUR_ACTUAL_TOKEN_HERE
GOOGLE_CSE_API_KEY=YOUR_GOOGLE_API_KEY
GOOGLE_CSE_ID=YOUR_CSE_ID
# Optional
GITLAB_TOKEN=glpat_YOUR_TOKEN
LINKEDIN_EMAIL=your@email.com
LINKEDIN_PASSWORD=yourpasswordpython3 Mind_Finder.py -c PayPal -d paypal.comBenefit: Simple, works without PyYAML library
export GITHUB_TOKEN=ghp_YOUR_ACTUAL_TOKEN_HERE
export GOOGLE_CSE_API_KEY=YOUR_GOOGLE_API_KEY
export GOOGLE_CSE_ID=YOUR_CSE_IDecho 'export GITHUB_TOKEN=ghp_YOUR_ACTUAL_TOKEN_HERE' >> ~/.bashrc
source ~/.bashrcpython3 Mind_Finder.py -c PayPal -d paypal.comBenefit: Works system-wide, no files needed
If you have credentials in multiple places, Mind_Finder uses this priority:
- config.yaml (highest priority)
- .env file
- Environment variables (lowest priority)
Example: If you have GITHUB_TOKEN in both config.yaml and .env, the config.yaml value will be used.
✅ Safe files (can commit to git):
.env.exampleconfig.yaml.example
❌ NEVER commit these (already in .gitignore):
.envconfig.yaml- Any file with real credentials
For GitHub only (minimum to run the tool):
# Option A: config.yaml
cp config.yaml.example config.yaml
# Edit config.yaml and add your GitHub token
# Option B: .env
cp .env.example .env
# Edit .env and add GITHUB_TOKEN=your_token
# Option C: Environment variable
export GITHUB_TOKEN=ghp_your_token_hereThen run:
python3 Mind_Finder.py -c TestCompany -d test.com# For config.yaml support
pip3 install pyyaml
# For .env support (with auto-loading)
pip3 install python-dotenvNote: The tool works WITHOUT these libraries - it has built-in parsers as fallback!
"No credentials loaded"
- Check your file is named exactly
.envorconfig.yaml(not.env.txtorconfig.yaml.example) - Make sure the file is in the same directory as Mind_Finder.py
- Verify credentials don't have placeholder values like
"ghp_your_github_token_here"
"YAML not found" warning
- This is normal if you don't have PyYAML installed
- The tool will try .env instead
- To install:
pip3 install pyyaml
Credentials not working
- Verify your GitHub token is valid:
curl -H "Authorization: token YOUR_TOKEN" https://api.github.com/user - Check for typos in token
- Make sure token has correct scopes (see CREDENTIALS_SETUP.md)
- Test your setup:
python3 Mind_Finder.py -c Slack -d slack.com - Set up Google CSE (for 300% more results): See CREDENTIALS_SETUP.md
- Run on real target:
python3 Mind_Finder.py -c YourTarget -d target.com
Need detailed credential setup instructions? See CREDENTIALS_SETUP.md