What problem does it solve?
Managing large CIDR blocks and IP lists during reconnaissance and scanning is error-prone when done manually. This Skill provides the mapcidr command patterns needed to expand CIDRs into IP lists, aggregate IPs back into CIDRs, slice networks into smaller chunks, and shuffle scan order.
Core Features & Use Cases
- CIDR Expansion and Counting: Expand a CIDR like 192.168.1.0/24 into individual IPs or count total addresses, with options to skip base and broadcast addresses.
- Aggregation and Slicing: Aggregate IP lists into minimal CIDRs, or slice large networks by host count (-sbh) or target prefix size (-sbc) for distributed scanning.
- Pipeline Integration: Shuffle IP order with -si to avoid sequential-scan detection, and pipe results directly into tools like naabu for port scanning.
- Use Case: Given a 10.0.0.0/16 target scope, slice it into /24 blocks and feed each block to naabu for parallel port scanning across 80 and 443.
Quick Start
Ask the AI to expand the CIDR 10.0.0.0/24 into a shuffled IP list using mapcidr and pipe it into a port scan.