Read HackTricks Page
hacktricks_get_pageRetrieve HackTricks page content by path, returning an outline plus text, a specific section, or only code blocks for token-efficient security research.
Instructions
Retrieve content of a HackTricks page found via hacktricks_search. By default returns the page outline plus content (truncated if very long). Use section= to read one section by heading name, or codeOnly=true to get just the commands/payloads. This is the token-efficient way to consume long pages.
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": {
"path": "<path>"
},
"name": "hacktricks_get_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Page path from hacktricks_search (e.g. 'windows-hardening/active-directory-methodology/kerberoast.md'). Unique suffixes like 'kerberoast' also work. | |
| section | No | Optional heading name to extract just that section (case-insensitive substring match) | |
| codeOnly | No | If true, return only fenced code blocks (commands/payloads) from the page or section |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| path | Yes | ||
| title | Yes | ||
| content | Yes | ||
| outline | Yes | ||
| truncated | Yes |