मुख्य सामग्री पर जाएँ
Skillpedia
कनेक्टर (MCP)6.5k · #14016

kali-mcp-bridge

यह क्या करती है

यह स्किल बताती है कि एक ब्रिज कैसे सेट करें और इस्तेमाल करें, जिससे AI एजेंट Kali Linux टेस्टिंग टूल नियंत्रित तरीके से चला सके। यह उन सुरक्षा परीक्षकों के लिए है जो केवल उन्हीं सिस्टम पर काम करते हैं जिन्हें टेस्ट करने की अनुमति है।

कब इस्तेमाल करें

  • ✓जब अधिकृत जाँच में AI एजेंट को संरचित इंटरफ़ेस से Kali टूल चलाने हों।
  • ✓जब परीक्षक की मशीन और Kali सर्वर के बीच सुरक्षित टनल सेट करना हो।
  • ✓जब Kali का टूल आउटपुट AI को दिखाया जाएगा और सुरक्षित संभालने के नियम चाहिए।

Skill का लिंक

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/decepticon/kali-mcp-bridge/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/decepticon/kali-mcp-bridge/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“क्या आप अधिकृत टेस्ट के लिए हमारे AI सहायक को सुरक्षित टनल के ज़रिए Kali सर्वर से जोड़ने में मदद कर सकते हैं?”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट Kali मशीन पर सर्वर सेट करता है, उसे एन्क्रिप्टेड टनल से जोड़ता है, और टूल कॉल एक मानक इंटरफ़ेस से भेजता है जो संरचित नतीजे लौटाता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Kali MCP Bridge — Operator Playbook

Drive Kali Linux tools (nmap, gobuster, sqlmap, metasploit, hydra, john, nikto, enum4linux, raw commands) through a FastMCP bridge during authorized engagements. This skill covers server deployment, SSH tunnel hardening, tool-call interface, and the critical prompt-injection hygiene rules required when Kali output re-enters the AI context.

AUTHORIZED USE ONLY. This skill is for use exclusively on systems you own or have explicit written authorization to test. Unauthorized use is illegal.


1. Architecture

┌──────────────┐    MCP stdio    ┌─────────────────┐    HTTP/REST    ┌──────────────────┐
│ Decepticon   │ ◄────────────► │ client.py (MCP) │ ◄────────────► │ server.py (Kali) │
│ (AI agent)   │                 │ on attacker host│                 │ Flask API :5000  │
└──────────────┘                 └─────────────────┘                 └──────────────────┘
  • server.py: Flask API on Kali, wraps each tool, exposes /api/tools/<tool> and /api/command.
  • client.py: FastMCP server that registers tools and relays calls to server.py via HTTP.
  • AI agent: Calls MCP tools; receives structured JSON output.

2. Deployment

2a. Kali server (on engagement jump box / VM)

# OS package (Kali 2024.1+)
sudo apt install mcp-kali-server
kali-server-mcp --ip 127.0.0.1 --port 5000   # localhost only — NEVER bind 0.0.0.0

# OR bleeding edge
git clone https://github.com/Wh0am123/MCP-Kali-Server.git
cd MCP-Kali-Server
python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
./server.py --ip 127.0.0.1 --port 5000 --debug

Verify health:

curl -s http://127.0.0.1:5000/health | python3 -m json.tool
# Expected: {"status": "healthy", "all_essential_tools_available": true, "tools_status": {...}}

2b. SSH tunnel (when client and server are on different machines)

Always route through SSH — never expose server.py directly on a routable interface.

# On attacker/orchestrator host — forward local :5000 to Kali :5000
ssh -N -L 5000:localhost:5000 <user>@<KALI_IP>

# Keep tunnel alive for long engagements
ssh -N -o ServerAliveInterval=60 -o ServerAliveCountMax=3 \
    -L 5000:localhost:5000 <user>@<KALI_IP>

2c. MCP client registration (Claude Desktop / Decepticon)

claude_desktop_config.json or equivalent:

{
  "mcpServers": {
    "kali": {
      "command": "python3",
      "args": ["/abs/path/to/client.py", "--server", "http://127.0.0.1:5000"],
      "timeout": 300
    }
  }
}

3. Tool Call Reference

All tools return {"success": bool, "output": str, ...}. Check success before using output.

3.1 nmap_scan

target: str           # IP, hostname, CIDR
scan_type: str        # "-sV" (default), "-sS", "-sU", "-sC", "-A"
ports: str            # "22,80,443" or "1-1024" (empty = default)
additional_args: str  # "-T2 -oX /tmp/scan.xml"

3.2 gobuster_scan

url: str              # "http://target.local"
mode: str             # "dir" (default), "dns", "vhost", "fuzz"
wordlist: str         # "/usr/share/wordlists/dirb/common.txt"
additional_args: str  # "-x php,html -o /tmp/gobuster.txt"

3.3 dirb_scan

url: str
wordlist: str
additional_args: str  # "-r -z 100"    (-z = ms delay between requests)

3.4 nikto_scan

target: str           # URL or IP
additional_args: str  # "-Tuning 1234" (1=files, 2=misconfigs, 3=info, 4=inject)

3.5 sqlmap_scan

url: str              # "http://target/page?id=1"
data: str             # POST body: "user=foo&pass=bar" (empty for GET)
additional_args: str  # "--level=3 --risk=2 --batch --dbs"

3.6 metasploit_run

module: str           # "auxiliary/scanner/portscan/tcp"
options: dict         # {"RHOSTS": "10.0.0.1", "PORTS": "22,80"}

Common module patterns:

# SMB version detection
module: "auxiliary/scanner/smb/smb_version"
options: {"RHOSTS": "<target>", "THREADS": "4"}

# EternalBlue check (scan only — do NOT exploit without explicit RoE auth)
module: "auxiliary/scanner/smb/smb_ms17_010"
options: {"RHOSTS": "<target>"}

3.7 hydra_attack

target: str           # IP or hostname
service: str          # "ssh", "ftp", "http-post-form", "smb"
username: str         # single user (mutually exclusive with username_file)
username_file: str    # path to userlist
password: str         # single pass
password_file: str    # "/usr/share/wordlists/rockyou.txt"
additional_args: str  # "-t 4 -V" (
अक्सर पूछे जाने वाले सवाल

क्या इसे किसी भी सिस्टम पर इस्तेमाल कर सकते हैं?

नहीं। स्किल केवल उन सिस्टम के लिए है जिनके आप मालिक हैं या जिन्हें टेस्ट करने की लिखित अनुमति है।

टनल सेटअप क्यों मायने रखता है?

स्किल कहती है कि Kali सर्वर को localhost से बाँधकर रखें और केवल सुरक्षित टनल से पहुँच दें।

prompt-injection से बचाव क्या है?

टूल आउटपुट संभालने के नियम, ताकि स्कैन नतीजों में लिखा टेक्स्ट AI को न भटका सके।

जानकारी

लेखक का मूल विवरण

Deploy and drive Kali Linux tools via MCP-Kali-Server — structured tool-call interface, SSH tunnel setup, prompt-injection hygiene for AI-assisted engagements.

repo: BitterSecurity/Decepticon

लोकप्रियता

GitHub स्टार
6.5k
रैंकिंग में स्थान
#14016
लाइसेंस
Apache-2.0
अपडेट की गई
1/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

detector-overview

6.5k

यह आपके एजेंट को स्कैनर से चिह्नित कोड पढ़ने और तय करने में मदद करती है कि कौन सी जगहें असली सुरक्षा बग हैं और कौन सी गलत चेतावनी।

कोडिंगसिक्योरिटी

exploiter-overview

6.5k

यह आपके एजेंट को कई पक्की सुरक्षा कमज़ोरियों को एक परीक्षण श्रृंखला में जोड़ने और जाँचने में मदद करती है कि वह श्रृंखला कितनी दूर तक पहुँच सकती है।

कोडिंगसिक्योरिटी

llm-redteam-overview

6.5k

यह आपके एजेंट को परीक्षण के लिए सही AI रेड-टीम गाइड खोजने में मदद करती है, प्रॉम्प्ट इंजेक्शन से लेकर मॉडल के दुरुपयोग तक 15 रणनीति समूहों में।

कोडिंगसिक्योरिटी

aatmf-t01-prompt-injection

6.5k

समझाती है कि प्रॉम्प्ट इंजेक्शन क्या है, जिसमें छिपे निर्देश AI सिस्टम के नियम बदलने की कोशिश करते हैं, ताकि सुरक्षा परीक्षक उसकी जाँच कर सकें।

कोडिंगसिक्योरिटी

मिलती-जुलती skills