apktool
Android APK unpacking and resource extraction tool for reverse engineering. Use when you need to decode APK files, extract…
Professional network reconnaissance and port scanning using nmap. Supports various scan types (quick, full, UDP, stealth), service detection, vulnerability scanning, and NSE scripts. Use when you need to enumerate network services, detect versions, or perform network
Claude Code
$ npx -y skills add brownfinesecurity/iothackbot --skill nmap --agent claude-code
Codex
$ npx skills add brownfinesecurity/iothackbot --skill nmap -a codex -y
Cursor
$ npx skills add brownfinesecurity/iothackbot --skill nmap -a cursor -y
Gemini CLI
$ npx skills add brownfinesecurity/iothackbot --skill nmap -a gemini-cli -y
GitHub Copilot
$ npx skills add brownfinesecurity/iothackbot --skill nmap -a github-copilot -y
OpenCode
$ npx skills add brownfinesecurity/iothackbot --skill nmap -a opencode -y
Windsurf
$ npx skills add brownfinesecurity/iothackbot --skill nmap -a windsurf -y
name: nmap description: Professional network reconnaissance and port scanning using nmap. Supports various scan types (quick, full, UDP, stealth), service detection, vulnerability scanning, and NSE scripts. Use when you need to enumerate network services, detect versions, or perform network reconnaissance.
You are helping the user perform professional network reconnaissance and port scanning using nmap. This skill provides guidance for various scan types, output formats, and result analysis.
nmap-output/ ├── nmap-portscan.nmap # Initial fast port discovery ├── nmap-portscan.xml ├── nmap-portscan.gnmap ├── nmap-services.nmap # Detailed service detection on open ports ├── nmap-services.xml └── nmap-services.gnmap
**IMPORTANT**: Always save nmap output to an organized directory structure. By default, use `./nmap-output/` or specify a custom directory.
**IMPORTANT**: Unless the user explicitly requests a different scan type, ALWAYS use this two-phase approach:
sudo nmap -p- <target> -oA <output-dir>/nmap-portscan
**Host Down Detection**: If the scan output contains "Note: Host seems down", automatically retry with:
sudo nmap -p- -Pn <target> -oA <output-dir>/nmap-portscan
After Phase 1 completes, parse the open ports and run:
nmap -p <OPEN_PORT_LIST> -sV -sC <target> -oA <output-dir>/nmap-services
1. **Speed**: Fast SYN scan finds all open ports in 1-3 minutes 2. **Thoroughness**: Covers all 65535 ports, not just top 1000 3. **Efficiency**: Service detection only runs on confirmed open ports 4. **Accuracy**: Two-phase approach reduces false negatives
After Phase 1, extract open ports using:
# Extract open ports from .gnmap file grep "Ports:" <output-dir>/nmap-portscan.gnmap | sed 's/.*Ports: //' | tr ',' '\n' | grep '/open/' | cut -d'/' -f1 | tr -d ' ' | tr '\n' ',' | sed 's/,$//'
Or parse from .nmap file (matches the STATE column exactly, so `open|filtered` ports are excluded):
awk '$2=="open"{split($1,p,"/"); ports=ports sep p[1]; sep=","} END{print ports}' <output-dir>/nmap-portscan.nmapWhen the nmap-scan skill is invoked:
1. **Create output directory**
OUTPUT_DIR="./nmap-output" mkdir -p "$OUTPUT_DIR"
2. **Run Phase 1: Fast port discovery**
sudo nmap -p- <target> -oA "$OUTPUT_DIR/nmap-portscan"
3. **Check for "Host seems down" error**
if grep -q "Host seems down" "$OUTPUT_DIR/nmap-portscan.nmap"; then
echo "Host appears down, retrying with -Pn flag..."
sudo nmap -p- -Pn <target> -oA "$OUTPUT_DIR/nmap-portscan"
fi4. **Parse open ports from results**
OPEN_PORTS=$(awk '$2=="open"{split($1,p,"/"); ports=ports sep p[1]; sep=","} END{print ports}' "$OUTPUT_DIR/nmap-portscan.nmap")5. **Run Phase 2: Service detection on open ports**
if [ -n "$OPEN_PORTS" ]; then
nmap -p "$OPEN_PORTS" -sV -sC <target> -oA "$OUTPUT_DIR/nmap-services"
else
echo "No open ports found, skipping service detection."
fi6. **Report results location**
echo "Scan complete. Results saved to: $OUTPUT_DIR"
Use for initial reconnaissance, when time is limited, or only when the user explicitly requests a quick/fast scan instead of the default two-phase strategy:
nmap -sV -sC <target> -oA <output-prefix>
Use for thorough assessment when all ports must be checked:
nmap -sV -sC -p- <target> -oA <output-prefix>
Use when trying to avoid detection (requires root/sudo):
sudo nmap -sS -sV -sC <target> -oA <output-prefix>
Use when UDP services need to be enumerated:
sudo nmap -sU --top-ports 100 <target> -oA <output-prefix>
Use for maximum information gathering (noisy):
nmap -A -T4 <target> -oA <output-prefix>
Use to check for known vulnerabilities:
nmap -sV --script vuln <target> -oA <output-prefix>
Open-source IoT security testing toolkit with integrated Claude Code skills for automated vulnerability discovery.
Android APK unpacking and resource extraction tool for reverse engineering. Use when you need to decode APK files, extract…
Static analysis of UEFI/BIOS firmware dumps using Intel's chipsec framework. Decode firmware structure, detect known malware and…
Advanced file finder with type detection and filesystem extraction for analyzing firmware and extracting embedded filesystems.…
IoT network traffic analyzer for detecting IoT protocols and identifying security vulnerabilities in network communications. Use…
Android APK decompiler that converts DEX bytecode to readable Java source code. Use when you need to decompile APK files, analyze…
Probe IoT/embedded targets for exposed SWD/JTAG debug interfaces using a SEGGER J-Link. Detects whether debug is OPEN, LOCKED…
Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication,…
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys)…
Clean and finalize authorized natural-language text intended for readers by auditing suspicious invisible Unicode and rewriting…