loading
loading
Utilities
Add a suffix string to each line in files.
overview
suffix-file-lines walks every file in a folder and appends the same string to the end of each line. It is the glue that keeps a pipeline moving when one stage emits bare lines and the next stage needs each line to carry a trailing token: a port, a path, or a file extension, with no hand-written shell step.
Because it runs per line across a whole folder, it drops in between two tools. Add .php to every word in a content-discovery wordlist, tack a /login path onto a resolved host list, or append a TLD to a set of names before you fuzz them. The transformation is deterministic and order-preserving, so the next node reads exactly the rows it expects.
On Trickest, suffix-file-lines is a Utilities node that takes a folder of files and a suffix string, then writes both a file and a folder of the reshaped lines. Reach for it as a connector between a producer and a consumer whose line formats are off by one trailing token.
source github.com/trickest
use cases
Suffix every entry with .php, .bak, or .json so a content-discovery stage like ffuf or gobuster tests full filenames instead of bare stems.
Add a route such as /login or /admin to each resolved hostname so httpx or nuclei probe the endpoint rather than the bare host.
Bridge a producer that emits bare lines and a consumer that expects a trailing token, with no inline shell node to maintain.
Tack a fixed TLD onto a name list, or add a query parameter to each URL, so the next node consumes the rows in the shape it needs.
reference
| Name | Type | Flag | Description |
|---|---|---|---|
| folder | FOLDER | · | Folder of files whose lines each get the suffix appended. |
| suffix-string | STRING | · | String appended to the end of every line, such as .php or /login. |
Showing key inputs. suffix-file-lines exposes 2 inputs in total.
example
# append a login path to every host across the foldersuffix-file-lines ./hosts /loginapi.example.com/loginapp.example.com/loginstaging.example.com/logindev.example.com/loginmail.example.com/loginvpn.example.com/loginportal.example.com/loginadmin.example.com/loginguidance
Use suffix-file-lines when two stages of a workflow almost connect but the line format is off by a trailing token. It is a connector, not a recon tool, so reach for it to add a path, extension, or suffix to every line rather than to discover or test anything.
The mirror utility. Prepends a string to each line instead of appending one.
Another list-shaping helper. Filters lines out rather than extending them.
faq
related
Import, export, and link workflow data with Airtable.
Decode Android APK files into smali sources and resources.
Check a file's values against conditions and exit with a matching code.
Extract all hosted zones from AWS Route53.
Output file lines by batch size, given START_LINE and END_LINE.
Extract a batch range from a file's lines or a folder's files, with parallel processing.
A host list feeds suffix-file-lines, which appends a token to every line and writes the reshaped list as an output.
Facts on this page come from the live Trickest tool library.