search_hacktricks
Search HackTricks documentation for pentesting techniques and exploits. Returns results grouped by file with page titles, match counts, and relevant sections.
Instructions
Search HackTricks for pentesting techniques, exploits, and security info. Returns results GROUPED BY FILE with: page title, match count, relevant sections, and top matches. WORKFLOW: search → get_hacktricks_outline (see structure) → get_hacktricks_section (read specific part). ALWAYS use category filter when possible - saves time and tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search term. Be specific (e.g., 'SUID privilege escalation' not just 'privilege'). Supports regex. | |
| category | No | STRONGLY RECOMMENDED. Common categories: 'pentesting-web' (XSS,SQLi,SSRF), 'linux-hardening' (privesc,capabilities), 'network-services-pentesting' (SMB,FTP,SSH), 'windows-hardening', 'mobile-pentesting', 'cloud-security'. Use list_hacktricks_categories to see all. | |
| limit | No | Max files to return (default: 20). Lower = faster. Set to 5 for quick lookups. |