A sliding window text generator that reads lines from stdin and outputs all substrings within a specified length range. Supports UTF-8 multibyte characters and $HEX[] encoded input.
linux: cat file | uslider <min> <max> [lower] [upper]
win: type file | uslider <min> <max> [lower] [upper]
| Argument | Description |
|---|---|
min |
Minimum output substring length |
max |
Maximum output substring length |
lower |
(Optional) Starting character position (1-based) |
upper |
(Optional) Ending character position |
cat wordlist.txt | uslider 2 10Outputs all substrings of length 2–10 from each line.
Lines in the format $HEX[deadbeef] are decoded before processing.
make # Linux binary
make win # Windows binary (requires x86_64-w64-mingw32-gcc)
make fuzz # AFL fuzzing binary (requires afl-clang-lto)
make clean # Remove build artifacts
make release # Clean, build all, and package into a zip- Remo Dentato for his UTF-8 write-up
- @hops for his contributions
- #@waffle for his optimized get32 routines
- CsP and friends for testing
