Basic Usage¶
Introduction
This guide covers the most common AtDork commands you'll use daily. Whether you're a security researcher, bug bounty hunter, or OSINT practitioner, these examples will help you get started quickly.
All examples assume you have AtDork installed. If not, see Installation.
Your First Search¶
The simplest command – search for PDF files on government websites:
Explanation:
-
-q– Your search query (dork) -
-r 10– Return up to 10 results
Common Use Cases¶
1. Find Exposed Documents¶
# PDF files on government sites
atdork -q "site:gov filetype:pdf" -r 20
# Excel files on educational sites
atdork -q "site:edu filetype:xls" -r 20
# Config files with passwords
atdork -q 'filetype:env "DB_PASSWORD"' -r 30
2. Find Admin Panels¶
3. Find Directory Listings¶
4. Find Login Pages¶
5. Find WordPress Sites¶
Save Results¶
Save to File¶
Save as JSON¶
Save as CSV¶
Batch Processing¶
Run Multiple Dorks from a File¶
Create dorks.txt:
Then run:
Run Multiple Dorks Inline¶
Use ; as separator:
Filter Vulnerabilities¶
WordPress Detection¶
Show Vulnerability Counts¶
Use Templates (Pre-Built Dorks)¶
List Available Templates¶
Use a Template¶
Preview Template Dorks (Safe Check)¶
Combine Templates¶
Select Specific Dorks¶
Use Proxies (Anonymous)¶
Single Proxy¶
Multiple Proxies from File¶
Tor Integration¶
Run with Resilience (Recommended)¶
For large or automated scans, enable resilience to handle rate limits and blocks:
View History and Resume¶
View Search History¶
Resume Interrupted Batch¶
Export Database¶
Common Flag Reference¶
| Flag | Description | Example |
|------|-------------|---------|
| -q | Your search query | -q "site:gov filetype:pdf" |
| -r | Number of results (1-100) | -r 20 |
| -o | Save to file | -o results.json |
| --format | Output format: txt, json, csv | --format json |
| --batch-file | File with one query per line | --batch-file dorks.txt |
| --filter-vuln | Vulnerability filter | --filter-vuln wordpress |
| --template | Load dork template | --template sqli |
| --proxy-file | Proxy list file | --proxy-file proxies.txt |
| --resilient | Enable rate limit handling | --resilient |
| --verbose, -v | Show results in real-time | -v |
Quick Reference Card¶
| Task | Command |
|------|---------|
| Basic search | atdork -q "dork" -r 20 |
| Save to JSON | atdork -q "dork" -r 20 --format json -o out.json |
| Batch file | atdork --batch-file dorks.txt -r 30 -o out.json |
| Use template | atdork --template sqli --target example.com -r 30 |
| Filter WordPress | atdork -q "inurl:wp-content" --filter-vuln wordpress |
| With proxy | atdork -q "dork" --proxy-file proxies.txt --strict |
| Resilient mode | atdork --batch-file dorks.txt --resilient --adaptive-delay |
| View history | atdork --history |
| Resume batch | atdork --resume |
Next Steps¶
-
Quick Start – Get started in 5 minutes
-
CLI Reference – Complete flag reference
-
Resilience System – Handle rate limits automatically
-
Proxy & Anonymity – Stay anonymous
-
Vulnerability Filter – Find vulnerabilities faster
-
Template System – Use pre-built dorks
-
Batch Processing – Run large scans
-
Output Formats – Export results