Updated Jul 15, 2026

Discovery

Fetch the same paths across many hosts without flooding them

Fetch many paths across many hosts while staying polite per host.

commit 9daab00 on Trickest · Go · MIT license

Free plan: 1 user, 3 execution slots, no card.

overview

What meg does

Give meg a hosts file and either a path or a paths file. -d sets milliseconds between requests to the same host; -c sets concurrency. -s keeps only matching status codes.

Use it when you want the same handful of paths across hundreds of hosts and need raw responses on disk for later grep. Ordering fetches one path across all hosts before the next path.

httpx probes liveness and metadata. ffuf exhausts paths on one host. meg spreads a small path set across many hosts and writes a response folder.

source github.com/tomnomnom/meg · commit 9daab00 on Trickest

image quay.io/trickest/meg:9daab00

use cases

meg use cases

Hunt one path across an entire estate

Request a single sensitive path, such as /.git/config or /actuator, across every host in scope and save the responses so you can grep for the ones that returned content.

Sweep many paths politely at scale

Feed a paths file and a hosts file, then let meg interleave requests across hosts so a large content-discovery sweep spreads load instead of pounding any single server.

Filter to interesting responses only

Save only responses with a specific status code so the output folder holds the hits worth reviewing rather than every 404, keeping triage fast on a wide run.

Run behind discovery and probing

Place meg after subdomain enumeration and an httpx probe so it fetches against live hosts only, then pass its response folder to downstream grep or extraction stages.

reference

meg inputs and flags

12 inputs
NameTypeFlagDescription
hosts-fileFILE·Line-by-line hosts with a protocol, the usual pipeline input from discovery.
paths-fileFILE·File of paths to request, one per line, fetched against every host.
pathSTRING·Request a single path directly as an argument instead of a paths file (use one or the other).
delaySTRING-dMilliseconds between requests to the same host (default 5000), the lever that keeps a sweep polite.
concurencySTRING-cConcurrency level across hosts (default 20).
save-only-responsesSTRING-sSave only responses with a specific status code, so the output folder holds the hits.
http-methodSTRING-XHTTP method for each request (default GET).
custom-headerSTRING-HSend a custom HTTP header with every request.

Showing key inputs. meg exposes 12 inputs in total.

Full flag reference (12 inputs)
NameTypeFlagDescription
pathSTRING·If you want to request just one path, you can specify it directly as an argument. You should use path or paths-file, arguments excludes one other.
delaySTRING-dMilliseconds between requests to the same host (default: 5000)
concurencySTRING-cSet the concurrency level (defaut: 20)
hosts-fileFILE·Line by line hosts with a protocol
paths-fileFILE·File with line by line paths
http-methodSTRING-XHTTP method (default: GET)
http-timeoutSTRING-tSet the HTTP timeout (default: 10000)
request-bodySTRING-bSet the request body
custom-headerSTRING-HSend a custom HTTP header
rawhttp-libraryBOOLEAN-rUse the rawhttp library for requests (experimental)
follow-redirectsBOOLEAN-LFollow redirects / location header
save-only-responsesSTRING-sSave only responses with specific status code

example

meg command examples

meg · command
# fetch /.git/config across live hosts; 2s delay, keep only HTTP 200s
meg -d 2000 -c 20 -s 200 -H "User-Agent: meg" /.git/config hosts.txt
Illustrative
https://www.example.com/.git/config (200 OK) -> out/www.example.com/_.git_config
https://app.example.com/.git/config (404) skipped (-s 200)
https://api.example.com/.git/config (200 OK) -> out/api.example.com/_.git_config
https://staging.example.com/.git/config (403) skipped (-s 200)
https://dev.example.com/.git/config (200 OK) -> out/dev.example.com/_.git_config
https://mail.example.com/.git/config (404) skipped (-s 200)
https://vpn.example.com/.git/config (200 OK) -> out/vpn.example.com/_.git_config
done: 4/7 saved

guidance

meg vs alternatives

Use meg when you want the same paths across many hosts and raw responses for review, without battering any single server. For liveness and metadata rather than saved bodies, use httpx. For templated vulnerability checks, use nuclei.

ToolPick it when
httpxProbes hosts for status, title, and tech. Use it to find live hosts before meg fetches paths against them.
ffufFast per-host content fuzzer. Better for exhausting one host's paths; meg spreads a few paths across many hosts.
nucleiTemplate-based scanner. Tests for known issues rather than saving raw responses for manual grepping.

faq

meg FAQ

It fetches one path across all hosts before moving to the next path, and waits a configurable delay between requests to the same host (default 5000ms via -d). That ordering and pacing spread load.

Either, but not both. Use the path argument to fetch one path across all hosts, or a paths file to fetch many. The two are mutually exclusive.

Pass -s with a status code so meg saves only matching responses. That keeps the output folder focused on hits worth reviewing.

ffuf is better for exhausting paths on one host. meg spreads a small path set across many hosts and saves raw responses for later review.

Subdomain enumeration to build the host list, then an httpx probe so meg fetches only against live hosts. That avoids wasting requests on dead targets.

Use -H with the header string. Include it once for a shared header such as a User-Agent across the whole sweep.

Run meg yourself

A host list is probed by httpx, the live hosts feed meg, which fetches a set of paths across all of them and writes the saved responses as a folder to review.

Facts on this page come from the live Trickest tool library.