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
cewl
Spider a URL and return a wordlist for password crackers.
dnsgen
Wordlist and mined-word subdomain permutation.
pup
CSS selectors over HTML, the jq counterpart for markup.
unfurl
Extract chosen URL parts from stdin into clean line lists.
whisper
Speech to txt, vtt, srt, and json from an audio file or folder.
youtube-transcript
Public caption tracks to transcript.txt and results.jsonl.
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.