Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I use these two socat commands for MITM all the time on my own stuff so I can see the traffic:

  socat  -v TCP-LISTEN:666,forever,reuseaddr,fork TCP:example.com:8080

  socat -v TCP-LISTEN:8080,forever,reuseaddr,fork ssl:example.com:443


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: