News for hackers. Stuff that matters.
Re:Charles – Web Debugging Proxy Application by ejcx on Sunday June 26, 2016 @01:18PM (#11981616)
I actually use a local instance of nginx/openresty as my web debugging proxy. I should write a blog on it or something, since it seems like few people do.

It's free. It's a breeze to set up, all you need to do is point it at the upstream server you are testing, and it has lua support so you can write code and modify requests on the fly, strip headers, inject things with code.

All the work is already done to manipulate HTTP requests and responses in nginx so it is actually really smooth, there is no learning curve of a new tool, and everything just works.

Re:Charles – Web Debugging Proxy Application by mhils on Sunday June 26, 2016 @03:25PM (#11982233)
Shameless plug: If you want scripting and you are not an nginx expert, mitmproxy has a really powerful Python scripting interface as well:

http://docs.mitmproxy.org/en/latest/scripting/inlinescripts.... https://github.com/mitmproxy/mitmproxy/tree/master/examples

Re:Charles – Web Debugging Proxy Application by bckmn on Sunday June 26, 2016 @01:36PM (#11981704)
I would greedily read a write-up about this.
Re:Charles – Web Debugging Proxy Application by ejcx on Sunday June 26, 2016 @01:48PM (#11981755)
Cool! I'll write it this week and get back to you.
Re:Charles – Web Debugging Proxy Application by GVRV on Sunday June 26, 2016 @02:27PM (#11981964)
Please post it here on HN when you're done. I'd love to read such a tutorial as well!
Re:Charles – Web Debugging Proxy Application by seanp2k2 on Sunday June 26, 2016 @03:40PM (#11982304)
Same, never thought of doing that even though I run Privoxy locally and on my home internet gateway (Ubiquiti ERLite which runs ARM Debian; could probably run nginx on it as well).

Do you set up anything to terminate SSL?

Re:Charles – Web Debugging Proxy Application by sidthegeek on Sunday June 26, 2016 @02:34PM (#11981999)
Me too! Please post the link on HN when you have it available!
Re:Charles – Web Debugging Proxy Application by chris_wot on Sunday June 26, 2016 @09:07PM (#11983649)
It's definitely possible, but for me it would have to be as easy to use as Charles Proxy. Charles doesn't cost that much money, and frankly I've used it so often that it feels like I got a bargain!
Re:Charles – Web Debugging Proxy Application by legohead on Sunday June 26, 2016 @08:05PM (#11983479)
This solution works with HTTPS traffic too?
Re:Charles – Web Debugging Proxy Application by nmb on Sunday June 26, 2016 @10:33PM (#11983878)
Would love to hear about your setup too.