Skip to content

efe24code/wormgpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🪱 WormGPT v2.0

Cybersecurity AI Assistant

WormGPT is a cybersecurity-focused AI assistant that uses OpenRouter and Hugging Face APIs. It helps with penetration testing, security analysis, vulnerability assessment, and ethical hacking.


✨ Features

Feature Description
🤖 AI Providers OpenRouter (recommended) and Hugging Face support
📝 7 Prompt Templates Default, Pentester, SOC Analyst, Malware Analyst, Network Security, Web App Security, Custom
⚡ Quick Tools SQLi, XSS, Port Scan, OWASP, Hardening, Wireshark
💬 Chat History Auto-save and resume support
📤 Export TXT and JSON format chat export
⌨️ Short Commands !h, !c, !e, !s, !t, !x
🔒 API Key Management Secure storage and masking
🌍 Web UI Full-featured HTML/CSS/JS web version
🖥️ TUI Python terminal version (Windows CMD compatible)

📁 Project Structure

wormgpt/
├── index.html          # Web UI (HTML)
├── style.css           # Web UI styles
├── app.js              # Web UI JavaScript
├── server.js           # Node.js backend (API proxy)
├── package.json        # Node.js project config
│
├── wormgpt_tui.py      # Python TUI application
├── wormgpt_config.json # Prompt templates (dual language EN/TR)
├── setup.py            # Setup script
├── wormgpt_data.json   # Auto-generated (user data)
│
└── README.md           # This file

🚀 Quick Start

Web Version (Node.js)

# Requirements: Node.js >= 18
node server.js
# → http://localhost:3000

TUI Version (Python)

# 1. Setup (first time)
python setup.py

# 2. Run
python wormgpt_tui.py

Language selection is prompted on first run (English / Turkish).


🎮 Usage

Main Menu

╭─────────────────────────────────╮
│ WormGPT v2.0                   │
├─────────────────────────────────┤
│ API Key:    SET                 │
│ Provider:   OpenRouter          │
│ Model:      gemini-2.0-flash    │
│ Prompt:     Default             │
│ Msgs:       0 msgs              │
├─────────────────────────────────┤
│ 1. Start Chat                   │
│ 2. Quick Tools                  │
│ 3. Settings                     │
│ 4. Export Chat                  │
│ 5. Clear Chat                   │
│ 0. Exit                         │
╰─────────────────────────────────╯

Chat Commands

Command Short Description
!help !h Show help menu
!clear !c Clear chat history
!export !e Export chat as TXT/JSON
!settings !s Open settings menu
!tools !t Open quick tools
!exit !x Return to main menu

⚙️ Settings

# Setting Description
1 API Provider OpenRouter or Hugging Face
2 API Key Enter your API key
3 Model Select AI model
4 Custom Model Optional manual model ID
5 System Prompt Custom prompt (overrides template)
6 Prompt Template Choose from predefined templates
7 Language English / Türkçe

🤖 Supported Models

OpenRouter (Free Models)

Model ID
Gemini 2.0 Flash google/gemini-2.0-flash-001
Llama 3.3 70B meta-llama/llama-3.3-70b-instruct
Mistral 7B mistralai/mistral-7b-instruct
Phi-3 Mini microsoft/phi-3-mini-128k-instruct

Hugging Face

Model ID
Mistral 7B v0.3 mistralai/Mistral-7B-Instruct-v0.3
Zephyr 7B HuggingFaceH4/zephyr-7b-beta
Gemma 2 2B google/gemma-2-2b-it

🛡️ Quick Tools

Tool Description
🗄️ SQL Injection SQL injection testing methodology
💻 XSS Cross-Site Scripting prevention
🌐 Port Scan Network port scanning and analysis
📋 OWASP Top 10 OWASP security vulnerabilities
🔒 Hardening Linux server security hardening
📡 Wireshark Network traffic analysis

🔑 Getting an API Key

OpenRouter

  1. Go to openrouter.ai/keys
  2. Create an account or sign in
  3. Click "Create Key" to get a key in sk-or-v1-... format

Hugging Face

  1. Go to huggingface.co/settings/tokens
  2. Create an account or sign in
  3. Click "New token" to get a token in hf_... format

📤 Export

Chat history can be exported in two formats:

  • TXT — Plain text, human-readable format
  • JSON — Structured data, machine-readable format

Files are saved as wormgpt-chat-{timestamp}.txt/json.


🧪 Requirements

Web Version

  • Node.js >= 18.0.0
  • A web browser (Chrome, Firefox, Edge, etc.)

TUI Version

  • Python >= 3.8
  • pip (for requests, rich libraries)

📜 License

MIT — This project is for educational and ethical hacking purposes. Designed for legal use only.


👨‍💻 Developer

EFE — Working on cybersecurity and artificial intelligence.


Warning: This tool is for educational and ethical hacking purposes only. Accessing systems without permission is illegal. The user is responsible for all usage."# wormgt" "# wormgpt"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors