Gemini Recon & Orchestration System for Secure Operations
This project automates LLM prompting for all files in a challenge directory, enabling fast vulnerability analysis and exploit generation in Attack-Defense CTFs.
A
.envfile containing valid Gemini API keys is required to run this tool.
pip install -r requirements.txt
python3 auto_prompter.py -p PATH [-ms MAXSIZE] [-t TIMEOUT]- PATH: The path of the directory that contains the challenge's files (required)
- MAXSIZE: Maximum size (in kilobytes) allowed for a single file to be included in the prompt (optional, default: 30 KB)
- TIMEOUT: Maximum time (in seconds) to wait for the first response. If timeout expires, script switches to another model (optional, default: 300 seconds)
- Esc + Enter: Insert a newline in the prompt
- Ctrl + X: Copy the code of the last generated exploit