{"id":16921976,"url":"https://github.com/yujunz/cheat-the-client","last_synced_at":"2026-05-19T00:04:21.596Z","repository":{"id":91505231,"uuid":"85011786","full_name":"yujunz/cheat-the-client","owner":"yujunz","description":"demo scripts of mitmstack","archived":false,"fork":false,"pushed_at":"2017-03-16T05:34:46.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-25T20:23:59.377Z","etag":null,"topics":["demo-script"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yujunz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-15T00:44:08.000Z","updated_at":"2019-02-24T13:09:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"d6e186d7-faf5-46ef-9704-373604a8a1e0","html_url":"https://github.com/yujunz/cheat-the-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yujunz%2Fcheat-the-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yujunz%2Fcheat-the-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yujunz%2Fcheat-the-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yujunz%2Fcheat-the-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yujunz","download_url":"https://codeload.github.com/yujunz/cheat-the-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244711946,"owners_count":20497417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["demo-script"],"created_at":"2024-10-13T19:53:39.150Z","updated_at":"2026-05-19T00:04:21.535Z","avatar_url":"https://github.com/yujunz.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Demo script for presentation \"Cheat The Client\"\n\nReplacing `openstack` with `mitmproxy` in request and reponse\n\n## Cheat Sheet\n\n### simple replacement\n\n```\npython -m SimpleHTTPServer\nmitmdump -dd -s \"./replace.py openstack mitmproxy\"\n\ncurl -s http://localhost:8000/openstack-logo.png --noproxy localhost |imgcat\ncurl -s http://localhost:8000/openstack-logo.png --proxy http://localhost:8080 |imgcat\n\ncurl -s http://localhost:8000/clouds.json --noproxy localhost |ack --passthru 'openstack|mitmproxy'\ncurl -s http://localhost:8000/clouds.json --proxy http://localhost:8080 |ack --passthru 'openstack|mitmproxy'\n```\n\n### nova list multiplier\n\n```\nnova list\nexport http_proxy=localhost:8080\nmitmdump -dd -s \"multiply.py 5\"\nnova list\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyujunz%2Fcheat-the-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyujunz%2Fcheat-the-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyujunz%2Fcheat-the-client/lists"}