scan
Run security scans against Firebase services.
Usage
bash
scan [scan-types] [options]Traditional scans
bash
scan --rtdb # Realtime Database
scan --firestore # Firestore
scan --storage # Cloud Storage
scan --functions # Cloud Functions
scan --hosting # Hosting config
scan --all # All traditional scansAdvanced scans
bash
scan --unauth # Unauthenticated testing
scan --write --test # Write permission testing
scan --rules --test # Security rules validation
scan --authattack --audit # Authentication attacks
scan --storage-sec --test # Storage security
scan --services # Services enumeration
scan --mgmt-api --test # Management APIOptions
-l <wordlist>
Specify wordlist for enumeration.
bash
scan --rtdb -l users # Use 'users' wordlist
scan --rtdb -l all # Use all wordlists
scan --rtdb -l /path/to/list # Custom fileBuilt-in wordlists:
users- 45+ user-related termsconfig- 60+ configuration termspasswords- 50+ auth-related termsfunctions- 80+ function namesdatabase- 70+ database pathsstorage- 40+ storage pathssecurity- 40+ admin/security termsall- All wordlists combined (200+ terms)
Default: all
-c <number>
Set concurrency (number of workers).
bash
scan --all -c 100 # Fast
scan --all -c 10 # StealthyRange: 1-1000 Default: 50
--rate-limit <number>
Limit requests per second.
bash
scan --all --rate-limit 10 # 10 req/sec
scan --all --rate-limit 0 # UnlimitedDefault: 0 (unlimited)
--json
Output results in JSON format.
bash
scan --all --json
scan --all --json > results.json--test
Enable test mode (safe writes).
bash
scan --write --test
scan --rules --rtdb --firestore --test--audit
Enable audit mode (deep testing).
bash
scan --authattack --auditRequires typing confirmation: I UNDERSTAND THE RISKS
Examples
Quick scan
bash
scan --allTargeted enumeration
bash
scan --rtdb --firestore -l usersUnauthenticated testing
bash
scan --unauthWrite permission testing
bash
scan --write --testStealthy scan
bash
scan --all -c 10 --rate-limit 5JSON output
bash
scan --all --json > results.jsonOutput
Finding format
[RTDB] Vulnerability Found!
├── Timestamp: 2025-01-15T10:23:45Z
├── Severity: High
├── Type: RTDB
└── Path: usersSeverity levels
- Critical: Unauthenticated access
- High: Authenticated over-privilege
- Medium: Information disclosure
- Low: Informational
Progress indicator
[|] Scanning... [Checked: 45/200 | Found: 3]See also
- Scan Types - Detailed scan type documentation
- Safety Modes - Probe/test/audit modes
