Nmap usage
Authorized security testing workspace. v2 TypeScript terminal product on release; v1 Python on pypi-release; Go branch is demo only.
npx -y skills add iammm0/secbot --skill nmap-usageAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
What its author says it does
Copied from the file, not written here
Professional nmap scanning techniques and optimization for penetration testing. Use this skill when you need to perform network reconnaissance, port scanning, or service enumeration during authorized security assessments.
SKILL.md
1.7 KB, 376 tokens by cl100k_base, as published. Nobody here has run it
Nmap Professional Scanning Techniques
Overview
This skill provides advanced nmap scanning techniques optimized for penetration testing engagements.
Timing Optimization
Aggressive Timing (-T4)
Use for fast, reliable scanning on known networks:
nmap -T4 -sS <target>
Stealth Timing (-T2)
Use when avoiding detection is critical:
nmap -T2 -sS -f --data-length 50 <target>
Parallel Scanning
nmap --min-parallelism 100 -p- <target>
Port Selection Strategies
Quick Discovery
nmap --top-ports 100 <target>
Full Port Scan
nmap -p- <target>
Specific Port Ranges
nmap -p 80,443,8080,8443 <target>
Service Detection
Version Detection
nmap -sV --version-intensity 9 <target>
Lightweight Detection
nmap -sV --version-light <target>
OS Detection
Aggressive OS Detection
nmap -O <target>
With Version + Script
nmap -A <target>
Output Formats
XML (for parsing)
nmap -oX report.xml <target>
Grepable
nmap -oG report.gnmap <target>
All Formats
nmap -oA report <target>
Useful NSE Scripts
Vulnerability Scanning
nmap --script vuln <target>
Gives 0 of the 12 instructions most security skills give in 376 tokens
Counted across 648 of the 828 authors here whose files we hold, read 2026-08-06
- parameterize all database queriesin 67 of 648, across 49 files
- hash passwords using bcrypt scrypt or argon2in 48 of 648, across 35 files
- apply rate limiting to authentication endpointsin 48 of 648, across 24 files
- Configure security headersin 35 of 648, across 18 files
- validate all inputsin 32 of 648, across 24 files
- validate all external input at the system boundaryin 29 of 648, across 18 files
- run containers as a non-root userin 28 of 648, across 15 files
- use httponly secure samesite cookies for sessionsin 26 of 648, across 15 files
- run dependency audits before every releasein 21 of 648, across 10 files
- encode output to prevent cross-site scriptingin 21 of 648, across 10 files
- copy dependencies before source codein 20 of 648, across 9 files
- store secrets in environment variablesin 20 of 648, across 17 files
Said here and by no other author read
- use aggressive timing on known networks
- use stealth timing to avoid detection
- use parallel scanning
- scan top ports for quick discovery
- scan all ports for full coverage
- scan specific port ranges
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.