Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
wgpsec avatar

Mapcidr Cidr

  • 25 installs
  • 1.6k repo stars
  • Updated July 19, 2026
  • wgpsec/aboutsecurity

Helps with ai & agent building tasks during AI-assisted development.

About

mapcidr-cidr is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.

  • mapcidr-cidr
  • AI & Agent Building
  • AI-coding skill

Mapcidr Cidr by the numbers

  • 25 all-time installs (skills.sh)
  • +3 installs in the week ending Jul 27, 2026 (Skillselion tracking)
  • Ranked #9,800 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/wgpsec/aboutsecurity --skill mapcidr-cidr

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs25
repo stars1.6k
Last updatedJuly 19, 2026
Repositorywgpsec/aboutsecurity

What it does

Helps with ai & agent building tasks during AI-assisted development.

Files

SKILL.mdMarkdownGitHub ↗

mapcidr CIDR 网段处理方法论

mapcidr 是 ProjectDiscovery 出品的 CIDR 处理工具。核心优势:展开/聚合/切片/打乱 + IPv4/IPv6 双栈 + 管道友好

项目地址:https://github.com/projectdiscovery/mapcidr

基本操作

# CIDR 展开为 IP 列表
echo 192.168.1.0/24 | mapcidr

# 统计 IP 数量
echo 10.0.0.0/16 | mapcidr -count

# IP 列表聚合为 CIDR
cat ips.txt | mapcidr -aggregate

# 打乱 IP 顺序(避免顺序扫描触发告警)
echo 192.168.1.0/24 | mapcidr -si

# 跳过基址和广播地址
echo 192.168.1.0/24 | mapcidr -skip-base -skip-broadcast

网段切片

# 按主机数切片(每片 256 个 IP)
echo 10.0.0.0/16 | mapcidr -sbh 256

# 按 CIDR 大小切片(切成 /24)
echo 10.0.0.0/16 | mapcidr -sbc 24

# 切片后分发扫描
echo 10.0.0.0/16 | mapcidr -sbc 24 | \
  while read cidr; do naabu -host "$cidr" -p 80,443 -silent; done

管道集成

# CIDR 展开 → 端口扫描
echo 10.0.0.0/24 | mapcidr -si | naabu -p 80,443 -silent

# IP 去重聚合
cat scan_results.txt | mapcidr -aggregate

# 过滤 IP 范围
echo 10.0.0.0/8 | mapcidr -fi 10.0.1.0/24

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.