Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计异常

network-ports-reference网络端口参考

Agent Skill

network-ports-reference 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

5,111

周安装

131

GitHub Stars

28

下载量

1,207
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:network-ports-reference(网络端口参考)
来源仓库:https://github.com/zebbern/secops-cli-guides
仓库路径:skills/network-ports-reference
安装命令:
npx skills add https://github.com/zebbern/secops-cli-guides --skill 'Network Ports Reference'
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/zebbern/secops-cli-guides --skill 'Network Ports Reference'

简介

network-ports-reference 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 适用于根据关键词、任务场景或来源线索进行信息检索与筛选的场景。
  • 通过 npx skills add 命令从 GitHub 仓库安装并使用该技能。
  • 安装前需确认权限范围、维护状态,以及是否会触发联网或文件操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Network Ports Reference

Purpose

Provide quick reference for TCP/UDP port numbers and their associated protocols during reconnaissance, enumeration, and security assessments. Enable rapid identification of services running on target systems and support port-based attack surface mapping.

Inputs/Prerequisites

  • Target IP address or hostname for port scanning
  • Network access to the target system
  • Port scanning tools (nmap, masscan, netcat)
  • Basic understanding of TCP/IP networking

Outputs/Deliverables

  • Identified open ports and associated services
  • Protocol-specific enumeration data
  • Service version information
  • Attack surface documentation
  • Port-to-vulnerability mapping

Core Workflow

1. Identify Common Service Ports

Reference these critical ports during reconnaissance:

PortProtocolService
20TCPFTP Data Transfer
21TCPFTP Control
22TCPSSH
23TCPTelnet
25TCPSMTP
53TCP/UDPDNS
67-68UDPDHCP
69UDPTFTP
80TCPHTTP
88TCPKerberos
110TCPPOP3
111TCP/UDPRPC Portmapper
119TCPNNTP
123UDPNTP
135TCPMS RPC
137-139TCP/UDPNetBIOS
143TCPIMAP
161-162UDPSNMP
389TCPLDAP
443TCPHTTPS
445TCPSMB/CIFS
465TCPSMTPS
500UDPIKE/IPSec
514UDPSyslog
587TCPSMTP Submission
636TCPLDAPS
993TCPIMAPS
995TCPPOP3S
1433TCPMS SQL
1521TCPOracle DB
2049TCPNFS
3306TCPMySQL
3389TCPRDP
5432TCPPostgreSQL
5900TCPVNC
6379TCPRedis
8080TCPHTTP Proxy
8443TCPHTTPS Alt

2. Perform Port Discovery

Scan for open ports on target systems:

# Quick TCP SYN scan of common ports
nmap -sS -T4 192.168.1.1

# Comprehensive port scan (all 65535 ports)
nmap -p- -sS -T4 192.168.1.1

# UDP port scan
nmap -sU -T4 --top-ports 100 192.168.1.1

# Service version detection
nmap -sV -sC 192.168.1.1

# Fast scan with masscan
masscan -p1-65535 192.168.1.0/24 --rate=1000

# Check specific port with netcat
nc -zv 192.168.1.1 22

3. Enumerate Services by Port

Perform targeted enumeration based on discovered ports:

# FTP (21) - Check anonymous access
ftp 192.168.1.1
nmap --script ftp-anon 192.168.1.1

# SSH (22) - Grab banner and check versions
ssh -v 192.168.1.1
nmap --script ssh-hostkey 192.168.1.1

# SMTP (25) - Enumerate users
nmap --script smtp-enum-users 192.168.1.1

# DNS (53) - Zone transfer
dig axfr @192.168.1.1 domain.com

# HTTP (80/443) - Web enumeration
nikto -h http://192.168.1.1
gobuster dir -u http://192.168.1.1 -w /usr/share/wordlists/dirb/common.txt

# SMB (445) - Share enumeration
smbclient -L //192.168.1.1 -N
enum4linux -a 192.168.1.1

# SNMP (161) - Community string discovery
snmpwalk -c public -v1 192.168.1.1
onesixtyone 192.168.1.1 public

# LDAP (389) - Query directory
ldapsearch -x -h 192.168.1.1 -s base

# MySQL (3306) - Database enumeration
nmap --script mysql-enum 192.168.1.1

4. Map Attack Surface

Document findings for exploitation:

# Generate port scan report
nmap -sV -sC -oA scan_results 192.168.1.1

# Create service inventory
nmap -sV 192.168.1.1 -oG - | grep open

Quick Reference

High-Value Target Ports

PortWhy It Matters
21Anonymous FTP access, file upload
22SSH brute force, key-based auth bypass
23Telnet cleartext credentials
25Mail relay, user enumeration
53DNS zone transfer, cache poisoning
80/443Web vulnerabilities (SQLi, XSS, RCE)
135/445SMB exploits (EternalBlue)
139NetBIOS enumeration
161SNMP default communities
389/636LDAP injection, AD enumeration
1433/3306Database access, SQL injection
3389RDP brute force, BlueKeep
5985/5986WinRM remote execution
6379Redis unauthenticated access

Database Ports

PortDatabase
1433Microsoft SQL Server
1521Oracle
3306MySQL/MariaDB
5432PostgreSQL
5984CouchDB
6379Redis
27017MongoDB

Remote Access Ports

PortService
22SSH
23Telnet
3389RDP
5900VNC
5985/5986WinRM

Constraints

  • Always verify port assignments as services can run on non-standard ports
  • Some ports are registered but rarely used in practice
  • Firewalls may filter or redirect traffic
  • NAT and port forwarding can obscure actual service locations
  • Service banners can be spoofed for deception

Examples

Example 1: Quick Web Server Identification

# Scan common web ports
nmap -p 80,443,8080,8443 192.168.1.0/24

# Get HTTP headers
curl -I http://192.168.1.1

Example 2: Database Discovery

# Scan for common database ports
nmap -p 1433,1521,3306,5432,27017 192.168.1.0/24 -sV

# Test MySQL connection
mysql -h 192.168.1.1 -u root -p

Example 3: Full Port Audit

# Comprehensive scan with service detection
nmap -p- -sV -sC -A 192.168.1.1 -oA full_audit

Troubleshooting

IssueSolution
Ports appear filteredTry different scan techniques (-sA, -sW)
Service detection failsUse more aggressive version probing (-sV --version-all)
UDP scan too slowReduce port range or increase timing (-T5)
False positivesVerify with manual connection (nc, telnet)
Firewall blocking scansUse fragmentation (-f) or decoys (-D)
Service on non-standard portAlways perform full port scans (-p-)

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude

31.14%
按下载量换算376

Codex

30.62%
按下载量换算370

Cursor

18.63%
按下载量换算225

Gemini CLI

9.64%
按下载量换算116

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

未通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills