loading
loading
Network
Print every IP in a range or CIDR, one per line.
overview
Put prips at the front of a scan chain when a port scanner needs a flat host file instead of range notation.
Trigger it with a start-end pair or CIDR on subnet-or-cidr; thin with -i, drop out-of-scope slices with -l, or emit hex/dec/dot via -f.
It expands addresses. It does not probe ports. For CIDR set ops use mapcidr; for the shell form use prips-sh.
source gitlab.com/prips/prips
use cases
Turn 10.0.0.0/24 into every address inside it so a port scanner or prober receives a flat host list instead of a range it cannot read.
Drop a sub-range from the output so production gateways or out-of-scope hosts never reach the scanning stage.
Set an increment to print every Nth address and probe a representative slice of a big block before committing to a full sweep.
Use -c when you need the compact CIDR form of a start-and-end pair instead of the expanded host list.
reference
| Name | Type | Flag | Description |
|---|---|---|---|
| subnet-or-cidr | STRING | · | IP range or CIDR to expand (e.g. 192.168.0.0 192.168.0.255 or 192.168.0.1/24). |
| increment | STRING | -i | Print every Nth address to sample a large range. |
| range-to-cidr | BOOLEAN | -c | Print the range in CIDR notation instead of expanding it. |
| address-format | STRING | -f | Format addresses as hex, dec, or dot. |
| exclude-range-or-cidr | STRING | -l | Exclude a sub-range from the output. |
Showing key inputs. prips exposes 5 inputs in total.
example
# expand a documentation /24, skip a reserved slice, dotted outputprips -f dot -l 198.51.100.0/28 198.51.100.0/24198.51.100.16198.51.100.17198.51.100.18198.51.100.19198.51.100.20198.51.100.21198.51.100.22198.51.100.23guidance
Use prips to turn an IP range or CIDR into a flat address list for a scanner. Follow with a port scanner. Prefer mapcidr when you need to merge, slice, or filter CIDR sets rather than enumerate hosts.
Portable shell rewrite with the same core expansion job. Prefer when you want the script form.
Manipulates and aggregates CIDR ranges. Use for set operations, not full host expansion.
Resolves an ASN to CIDR prefixes. Run it first, then expand those prefixes with prips.
faq
related
Map an organization's network ranges from ASN data.
Validate public DNS resolvers against trusted baselines.
Parallel ICMP echo sweeps for CIDR ranges and host files.
Probe a domain list for working HTTP and HTTPS servers.
A fast and multi-purpose HTTP toolkit that runs multiple probers with reliable, high-throughput results.
Expand, aggregate, and slice CIDR ranges into host lists.
A CIDR range feeds prips, which expands it into individual addresses for naabu to scan before the open ports land as output.
Facts on this page come from the live Trickest tool library.