From 3c25db679e8f29576cdde2a9878a44eec5268f0f Mon Sep 17 00:00:00 2001 From: Daniel Markstedt Date: Thu, 30 Dec 2021 21:38:33 -0800 Subject: [PATCH] Update README for the UA feature --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e9fdebe..da58a97 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,13 @@ $ python3 proxy.py --port 5001 Advanced Options ================ -There are currently two advanced options that changes how Macproxy formats the html code it sends back to the user agent browser. +Use the advanced options to change how Macproxy presents itself to the web, and how it processes the data it gets back. + +By default, Macproxy will forward the actual User-Agent string of the originating browser in its request headers. This option overrides this with an arbitrary string, allowing you to spoof as any browser. For instance, Opera Mini 8.0 for J2ME: + +``` +$ python3 proxy.py --user-agent "Opera/9.80 (J2ME/MIDP; Opera Mini/8.0.35158/36.2534; U; en) Presto/2.12.423 Version/12.16" +``` Selects the BeatifulSoup html formatter that Macproxy will use, e.g. the minimal formatter: ```