...
As I mentioned previously, if you ever see an https://
URL in mitmproxy, you're either dealing with an application that fails to validate SSL certificate chains or you have manually accepted the invalid certificate. We can easily check for this programmatically:
grep "scheme,5:https," ~/logs/flows.log
This command determines whether the client successfully sent or retrieved data through the HTTPS connection.
...