Ok, I got mitmproxy working correctly. What an awesome tool it is, thank you so much. I need one more thing though, I want it to automatically start when I boot up Ubuntu server 16.04.4. What’s the best way to accomplish that? I am looking for a startup script of some sort.
I tried this already:
sudo nano /etc/rc.local
/usr/local/bin/mitmproxy --showhost --ssl-insecure --set upstream_cert=false & exit 0
I got the following error:
Error: mitmproxy’s console interface requires a TTY. Please run mitmproxy in an interactive shell environment.
Clearly I’m not doing something right. I did see this script but it seems huge and I’m not sure it is what I am looking for.
What do you recommend? thanks