Proxying allows you to intercept, inspect, and modify HTTP requests made by command-line tools or desktop applications using a web proxy such as Burp Suite or OWASP ZAP.


Proxychains (Linux)

Proxychains is a Linux utility that forces command-line tools to send their TCP traffic through a specified proxy.

Configuration

Edit the configuration file:

/etc/proxychains.conf

Comment out the default proxy (if present) and add your Burp/ZAP listener:

#socks4 127.0.0.1 9050
http    127.0.0.1 8080

Usage

Run any command through the proxy by prefixing it with proxychains.

proxychains -q curl http://<TARGET_IP>:<PORT>

-q (Quiet Mode): Hides Proxychains' connection logs for cleaner output.


Verification

After executing the command, verify that the request appears in Burp Suite HTTP History or OWASP ZAP History.