Skip to content

yujunz/cheat-the-client

Repository files navigation

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

About

demo scripts of mitmstack

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages