Utilities
Stamp the same trailing token onto every line
Append one string to each line in a folder of files.
overview
What suffix-file-lines does
Sit suffix-file-lines between a producer of bare lines and any consumer that needs a trailing path, extension, or token.
Operators reach for it when a wordlist needs .php, a host list needs /login, or a name list needs a fixed TLD, without a shell step.
Inputs are folder and suffix-string. For start-of-line stamps use prefix-file-lines; this node only appends.
use cases
Where suffix-file-lines fits
Add a file extension to a wordlist
Suffix every entry with .php, .bak, or .json so a content-discovery stage like ffuf or gobuster tests full filenames instead of bare stems.
Append a path to a host list
Add a route such as /login or /admin to each resolved hostname so httpx or nuclei probe the endpoint rather than the bare host.
Reshape a list between two tools
Bridge a producer that emits bare lines and a consumer that expects a trailing token, with no inline shell node to maintain.
Append a TLD or query string before fuzzing
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
suffix-file-lines inputs and flags
| 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
Run suffix-file-lines
# 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
Choosing suffix-file-lines
Use when two stages almost connect but every line is missing a trailing token. Prefer prefix-file-lines to prepend. Prefer a generator like dnsgen when you need mutations, not one fixed suffix.
prefix-file-lines
Mirror utility. Prepends a string to each line instead of appending.
remove-lines-from-file
Filters lines out rather than extending them.
faq
suffix-file-lines questions
related
More Utilities tools
browser-fetch
Headless Chromium render: requested URL, final URL, status, and title next to the page.
cewl
Spider a URL and return a wordlist for password crackers.
csvkit
SQL on one CSV. The table name is the file stem.
dnsgen
Wordlist and mined-word subdomain permutation.
duckdb
In-process SQL on CSV, JSON, and Parquet. No server.
edge-tts
Microsoft Edge neural speech from text or a script file. No API key.
Run suffix-file-lines yourself
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.