MCPcopy Index your code
hub / github.com/Michaeladsl/Patronusx

github.com/Michaeladsl/Patronusx @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
350 symbols 981 edges 8 files 4 documented · 1%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Patronus

Patronus was designed with penetration testers in mind! This dynamic tool captures command line inputs during security assessments, meticulously redacts any sensitive information, and organizes the data by command type. All the organized commands are then displayed through a user-friendly, interactive web interface, making it easy to review and manage. With Patronus, penetration testers can cast away the shadows of data mishandling and ensure a secure and streamlined workflow.

This tool is still a work in progress, any feedback is welcomed

Usage

Install with pipx

pipx install git+https://github.com/Michaeladsl/Patronusx

When performing the on command for the first time, if Asciinema is not installed it will download it for you.

Configure your zsh environment for automatic recordings.

patronus on
patronus off

pull_on

By default, patronus will run the redact, split, and server scripts. This redacts any recordings in the full directory, splits the newly redacted files into individual command recordings, and launches the flask server.

patronus

demo1

directories

The web browser easily sorts by command and allows the user to delete the recording or copy any text out of the displayed recording and redact that information.

serverexample

Patronus allows for individual running of tools

patronus --run redact,split,server,config

Recordings

The scripts look for the necessary files in the static directory when running. If configuring outside of using the 'on' option, make sure the full scritps are stored in static/full and create the static/redacted_full and the static/splits directories.

Core symbols most depended-on inside this repo

decode
called by 12
edit.py
run_script
called by 4
patronus.py
write_status
called by 4
split.py
clean_filename
called by 4
split.py
get_directory_size
called by 4
server.py
get_cast_files
called by 3
server.py
encode
called by 3
edit.py
find_script_path
called by 2
patronus.py

Shape

Function 198
Method 104
Class 37
Route 11

Languages

TypeScript78%
Python22%

Modules by API surface

static/asciinema-player.min.js272 symbols
server.py31 symbols
split.py18 symbols
edit.py14 symbols
patronus.py9 symbols
redact.py5 symbols
setup.py1 symbols

For agents

$ claude mcp add Patronusx \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact