loading
loading
Utilities
Workflow utility that writes a string to a file artifact.
overview
string-to-file takes one string and writes it to a FILE (plus FOLDER). Multi-line text becomes a multi-line file, so a handful of hosts or paths is a seed list in one step.
Operators use it when a downstream tool expects a file but the value is still a typed literal: one domain, a short config, a header block, or a tiny wordlist.
It is plumbing, not a scanner. Place it upstream of nodes that read a target file from disk (nuclei, masscan, ffuf). Prefer anew when you need to append and dedupe many files instead of writing one.
use cases
Write a single domain, URL, or IP to a file so a scanner that reads targets from disk can run without a separate input node.
Turn a short config, header block, or template into a file for a node that reads its settings from disk, without checking a file into a repo.
Paste a handful of paths or words as a multi-line string to drive ffuf or another fuzzer without sourcing and mounting a full wordlist.
Convert a typed value into a FILE artifact so downstream file-consuming nodes connect cleanly in the graph instead of expecting a raw string.
reference
| Name | Type | Flag | Description |
|---|---|---|---|
| string | STRING | · | The string to write to the output file. Multi-line text is written line for line, so it doubles as a quick target list or wordlist. |
Showing key inputs. string-to-file exposes 1 inputs in total.
example
# write a small seed list to a file the next node reads (nuclei -l, ffuf -input-file)string-to-file "example.comapp.example.comapi.example.comstaging.example.com198.51.100.10198.51.100.11203.0.113.5"$ cat out.txtexample.comapp.example.comapi.example.comstaging.example.com198.51.100.10198.51.100.11203.0.113.5guidance
Reach for string-to-file whenever a downstream node needs a FILE but you only have a literal string. It is plumbing, not a scanner. For combining or deduplicating many files instead of writing one, use a list utility like anew.
Appends only new, unique lines to a file. Use it to grow a list; string-to-file creates one from a literal.
Small workflow utility that validates a condition rather than materializing a string as a file.
faq
related
Spider a URL and return a wordlist for password crackers.
Wordlist and mined-word subdomain permutation.
Import, export, and upsert workflow data against an Airtable base.
Decode Android APK files into smali sources and resources.
Check a file's values against conditions and exit with a matching code.
Authenticated Route53 hosted-zone inventory.
A string feeds string-to-file, which writes it to disk as a file artifact the rest of the workflow can read.
Facts on this page come from the live Trickest tool library.