Skip to content

Instantly share code, notes, and snippets.

@chodorowicz
Created July 11, 2016 22:54
Show Gist options
  • Select an option

  • Save chodorowicz/40c790aca3e8cf9cb14edffe3e4be495 to your computer and use it in GitHub Desktop.

Select an option

Save chodorowicz/40c790aca3e8cf9cb14edffe3e4be495 to your computer and use it in GitHub Desktop.
mitmproxy and mastermind
# simple mode with ignore all but specific domains
sudo mastermind --response-body $(pwd)/fake.json --url https://api.github.com/users/octocat/orgs --ignore '^(?!example\.com)(?!mitmproxy\.org)'
# ignore domains and pass through traffic, usefull for HTTPS domains (pinned ones) which cannot establish secure connection even with certificates installes
--ignore '^(?!example\.com)(?!mitmproxy\.org)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment