Network
Turn a CIDR block into scannable IP addresses
Expand one CIDR into one IP per line.
commit f812965 on Trickest · Go · MIT license
Free plan: 1 user, 3 execution slots, no card.
overview
What decant does
Between a CIDR source and a host-consuming scanner, Decant is the managed Network node that takes a single cidr-address and writes FILE plus FOLDER outputs of expanded hosts.
Reach for it when a port scanner wants concrete addresses and you only have network notation for one block. Pipe the range on stdin, or set cidr-address on the node.
For a file of many ranges, use decant-file. For aggregation or slicing instead of full expansion, mapcidr. Decant only flattens one CIDR.
source github.com/Cgboal/Decant · commit f812965 on Trickest
image quay.io/trickest/decant:f812965
use cases
decant use cases
Turn a CIDR into scannable hosts
Expand a range like 198.51.100.0/24 into individual IPs so a port scanner or prober can work from a flat host list instead of network notation.
Feed a port scanner
Hand the expanded addresses to naabu, masscan, or rustscan, which want concrete hosts and let you sweep an IP range for open ports.
Normalize recon inputs
Convert mixed range and host inputs into a uniform IP list early in a workflow so every downstream node reads the same one-IP-per-line format.
Bridge cloud-range discovery
Expand a provider's published CIDR block into addresses to enumerate and probe the hosts living inside it.
reference
decant inputs and flags
| Name | Type | Flag | Description |
|---|---|---|---|
| cidr-address | STRING | · | CIDR block to expand into individual IP addresses, for example 192.168.0.0/24. |
Showing key inputs. decant exposes 1 inputs in total.
example
decant command examples
# expand a /24 into 256 host addresses, one per line
echo 198.51.100.0/24 | decant > hosts.txt198.51.100.0
198.51.100.1
198.51.100.2
198.51.100.3
198.51.100.4
198.51.100.5
198.51.100.6
198.51.100.7
… (256 addresses for a /24 block)guidance
decant vs alternatives
Use Decant when you have one CIDR and need a flat IP list for the next stage. For a file of many ranges, use decant-file. For CIDR math and aggregation rather than full expansion, mapcidr.
faq
decant FAQ
related
More Network tools
dnsvalidator
Validate public DNS resolvers against trusted baselines.
fping
Parallel ICMP echo sweeps for CIDR ranges and host files.
httpx
A fast and multi-purpose HTTP toolkit that runs multiple probers with reliable, high-throughput results.
naabu
A fast and reliable port scanner that enumerates open ports for hosts.
netexec
Authenticated network assessment across SMB, LDAP, WinRM, and more.
onesixtyone
SNMP community-string scanner for host lists.
Run decant yourself
A CIDR range feeds Decant, which expands it into individual IPs and passes them to naabu so the open ports land as a queryable output.
Facts on this page come from the live Trickest tool library.