Carry out man in the middle TLS sniffs and manipulation.
sudo aptitude install libxslt-dev
sudo pip install mitmproxy
-p
: port to listen on
mitproxy -p 8000 -R http://example.com
curl -H 'Host: example.com' -i http://localhost:8000/
My best attempt was:
curl -k -H 'Host: github.com' https://localhost:8000
curl: (35) error:04091077:rsa routines:INT_RSA_VERIFY:wrong signature length
with -k
to allow sessions without a certificate but it failed. Knowing that the mitmproxy generated certificates are kept under ~/.mitmproxy
might help.
?
: helpq
: quitC
: clear screen