This guide documents every Waymap CLI option with usage examples.
# Basic scan
a) python waymap.py --target https://example.com --scan xss --crawl 2
# Full scan with reports
b) python waymap.py --target https://example.com --scan all --report-format html,csv --output-dir reports
# Multi-target scan
c) python waymap.py --multi-target targets.txt --scan sqli
# API scan (REST / GraphQL)
d) python waymap.py --target https://api.example.com --scan api --api-type rest
e) python waymap.py --target https://api.example.com/graphql --scan api --api-type graphql
# WordPress profile
f) python waymap.py --target https://example.com --profile wordpress
# Google dork discovery
g) python waymap.py --dork "inurl:.php?id="python waymap.py [--target URL | --multi-target FILE] [--scan TYPE] [--crawl N] [--threads N]
[--profile wordpress]
[--technique BET]
[--api-type rest|graphql] [--api-endpoints /users,/login]
[--auth-type form|basic|digest|bearer|api_key]
[--auth-url URL] [--username USER] [--password PASS]
[--token TOKEN] [--auth-header HEADER]
[--report-format html,csv,markdown,pdf] [--output-dir DIR]
[--dork "query"] [--dork-api-key KEY] [--dork-output FILE]
[--wpscan-token TOKEN]
[--check-waf] [--waf URL] [--check-updates]
[--no-prompt] [--verbose]Single target URL to scan.
python waymap.py --target https://example.com --scan reconFile containing one target URL per line.
python waymap.py --multi-target targets.txt --scan misconfigSelect a scan type.
Standard / Core scans:
sqlixsscmdircesstilfiopen-redirectcrlfcorsapiall
Module-based scans:
reconmisconfigredirectinjection-advancedgraphql-suiteauth-logiccache-smugglingwordpress-extrasoptional
Examples:
python waymap.py --target https://example.com --scan recon
python waymap.py --target https://example.com --scan injection-advanced
python waymap.py --target https://example.com --scan cache-smugglingCrawl depth for target discovery (0–10).
python waymap.py --target https://example.com --scan xss --crawl 3Thread count for scan operations.
python waymap.py --target https://example.com --scan all --threads 4SQLi technique string:
B(boolean)E(error)T(time)
python waymap.py --target "https://example.com/page.php?id=1" --scan sqli --technique BETRun a scan profile.
wordpress
python waymap.py --target https://example.com --profile wordpressSupported auth modes:
formbasicdigestbearerapi_key
Login URL for form authentication.
Credentials for form/basic/digest auth.
Bearer token or API key value.
Header name for API key authentication (default: X-API-Key).
Examples:
# Form auth
python waymap.py --target https://example.com --scan all \
--auth-type form --auth-url https://example.com/login \
--username admin --password pass
# Bearer token
python waymap.py --target https://example.com --scan api \
--auth-type bearer --token "YOUR_TOKEN"
# API key
python waymap.py --target https://example.com --scan api \
--auth-type api_key --token "API_KEY" --auth-header "X-API-Key"Enable the API scanner.
restgraphql
Comma-separated REST endpoints.
Examples:
# REST API scan
python waymap.py --target https://api.example.com --scan api --api-type rest
# GraphQL API scan
python waymap.py --target https://api.example.com/graphql --scan api --api-type graphql
# REST scan with explicit endpoints
python waymap.py --target https://api.example.com --scan api --api-type rest \
--api-endpoints /users,/login,/tokensRun a SearchAPI-powered Google dork.
SearchAPI key override. If omitted, Waymap looks in:
SEARCHAPI_API_KEYenv varconfig/waymap/secrets.json(searchapi_api_key)
Save discovered URLs to a custom file.
Examples:
python waymap.py --dork "inurl:.php?id="
python waymap.py --dork "site:example.com inurl:?" --dork-output custom_targets.txtToken for WPScan API usage in WordPress profiles.
python waymap.py --target https://example.com --profile wordpress --wpscan-token "TOKEN"Detect WAF on --target.
Check WAF for a specific URL.
python waymap.py --target https://example.com --check-waf
python waymap.py --waf https://example.comComma-separated formats: html, csv, markdown, pdf.
Directory to store reports (default: reports).
python waymap.py --target https://example.com --scan all \
--report-format html,csv,markdown --output-dir reportsCheck for new Waymap versions.
python waymap.py --check-updatesDisable interactive confirmation prompts.
python waymap.py --target https://example.com --scan all --no-promptVerbose output.
python waymap.py --target https://example.com --scan recon --verbose- Session data is stored in:
sessions/<domain>/waymap_full_results.json
python waymap.py --help