Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计通过

networking-essentials网络要点

Agent Skill

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

总安装

18,268

周安装

457

GitHub Stars

28

下载量

5,235
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/zebbern/secops-cli-guides --skill 'Networking Essentials'

简介

聚焦核心网络协议知识与最佳实践指南查询。

  • 适合学习 TCP/IP、HTTP/HTTPS、DNS 工作原理等基础概念。
  • 提供配置示例与排错思路,辅助理解复杂网络现象。
  • 内容偏重理论参考,实际部署仍需结合具体环境测试验证。
  • networking-essentials 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Networking Essentials

Purpose

Provide foundational networking knowledge required for penetration testing including OSI model concepts, TCP/IP addressing, subnetting, cable standards, and Cisco device configuration. Enable understanding of network infrastructure for effective security assessments.

Inputs/Prerequisites

  • Basic computer literacy
  • Access to network devices or simulator (Packet Tracer, GNS3)
  • Understanding of binary and hexadecimal notation
  • Network topology information for target environment

Outputs/Deliverables

  • Properly configured network infrastructure
  • Subnetting calculations and IP schemes
  • VLAN segmentation plans
  • Router and switch configurations
  • Network documentation for assessments

Core Workflow

1. Understand Network Types

Network Categories:

  • LAN (Local Area Network): Single location, high speed
  • WAN (Wide Area Network): Multiple locations, geographic dispersion
  • Internet: Global interconnection of networks

LAN Architectures:

  • Client/Server: Centralized resources and management
  • Peer-to-Peer: Decentralized, each device shares resources

2. Master Cable Standards

UTP Cable Categories:

CategorySpeedUse Case
CAT 310 MbpsEthernet
CAT 5100 MbpsFast Ethernet
CAT 5e1 GbpsGigabit Ethernet
CAT 61 GbpsMulti-Gigabit

Cable Wiring Standards:

Straight-Through (T568A to T568A):

  • Use: PC to Switch, Router to Switch
  • Pin 1-8 same on both ends

Crossover (T568A to T568B):

  • Use: PC to PC, Switch to Switch, Router to Router
  • Transmit/Receive pairs swapped

T568A Pinout:

  1. Green/White (TX+)
  2. Green (TX-)
  3. Orange/White (RX+)
  4. Blue
  5. Blue/White
  6. Orange (RX-)
  7. Brown/White
  8. Brown

3. Apply OSI Model

Seven Layers (Top to Bottom):

LayerNameFunctionProtocols/Devices
7ApplicationUser interfaceHTTP, FTP, SMTP
6PresentationData formattingSSL, JPEG, ASCII
5SessionConnection managementNetBIOS, RPC
4TransportEnd-to-end deliveryTCP, UDP
3NetworkRouting and addressingIP, ICMP, Routers
2Data LinkFrame transmissionEthernet, Switches
1PhysicalBit transmissionCables, Hubs

Remember: "All People Seem To Need Data Processing"

4. Configure TCP/IP Addressing

IP Address Classes:

ClassRangeDefault MaskNetworks
A1-126255.0.0.0Large organizations
B128-191255.255.0.0Medium organizations
C192-223255.255.255.0Small organizations

Private IP Ranges:

  • Class A: 10.0.0.0 - 10.255.255.255
  • Class B: 172.16.0.0 - 172.31.255.255
  • Class C: 192.168.0.0 - 192.168.255.255

Subnetting Calculation:

Network: 192.168.1.0/26
Subnet Mask: 255.255.255.192

Subnets: 2^2 = 4 subnets
Hosts per subnet: 2^6 - 2 = 62 hosts

Subnet 1: 192.168.1.0 - 192.168.1.63
Subnet 2: 192.168.1.64 - 192.168.1.127
Subnet 3: 192.168.1.128 - 192.168.1.191
Subnet 4: 192.168.1.192 - 192.168.1.255

5. Configure Cisco Routers

Basic Router Commands:

! Enter privileged mode
Router> enable
Router#

! Enter configuration mode
Router# configure terminal
Router(config)#

! Set hostname
Router(config)# hostname R1

! Configure interface
Router(config)# interface FastEthernet 0/0
Router(config-if)# ip address 192.168.1.1 255.255.255.0
Router(config-if)# no shutdown

! Save configuration
Router# copy running-config startup-config

! Show commands
Router# show ip interface brief
Router# show running-config
Router# show ip route

Configure Static Routing:

Router(config)# ip route 10.0.0.0 255.0.0.0 192.168.1.2
Router(config)# ip route 0.0.0.0 0.0.0.0 192.168.1.1  ! Default route

Configure RIP Routing:

Router(config)# router rip
Router(config-router)# version 2
Router(config-router)# network 192.168.1.0
Router(config-router)# network 10.0.0.0

6. Configure Cisco Switches

Basic Switch Commands:

! Configure management VLAN
Switch(config)# interface vlan 1
Switch(config-if)# ip address 192.168.1.10 255.255.255.0
Switch(config-if)# no shutdown

! Configure port
Switch(config)# interface FastEthernet 0/1
Switch(config-if)# switchport mode access
Switch(config-if)# switchport access vlan 10

VLAN Configuration:

! Create VLAN
Switch(config)# vlan 10
Switch(config-vlan)# name SALES
Switch(config-vlan)# exit

! Assign port to VLAN
Switch(config)# interface range fa0/1-10
Switch(config-if-range)# switchport access vlan 10

! Configure trunk port
Switch(config)# interface GigabitEthernet 0/1
Switch(config-if)# switchport mode trunk
Switch(config-if)# switchport trunk allowed vlan 10,20,30

Inter-VLAN Routing (Router-on-a-Stick):

Router(config)# interface FastEthernet 0/0.10
Router(config-subif)# encapsulation dot1Q 10
Router(config-subif)# ip address 192.168.10.1 255.255.255.0

Router(config)# interface FastEthernet 0/0.20
Router(config-subif)# encapsulation dot1Q 20
Router(config-subif)# ip address 192.168.20.1 255.255.255.0

7. Configure Access Lists

Standard ACL (Filter by Source IP):

! Deny specific host
Router(config)# access-list 10 deny host 192.168.1.100
Router(config)# access-list 10 permit any

! Apply to interface
Router(config)# interface FastEthernet 0/0
Router(config-if)# ip access-group 10 in

Extended ACL (Filter by Source, Destination, Port):

! Block Telnet from specific network
Router(config)# access-list 100 deny tcp 192.168.1.0 0.0.0.255 any eq 23
Router(config)# access-list 100 permit ip any any

! Apply to interface
Router(config-if)# ip access-group 100 in

8. Configure NAT

Static NAT:

Router(config)# ip nat inside source static 192.168.1.10 203.0.113.10
Router(config)# interface FastEthernet 0/0
Router(config-if)# ip nat inside
Router(config)# interface Serial 0/0
Router(config-if)# ip nat outside

Dynamic NAT with PAT:

Router(config)# access-list 1 permit 192.168.1.0 0.0.0.255
Router(config)# ip nat pool MYPOOL 203.0.113.1 203.0.113.1 netmask 255.255.255.0
Router(config)# ip nat inside source list 1 pool MYPOOL overload

Quick Reference

Common Subnet Masks

CIDRMaskHosts
/24255.255.255.0254
/25255.255.255.128126
/26255.255.255.19262
/27255.255.255.22430
/28255.255.255.24014
/29255.255.255.2486
/30255.255.255.2522

Essential Show Commands

show ip interface brief
show running-config
show ip route
show vlan brief
show interfaces trunk
show access-lists
show ip nat translations

Constraints

  • VLAN hopping attacks possible without proper trunk security
  • Weak ACLs can be bypassed
  • NAT can complicate penetration testing
  • Routing protocols can be exploited if not secured
  • Switch CAM tables can be flooded

Examples

Example 1: Basic Network Scan Understanding

# Scan reveals network structure
nmap -sn 192.168.1.0/24

# Identify VLANs through ARP
arp-scan -l

# Discover routing
traceroute 10.0.0.1

Example 2: VLAN Enumeration

# Check for VLAN hopping vulnerability
yersinia -G

# DTP attack (if trunk misconfigured)
yersinia dtp -attack 1

Troubleshooting

IssueSolution
No connectivityVerify cable type (straight vs crossover)
Cannot reach gatewayCheck IP configuration and subnet mask
VLAN isolationVerify trunk configuration and allowed VLANs
Routing not workingCheck ip routing enabled and routes configured
ACL blocking trafficReview access-list and interface application
NAT not translatingVerify inside/outside interface designation

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

38.21%
按下载量换算2,000

Claude

29.36%
按下载量换算1,537

Cursor

18.87%
按下载量换算988

Gemini CLI

9.49%
按下载量换算497

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/zebbern/secops-cli-guides --skill 'Networking Essentials' 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills