Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
F

ffufai

> 编程语言
Open source

AI-powered ffuf wrapper

798 stars0 likes0 views
WebsiteGitHub

About

AI-powered ffuf wrapper

Features

  • Seamlessly integrates with ffuf
  • Automatically suggests relevant file extensions for fuzzing
  • Supports both OpenAI and Anthropic AI models
  • Passes through all ffuf parameters

Prerequisites

  • Python 3.6+
  • ffuf (installed and accessible in your PATH)
  • An OpenAI API key or Anthropic API key

Installation

  1. Clone this repository:

    bash
    git clone https://github.com/jthack/ffufai
    cd ffufai
  2. Install the required Python packages:

    bash
    pip install requests openai anthropic
  3. Make the script executable:

    chmod +x ffufai.py
  4. (Optional) To use ffufai from anywhere, you can create a symbolic link in a directory that's in your PATH. For example:

    bash
    sudo ln -s /full/path/to/ffufai.py /usr/local/bin/ffufai

    Replace "/full/path/to/ffufai.py" with the actual full path to where you cloned the repository.

  5. Set up your API key as an environment variable: For OpenAI:

    bash
    export OPENAI_API_KEY='your-api-key-here'

    Or for Anthropic:

    bash
    export ANTHROPIC_API_KEY='your-api-key-here'

    You can add these lines to your ~/.bashrc or ~/.zshrc file to make them permanent.

Usage

Use ffufai just like you would use ffuf, but replace ffuf with python3 ffufai.py (or just ffufai if you've created the symbolic link):

python3 ffufai.py -u https://example.com/FUZZ -w /path/to/wordlist.txt

Or if you've created the symbolic link:

ffufai -u https://example.com/FUZZ -w /path/to/wordlist.txt

ffufai will automatically suggest extensions based on the URL and add them to the ffuf command.

Parameters

ffufai accepts all the parameters that ffuf does, plus a few additional ones:

  • --ffuf-path: Specifies the path to the ffuf executable. Default is 'ffuf'.
    Example: ffufai --ffuf-path /usr/local/bin/ffuf -u https://example.com/FUZZ -w wordlist.txt

  • --max-extensions: Sets the maximum number of extensions to suggest. Default is 4.
    Example: ffufai --max-extensions 6 -u https://example.com/FUZZ -w wordlist.txt

  • -u: Specifies the target URL. This parameter is required and should include the FUZZ keyword.
    Example: ffufai -u https://example.com/FUZZ -w wordlist.txt

  • -w: Specifies the wordlist to use for fuzzing. This is a standard ffuf parameter.
    Example: ffufai -u https://example.com/FUZZ -w /path/to/wordlist.txt

All other ffuf parameters can be used as normal. For a full list of ffuf parameters, refer to the ffuf documentation.

Notes

  • ffufai requires the FUZZ keyword to be at the end of the URL path for accurate extension suggestion. It will warn you if this is not the case.
  • All ffuf parameters are passed through to ffuf, so you can use any ffuf option with ffufai.
  • If both OpenAI and Anthropic API keys are set, ffufai will prefer the OpenAI key.

HUGE Shoutout to zlz, aka Sam Curry, for the amazing idea to make this project. He suggested it and 2 hours later, here it is :)

Troubleshooting

  • If you encounter a "command not found" error, make sure you're using python3 ffufai.py or that you've correctly set up the symbolic link.
  • If you get an API key error, ensure you've correctly set up your OPENAI_API_KEY or ANTHROPIC_API_KEY environment variable.
  • If you see "import: command not found" errors, it means the script is being interpreted by the shell instead of Python. Make sure you're running it with python3 ffufai.py or that the shebang line at the top of the script is correct.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Issues· 11 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Python

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言