# ronin-web-proxy 1 "2022-01-01" Ronin "User Manuals" ## SYNOPSIS `ronin-web proxy` [*options*] [`--host` *HOST*] [`--port` *PORT*] ## DESCRIPTION Starts a HTTP proxy server. ## OPTIONS `-H`, `--host` *HOST* The host that the proxy server will listen on. Defaults to `localhost`. `-p`, `--port` *PORT* The port that the proxy server will listen on. Default to `8080`. `-b`, `--show-body` Controls whether to display the request/response bodies or not. `--rewrite-requests` {*STRING*:*REPLACE*|/*REGEXP*/:*REPLACE*} Rewrites all request bodies by replacing the *STRING* or *REGEXP* with the given *REPLACE* string. `--rewrite-responses` {*STRING*:*REPLACE*|/*REGEXP*/:*REPLACE*} Rewrites all response bodies by replacing the *STRING* or *REGEXP* with the given *REPLACE* string. `-h`, `--help` prints help information. ## EXAMPLES `sudo ronin-web proxy --host 0.0.0.0 --port 80` Listen on the external interface on port 80. `ronin-web proxy --rewrite-responses https:http` Replace every occurrence of `https` with `http` in the response bodies. ## AUTHOR Postmodern ## SEE ALSO ronin-web-server(1)