Re:Charles Proxy Automation
by rkachowski on Monday September 02, 2019 @10:21AM
(#20859245)
In recent times I've been using mitmproxy ( https://mitmproxy.org/ ) for almost everything I used to do with charles / fiddler back in 2011.
I use this in conjunction with hostapd to run a wifi network off of the back of a raspberry pi bridged to the main router, which lets me decrypt HTTPS traffic transparently when I need to do some serious app debugging. Of course there's still some setup required on the device to trust custom CA but I find it to be easier to configure than Charles.
Re:Charles Proxy Automation
by mmazzarolo on Monday September 02, 2019 @12:31PM
(#20860114)
I played a bit with mitmproxy last weekend (for the first time). I liked it but to me Charles still seems way more accessible. I'm genuinely curious, what did you find easier to configure?
Re:Charles Proxy Automation
by nachi on Monday September 02, 2019 @10:13AM
(#20859204)
Would it be possible to extend this and run Charles Proxy on a server? I have used Charles to capture mobile traffic and always felt that having a machine running Charles on the same Wifi network as the mobile device was a hassle.
Re:Charles Proxy Automation
by mmazzarolo on Monday September 02, 2019 @12:34PM
(#20860136)
Author here: it's totally doable. Please keep in mind that you won't be able to change settings values at runtime (e.g.: adding new rewrite rules).
I tried changing the configuration file but the changes aren't propagated to Charles if it's running.
I use this in conjunction with hostapd to run a wifi network off of the back of a raspberry pi bridged to the main router, which lets me decrypt HTTPS traffic transparently when I need to do some serious app debugging. Of course there's still some setup required on the device to trust custom CA but I find it to be easier to configure than Charles.
Device will use internet over VPN and on VPN server you will run Charles to catch everything.