tools-nmap
Operate nmap and masscan for port/service scanning of in-scope hosts — scan-type selection (SYN/connect/UDP), version and OS detection, NSE vuln scripts, output formats, and the masscan-wide-then-nmap-deep pattern. Load when recon surfaces hosts/IPs and you need open ports, service versions, or OS f
v2026.10.14-ee0e0c53 instalações+3 em 7 dias27 EstrelasMITsincronizado há 22 horas
Instalar
Ainda não tem a CLI da NotHoly? Instale primeiro.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install noorqureshi/tools-nmapGrava em ~/.notholy/skills depois de conferir a assinatura e o SHA-256.
AssinaturaAssinado, ed25519
Pacote8680e289…7159481b
8680e289c65e…80277159481b1 arquivo · 2.5 KBVarreduraMédio2 achados
- injection.no_confirmationSKILL.md:79
- Links para domínios externos
Fontegithub.com/NoorQureshi/security-skills/tree/main/skills/tools/tools-nmap@ee0e0c5
Este item ainda não foi escrito no seu idioma, então aparece em English.
Nesta página
When it applies
You have in-scope hosts or IP ranges (confirmed in scope.txt — see tradecraft-scope-roe) and
need the network attack surface: open ports, service versions, OS guesses. This is the
active-scanning step that follows passive enumeration (recon-subdomain-enum, recon-arsenal) and
feeds service-specific testing (network-service-attacks, web-arsenal for anything HTTP).
Why it works
nmap crafts raw packets to classify ports (open/closed/filtered) and then speaks each discovered service's protocol just enough to fingerprint its version; its NSE script engine adds per-service checks on top. masscan trades per-host depth for raw speed (its own TCP stack, millions of pps), so the efficient pattern is: masscan for breadth across many hosts/ports, nmap for depth on the hits.
Method
- Host discovery on a range (skip port scan):
nmap -sn 192.168.1.0/24. - Pick the scan type:
bash nmap -sS target # SYN half-open scan — default when root; fast, less logging nmap -sT target # full TCP connect — use when unprivileged or raw sockets fail nmap -sU --top-ports 100 target # UDP is slow; always bound it to top ports - Identify what is listening:
bash nmap -sV --version-intensity 5 -sC target # service versions + default scripts nmap -O target # OS fingerprint (needs root) nmap -A target # OS + version + scripts + traceroute (loud) - Size the port list to the phase:
-F(fast, top 100) for a first look;-p 22,80,443for a targeted check;-p-for full 65535 when the rules of engagement allow the noise. - NSE scripts after fingerprinting — never
--script vulnas a first move:bash nmap --script vuln target # known-vuln checks (loud) nmap --script smb-enum-shares,smb-enum-users target # SMB surface nmap --script http-enum,http-vuln* -p 80,443 target # web surface - Always save output for the engagement record:
-oNnormal,-oXXML (importable, feeds other tools — e.g.ncrack -iX scan.xml),-oGgreppable. - Wide/fast with masscan, then deep with nmap:
bash masscan -p1-65535 target --rate=1000 # rate is packets/sec — tune to the link masscan -p80,443,8080 10.0.0.0/24 --rate=500 --banners masscan -p1-65535 10.0.0.0/8 --rate=10000 -e eth0 --excludefile exclude.txt--excludefileis how you hard-exclude out-of-scope addresses from a wide sweep; masscan output flags (-oJ/-oX/-oG) mirror nmap's.
Gotchas
- Windows:
dnet: Failed to open device eth0— raw-socket scans fail on some Windows installs; fall back tonmap -sT -sV --top-ports 50 -Pn -T3 target(connect scan, no host-discovery dependency). If it still fails, record it as an environment limitation and continue with HTTP-layer recon — do not let nmap block the engagement. - Targets behind Cloudflare/CDN — a full raw port scan of a CDN edge tells you almost nothing and burns rate budget; pivot to the application layer (HTTPS/API/JS) instead.
- Scanner output is not a finding — a
vulnscript hit or an open port is a lead; verify exploitability before it goes in the report (reporting-triage-validation). - Rate = detection + DoS risk — high
--rate/-T5trips IDS and can flatten weak services; match tempo to the RoE. masscan against ranges you don't own is exactly whatscope.txtforbids. -Pnwhen hosts "look down" — many hosts drop ICMP;-Pnskips ping discovery, at the cost of scanning dead hosts.- SYN scan needs root —
-sSas an unprivileged user silently degrades or errors; use-sT.
Verify success
You have a saved scan file (-oX/-oN) whose results you can restate as: live hosts, open ports,
service + version per port, and a prioritized list of which services get deep testing next — every
entry inside scope.txt.
References
nmap.org reference guide; NSE script library; masscan GitHub (robertdavidgraham). Pipeline context:
automation-recon-pipeline; next step per service: network-service-attacks.
Portions adapted from reverse-skill by zhaoxuya520, MIT License.
Arquivos desta versão
- SKILL.md4.9 KB
Permissões
| Permissão | Declarada | Encontrada na varredura |
|---|---|---|
| Lê arquivos | Não | Não |
| Grava arquivos | Não | Não |
| Roda comandos no shell | Sim | Sim |
| Usa a rede | Sim | Sim |
| Usa conectores | Não | Não |
| Controla um navegador | Não | Não |
Achados da varredura
Revisado em 13 de nov. de 2026
- MédiaPrompt injection · injection.no_confirmationSKILL.md:79
- InfoLink · Links para domínios externos
Uma varredura limpa reduz o risco, mas não prova que o pacote é seguro. Leia o que você instala.
| Versão | Publicada em | Commit | SHA-256 | Assinatura | Mudança de permissão |
|---|---|---|---|---|---|
| v2026.10.14-ee0e0c5 | 13 de nov. de 2026 | ee0e0c5 | 8680e289 | Assinada | – |
Mais de NoorQureshi
Tudo deste publicadorMais em Rede, wireless e telecom
Ver a categoria- performing-network-packet-capture-analysismukul975/performing-network-packet-capture-analysis4
- network-segmentation-reviewsecurityskills/network-segmentation-review3
- performing-ssl-stripping-attackmukul975/performing-ssl-stripping-attack3
- implementing-next-generation-firewall-with-palo-altomukul975/implementing-next-generation-firewall-with-palo-alto3
- configuring-zscaler-private-access-for-ztnamukul975/configuring-zscaler-private-access-for-ztna3
- implementing-canary-tokens-for-network-intrusionmukul975/implementing-canary-tokens-for-network-intrusion3
Pergunte tudo o que o seu escopo permite.
Crie a conta, adicione créditos e faça a primeira pergunta no chat ou no terminal.
- 1/3
Crie a conta
Individual ou empresa. Dá para virar empresa depois sem perder saldo nem chaves.
Pessoa físicaEmpresa - 2/3
Adicione créditos
No cartão. Você paga por token, sem assinatura.
$5.00recarga mínima - 3/3
Pergunte
No chat, ou instale o CLI e rode notholy login no terminal.
$ notholy login