loading
loading
Utilities
Extract a START,END batch from file lines or folder files.
overview
batch-output-v2 is the fan-out slicer for large lists and folders. In lines mode it cuts a START,END span from a file; in files mode it cuts a span from a folder's sorted file list.
Operators use it when one serial pass over a huge target set will not finish. Pass --batch as START,END (for example 1,10) and run parallel copies of the downstream scanner on each range.
Omit --mode to auto-pick from the input you supplied (--file or --folder). The managed node writes FILE and FOLDER holding the selected slice for the next consumer.
use cases
Split a large file into START,END line ranges and feed each to its own copy of a scanner so the run finishes faster than one serial pass.
Use files mode to extract a range from a sorted folder so a downstream node processes inputs in groups instead of all at once.
Hand it a file or a folder and rely on auto-detection to choose lines or files mode when inputs vary across runs.
Process one batch at a time through an expensive node to stay within time and resource budgets on very large datasets.
reference
| Name | Type | Flag | Description |
|---|---|---|---|
| file | FILE | --file | Input file for lines mode (extract line range from this file). |
| folder | FOLDER | --folder | Input folder for files mode (extract file range from sorted file list). |
| batch | STRING | --batch | Batch range as START,END (e.g., "1,10" extracts items 1 through 10). |
| mode | STRING | --mode | Processing mode: 'lines' (extract lines from file) or 'files' (extract files from folder). Auto-detects if not specified. |
Showing key inputs. batch-output-v2 exposes 4 inputs in total.
example
# batch-output-v2: extract lines 1-100 from a host list for a parallel workerbatch-output-v2 --mode lines --file hosts.txt --batch 1,100api.example.comapp.example.comstaging.example.comdev.example.commail.example.comvpn.example.comcdn.example.comwww.example.comguidance
Use batch-output-v2 to split a file or folder into ranges for parallel processing. Prefer it over batch-output for new graphs. It slices input; it runs no scanner. Place it ahead of the consumer you want to fan out.
Original line-range slicer. v2 adds explicit modes, folder support, and parallel processing.
Deduplicates large lists. Shrinks the input rather than slicing it into batches.
Appends only new lines. Different list utility for tracking novelty across runs.
faq
related
Spider a URL and return a wordlist for password crackers.
Wordlist and mined-word subdomain permutation.
Import, export, and upsert workflow data against an Airtable base.
Decode Android APK files into smali sources and resources.
Check a file's values against conditions and exit with a matching code.
Authenticated Route53 hosted-zone inventory.
A large target list feeds batch-output-v2, which extracts a START,END batch and passes it to nuclei so scanning runs on one parallelizable chunk.
Facts on this page come from the live Trickest tool library.