Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 736 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 736 Bytes

Demo script for presentation "Cheat The Client"

Replacing openstack with mitmproxy in request and reponse

Cheat Sheet

simple replacement

python -m SimpleHTTPServer
mitmdump -dd -s "./replace.py openstack mitmproxy"

curl -s http://localhost:8000/openstack-logo.png --noproxy localhost |imgcat
curl -s http://localhost:8000/openstack-logo.png --proxy http://localhost:8080 |imgcat

curl -s http://localhost:8000/clouds.json --noproxy localhost |ack --passthru 'openstack|mitmproxy'
curl -s http://localhost:8000/clouds.json --proxy http://localhost:8080 |ack --passthru 'openstack|mitmproxy'

nova list multiplier

nova list
export http_proxy=localhost:8080
mitmdump -dd -s "multiply.py 5"
nova list