Updated Jul 14, 2026

Utilities

Stamp the same trailing token onto every line

Append one string to each line in a folder of files.

Agent

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

2 inputs
NameTypeFlagDescription
folderFOLDER·Folder of files whose lines each get the suffix appended.
suffix-stringSTRING·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

suffix-file-lines · command
# append a login path to every host across the foldersuffix-file-lines ./hosts /login
sample output
api.example.com/loginapp.example.com/loginstaging.example.com/logindev.example.com/loginmail.example.com/loginvpn.example.com/loginportal.example.com/loginadmin.example.com/login

guidance

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

Yes. Set suffix-string to .php, .bak, or similar. Every line in every file in the folder gets that ending for content discovery.

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.