Identifier / Programs / Linux and Unix
lwp-request
Simple HTTP client. Built with libwww-perl. tldr-pages
GTFOBins file-read 1 documented command
How lwp-request is abused
file-read
Each abuse is GTFOBins's category and the options and words it uses; the full write-up is on GTFOBins's page for lwp-request.
1 documented command
file-read unprivileged, with sudo
lwp-request file:///path/to/input-fileIdentifyThe command the identifier reads trips no Sigma process-creation rule. This command is from GTFOBins, at commit acd524623f9c of 2026-05-27, under the GPL-3.0, with no warranty. Changed: Markdown is shown formatted. The source is in lolbas-gtfobins-commands.json.gz, and the full entry is on GTFOBins’s page for lwp-request. The identifier reads the line that runs lwp-request.
Everyday use
Make a simple GET request
lwp-request -m GET http://example.com/some/pathIdentifyUpload a file with a POST request
lwp-request <path/to/file -m POST http://example.com/some/pathIdentifyMake a request with a custom user agent
lwp-request -H 'User-Agent: user_agent -m METHOD http://example.com/some/pathIdentifyNone of the 3 examples the identifier reads matches GTFOBins abuse or trips a Sigma process-creation rule.