get_john_formats
Check available John the Ripper hash formats to identify compatible cracking methods before starting password recovery processes.
Instructions
check available john format before cracking a hash
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/pentestmcp/server.py:255-257 (handler)The handler function for the 'get_john_formats' tool. It executes the command 'john --list=formats' using the run_command helper to list available hash formats supported by John the Ripper.async def get_john_formats(): return run_command(["john","--list=formats"])
- src/pentestmcp/server.py:254-254 (registration)Registration of the 'get_john_formats' tool using the MCP decorator, specifying its name and description.@mcp.tool(name="get_john_formats",description="check available john format before cracking a hash")