Skip to content

CAT-CERT/PwnAutomator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PwnAutomator


Summary

  • CTF Pwnable Auto Solver

How to run

  1. You must have gdb-peda

  2. pip install fastmcp pwntools

  3. Download ghidra in mcps directory (FYI : https://dokhakdubini.tistory.com/564)

    • https://github.com/NationalSecurityAgency/ghidra/releases
  4. Add this in mcp config file

    "ghidra-mcp": {
      "command": "[python Directory]",
      "args": [
        "[wrapper.py Directory]"
      ]
    }
  • These files have to run in Ubuntu, so HOST IP will be your wsl or ubuntu ip.
  1. Move Target Binary to mcps/test & mcps/pwntools_tools/server/challenge

  2. Fast run

./run_ghidra_server.sh
  1. Individual exec If you have to run these files individually for some reason, use these.
  • Static Debugging : use 9999 port
./ghidra_12.0.2_PUBLIC/support/analyzeHeadless challenge test \
  -process chall \
  -scriptPath ./ghidra_tools/server \
  -postScript ghidra_server.py
  • Dynamic Debugging : use 19090 port
python3 debug_bridge/server.py --host 0.0.0.0 --port 19090
  1. Close Server
  • Just Ctrl + C. run_ghidra_server.sh will clear backup files and cache folders.

About

CAT-Security Pwnable Auto Solver LLM Dev Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors