Live data from Hacker News

Mitmproxy 8

mitmproxy.org

41–50 of 63 posts

Re: Mitmproxy 8

#41
post #21

I've been looking to use mitmproxy to capture traffic in a project, but the serialization format is something called TNetStrings [1], which postfixes types and is thus not streamable. There seem to be some efforts to switch flow captures to use SQLite [2] or Protobuf [3], although PCAP would also be nice, I think. [1] https://tnetstrings.info/ [2] https://github.com/mitmproxy/mitmproxy/issues/3075 [3] https://github.…

Could you explain what your use case is? What format would you prefer?

Re: Mitmproxy 8

#42
post #40
post #31

Earlier quoted context omitted.

FWIW, Burp also does this. But I'm not sure I'd argue that it actually has a nicer UI ;)

Shameless plug: We (mitmproxy) have a somewhat reasonable web UI (React/Typescript), but I think there's a lot more potential here. We're also looking for Google Summer of Code students at the moment, so if someone wants to spend a few months hacking on cool FOSS stuff while getting a nice stipend for it, please check out https://github.com/mitmproxy/mitmproxy/issues/5048 and reach out to me. I'd love to work with go…

I'm still loving the TUI. Thanks for the awesome work.

Re: Mitmproxy 8

#43
I’ve used mitmproxy with the transparent proxy mode for decrypting VPN traffic. Works really well. The mitmweb feature is quite usually too.

Re: Mitmproxy 8

#44
mitmproxy dev here! Happy to answer any questions. Answers may take a while as I'm on a remote mountain hut, but please shoot. :)

Re: Mitmproxy 8

#45

Neat! Anyone happen to know if there's progress on interactive interception of TCP TLS streams (non-http)?

I was reverse engineering my microwave a few years ago and couldn't MITM on XMPP because of the TLS so I used a jailbroken iPhone and was able to "swizzle" the Objective-C methods to log the data at a method right before encryption started. Fun.

There was another XMPP MITM I could have used, but I think I was already invested in figuring out the first idea before I learned of the simpler, existing way:

https://github.com/BrianHenryIE/XMPPFrameworkLogger

https://github.com/iamultra/xmppmitm

Re: Mitmproxy 8

#46
post #39
post #27

I've used several other apps like Mitmproxy, and some of them have nicer UIs... but Mitmproxy is the only one I've found that supports MITM'ng connections using client certificates.

er. don't they all? at least all the sophisticated ones. otherwise you can't see the contents of https/etc requests. Charles does this as well for example, and it's reasonably popular: https://www.charlesproxy.com/ AFAICT it's roughly as widely used as mitmproxy, and e.g. google trends favors Charles by a moderate amount: https://trends.google.com/trends/explore?geo=US&q=%22charles... or are you referring to some oth…

I assume he means client certificates for HTTPS mutual auth.

https://techcommunity.microsoft.com/t5/iis-support-blog/clie...

Re: Mitmproxy 8

#47
post #44

mitmproxy dev here! Happy to answer any questions. Answers may take a while as I'm on a remote mountain hut, but please shoot. :)

No question, just a thanks. First used mitmproxy to build a demo CDN to show off for a customer that hadn't signed yet, so they wouldn't give me certs (reasonable). It was so simple to use, it scares people. I had to explain how CA trusts worked before the company would consider using it to show off.

Re: Mitmproxy 8

#48
post #39
post #27

I've used several other apps like Mitmproxy, and some of them have nicer UIs... but Mitmproxy is the only one I've found that supports MITM'ng connections using client certificates.

er. don't they all? at least all the sophisticated ones. otherwise you can't see the contents of https/etc requests. Charles does this as well for example, and it's reasonably popular: https://www.charlesproxy.com/ AFAICT it's roughly as widely used as mitmproxy, and e.g. google trends favors Charles by a moderate amount: https://trends.google.com/trends/explore?geo=US&q=%22charles... or are you referring to some oth…

I think you're confusing server certificates and client certificates - I'm specifically referring to client certificates here, aka TLS mutual authentication.

Also, isn't Charles OSX only?

Re: Mitmproxy 8

#49
post #48
post #39

Earlier quoted context omitted.

er. don't they all? at least all the sophisticated ones. otherwise you can't see the contents of https/etc requests. Charles does this as well for example, and it's reasonably popular: https://www.charlesproxy.com/ AFAICT it's roughly as widely used as mitmproxy, and e.g. google trends favors Charles by a moderate amount: https://trends.google.com/trends/explore?geo=US&q=%22charles... or are you referring to some oth…

I think you're confusing server certificates and client certificates - I'm specifically referring to client certificates here, aka TLS mutual authentication. Also, isn't Charles OSX only?

OSX-only: I think so. But google trends doesn't care about that, so the scale-of-support side still stands.

And yeah, I wasn't thinking of client certs for auth purposes. I assume that'll hide the encryption keys, so you need a proxy that can do its own exchange? I have no idea what support for that looks like, I've never tried.

Post reply on HN