I’m running mitmdump with the
nonanonymous flag enabled. I’m trying to get the value of the proxy username which is stored in the
self.username variable that’s defined in the
BasicProxyAuth class: https://github.com/mitmproxy/mitmproxy/blob/1dd078beb23aa0b483f945eed39c0136984f81a6/netlib/http/authentication.py#L76
I’ve tried tracing the code, and looking at the events available to inline scripts: http://docs.mitmproxy.org/en/v0.17/scripting/inlinescripts.html#events
I’ve tried looking at the
request events, and I just haven’t been able to find the data I need.
Any help would be appreciated.