Skip to content

Instantly share code, notes, and snippets.

@ryanza
Created May 21, 2018 03:42
Show Gist options
  • Save ryanza/ed59c5a41fa822d56f35fa2d2cd37693 to your computer and use it in GitHub Desktop.
Save ryanza/ed59c5a41fa822d56f35fa2d2cd37693 to your computer and use it in GitHub Desktop.
Basic mitm attack to change params to allow me to order from diff restaurants with MrD.
def request(flow):
if flow.request.url.startswith('https://api.mrdfood.com/landing-items'):
flow.request.query["latitude"] = -33.9056222
flow.request.query["longitude"] = 18.596244
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment