the_open_door
coffee
ESEN
← Tools

curlLOLBIN

HTTP client to test payloads (traversal, webshells, RCE).

Legitimate system binary (LOLBIN): not an offensive tool as such, but an attacker leverages it because it is usually already installed and raises fewer suspicions than dropping a dedicated tool.

A command-line HTTP client, essential for testing the web by hand: send parameters, headers and cookies, upload files and fire LFI, traversal, XXE, SSRF or webshell payloads. The --path-as-is option stops it from normalising ../ paths.

Family Access, shells & transfer

Flags --path-as-is -s -X -d -H

Concepts Local File Inclusion (LFI) & Path Traversal, File Upload to RCE, OS Command Injection

Cheatsheet LFI / traversal / RFI

Installation

sudo apt install -y curl

Useful commands5 commands

Appears in

Some machines where its use is documented; not an exhaustive list.