百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
B

brainstorm

> AI 编程
开源

一种更智能的 Web 突破工具,它结合了本地 LLM 模型和 ffuf,可优化目录和文件发现

397 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

一种更智能的 Web 突破工具,它结合了本地 LLM 模型和 ffuf,可优化目录和文件发现

brainstorm

A smarter web fuzzing tool that combines local LLM models (via Ollama) and ffuf to optimize directory and file discovery.

I wrote a blog post about the ideas behind this tool: Brainstorm tool release: Optimizing web fuzzing with local LLMs

Short Description

Combines traditional web fuzzing techniques with AI-powered path generation to discover hidden endpoints, files, and directories in web applications.

Screenshot

Long Description

This tool enhances traditional web fuzzing by using local AI language models (via Ollama) to generate intelligent guesses for potential paths and filenames. It works by:

  1. Extracting initial links from the target website
  2. Using AI to analyze the structure and suggest new potential paths
  3. Fuzzing these paths using ffuf
  4. Learning from discoveries to generate more targeted suggestions
  5. Repeat

There are 2 tools:

  • fuzzer.py: Main fuzzer focusing on general path discovery
  • fuzzer_shortname.py: Specialized variant for short filename discovery (e.g., legacy 8.3 format)

Prerequisites

  • Python 3.6+
  • ffuf (https://github.com/ffuf/ffuf)
  • Ollama (https://ollama.ai)
  • Required Python packages (see requirements.txt)

Local Ollama models

By default, the tool is using the model qwen2.5-coder:latest. This model (or other models you want to use) needs to be downloaded first.

bash
ollama pull qwen2.5-coder:latest

Installation

bash
# Clone the repository
git clone https://github.com/Invicti-Security/brainstorm.git
cd brainstorm

# Install Python dependencies
pip install -r requirements.txt

# Ensure ffuf is installed and in your PATH
# Ensure Ollama is running locally on port 11434

Usage

Basic Usage

bash
# Basic fuzzing with default settings
python fuzzer.py "ffuf -w ./fuzz.txt -u http://example.com/FUZZ"

# Short filename fuzzing (specify the 8.3 filename as the last parameter)
python fuzzer_shortname.py "ffuf -w ./fuzz.txt -u http://example.com/FUZZ" "BENCHM~1.PY"

Command Line Options

Main Fuzzer (fuzzer.py)

--debug             Enable debug mode
--cycles N          Number of fuzzing cycles to run (default: 50)
--model NAME        Ollama model to use (default: qwen2.5-coder:latest)
--prompt-file PATH  Path to prompt file (default: prompts/files.txt)
--status-codes LIST Comma-separated list of status codes to consider successful
                   (default: 200,301,302,303,307,308,403,401,500)

Short Filename Fuzzer (fuzzer_shortname.py)

--debug             Enable debug mode
--cycles N          Number of fuzzing cycles to run (default: 50)
--model NAME        Ollama model to use (default: qwen2.5-coder:latest)
--status-codes LIST Comma-separated list of status codes to consider successful

Examples

bash
# Run fuzzing with custom cycles and model
python fuzzer.py "ffuf -w ./fuzz.txt -u http://target.com/FUZZ" --cycles 100 --model llama2:latest

# Run short filename fuzzing targeting a specific file
python fuzzer_shortname.py "ffuf -w ./fuzz.txt -u http://target.com/FUZZ" "document.pdf" --cycles 25

# Benchmark different models and generate HTML report
python benchmark.py

Output

  • Discovered paths are saved to all_links.txt
  • Short filenames are saved to all_filenames.txt
  • Real-time console output shows progress and discoveries

Benchmarking Ollama LLM models

I've compared the most popular local LLM models, you can find the results here.

Issues· 4 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Pythonfuzzinginfosecllmllms

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类AI 编程
定价开源

> 相关工具

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.