port-scanning
Discover open ports, running services, and their versions on a target
от VigilOSS★ 35 звёзд на GitHub
Установить port-scanning в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Port Scanning
vigil assess kaliaudit flags: use--technique RECON(port and service enumeration against in-scope hosts is canonical reconnaissance).
When to Activate
- New in-scope hosts or IPs need a service inventory before vulnerability testing.
Typed verb: vigil assess kali nmap-scan (--ports, --scripts, --service-detection,
--os-detection, --max-rate, --max-retries, --host-timeout, -iL, -oA; the rest via
--extra-args, whose value must use the = form when it starts with a dash, e.g.
--extra-args=-T3). SAN and rDNS extraction, raw-packet limits, the XML-closure trap:
agent/references/tools/recon/nmap.md. A sweep that will not finish inside the --timeout ceiling (agent/shared-constraints.md §2) splits by host list or port range across calls; one that cannot be split goes to the operator as a kali job in next_steps.
Container paths are /engagements/$ENGAGEMENT_KEY/...; host-side shell (grep, loops) uses
$DIR/... (agent/shared-constraints.md §11).
1. Profile selection — pick before invoking nmap
-T4 is not safe for shared infrastructure. Take the nmap profile from the row of
agent/references/recon/rate-calibration.md that the wafw00f result picks
(agent/references/tools/recon/wafw00f.md "WAF-tier rate adjustment table"). A cautious-tier pass routinely surfaces what -T4 misses — SAN expansion, rDNS vendor
identification, per-host WAF tiers, dense API clusters — because of the rate, not extra scripts.
The default scan type is -sT (connect). Never switch to -sS: raw SYN probes are dropped by
Docker's userland NAT and return 0-open. --scan-type sV would replace -sT with nmap's root
default (SYN), so enable versions with --service-detection instead.
2. Canonical runs
# Initial
vigil assess kali nmap-scan --target TARGET --ports top-1000 --scripts safe \
--max-rate 100 --max-retries 2 --host-timeout 300s --extra-args "-Pn -T3" \
-oA /engagements/$ENGAGEMENT_KEY/scans/nmap_initial \
--technique RECON --intent "initial top-1000 + safe scripts, Cloud-fronted row" \
--probe-kind fingerprint --phase recon --timeout 600
# Two-pass full TCP: ports first, then service detection on what is open
vigil assess kali nmap-scan --target TARGET --ports full --max-rate 100 --extra-args "-Pn -T3" \
-oA /engagements/$ENGAGEMENT_KEY/scans/ports_only \
--technique RECON --intent "full-port sweep" --probe-kind fingerprint --phase recon --timeout 600
PORTS=$(grep -oE '[0-9]+/open' "$DIR/scans/ports_only.gnmap" | cut -d/ -f1 | paste -sd, -)
vigil assess kali nmap-scan --target TARGET --ports "$PORTS" --service-detection \
--extra-args "-Pn -sC -T3" -oA /engagements/$ENGAGEMENT_KEY/scans/nmap_targeted \
--technique RECON --intent "service detection on open ports" \
--probe-kind fingerprint --phase recon --timeout 600
# Multi-host: one -iL process (no --target)
vigil assess kali nmap-scan -iL /engagements/$ENGAGEMENT_KEY/scans/in_scope_hosts.txt \
--ports top-1000 --scripts safe --max-rate 100 --max-retries 2 --host-timeout 300s \
--extra-args "-Pn -T3" -oA /engagements/$ENGAGEMENT_KEY/scans/nmap_batch \
--technique RECON --intent "multi-host batch, Cloud-fronted row" \
--probe-kind fingerprint --phase recon --timeout 600
3. Process consolidation
One -iL process beats N per-host invocations: nmap parallelises internally
(--min/--max-parallelism, -T), while per-host loops add CPU, audit rows and contention without
speed. Split-by-profile parallel sweeps are allowed up to the runtime-tier cap (Standard 2 / Heavy
4 / Comfortable 8, vigil runtime resources; trait table in
agent/references/recon/rate-calibration.md). To split across specialists, split the host list.
4. Per-host port-data presence assertion (mandatory before declaring a batch complete)
XML closure (</nmaprun>) and a "Nmap scan report for" line both appear when a host timed out
with no port data. The gate is port-data presence per host: run both layers in
agent/references/tools/recon/nmap.md "XML-closure trap and the correct port-data presence gate"
against $DIR/scans. Each flagged host is either:
- Local rate or WAF intercept — re-queue it alone at
--max-retries 3 --host-timeout 540s --extra-args "-Pn -T2"(still-sT) with--timeout 600, so nmap closes the host before the call ceiling; or - Upstream filtering kill-evidence — the slow retry still returns zero port data. Record one
intel note per host (
vigil assess intel record note <file>; shape viavigil assess contract intel record) naming the retry profile and the empty<ports>result, so the report shows the filtered surface.
Do not declare a batch complete until every flagged host passes on retry or has its note; the recon-specialist's pre-output self-check fails when this gate is skipped.
5. Adjacent hosts and ownership
- TLS SANs from the scan output and rDNS from
-oG(extraction innmap.md) surface staging and
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл port-scanning?
Discover open ports, running services, and their versions on a target
Как установить скилл port-scanning?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл port-scanning запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…