hakrawler_crawl
Discover web endpoints and URLs by crawling a target URL with configurable depth, forms, robots, sitemap, and Wayback options.
Instructions
Execute Hakrawler for web endpoint discovery with enhanced logging.
Note: Uses standard Kali Linux hakrawler (hakluke/hakrawler) with parameter mapping:
url: Piped via echo to stdin (not -url flag)
depth: Mapped to -d flag (not -depth)
forms: Mapped to -s flag for showing sources
robots/sitemap/wayback: Mapped to -subs for subdomain inclusion
Always includes -u for unique URLs
Args: url: Target URL to crawl depth: Crawling depth (mapped to -d) forms: Include forms in crawling (mapped to -s) robots: Check robots.txt (mapped to -subs) sitemap: Check sitemap.xml (mapped to -subs) wayback: Use Wayback Machine (mapped to -subs) additional_args: Additional Hakrawler arguments
Returns: Web endpoint discovery results
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "hakrawler_crawl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| depth | No | ||
| forms | No | ||
| robots | No | ||
| sitemap | No | ||
| wayback | No | ||
| additional_args | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |