Questions tagged [mitmproxy]

mitmproxy is an interactive console tool that allows network traffic to be inspected and edited on the fly.

Its features include:

  • Intercept HTTP/HTTPS requests and responses and modify them on the fly.
  • Save complete HTTP/HTTPS conversations for later replay and analysis.
  • Replay the client-side of an HTTP/HTTPS conversations.
  • Replay HTTP/HTTPS responses of a previously recorded server.
  • Reverse proxy mode to forward traffic to a specified server.
  • Transparent proxy mode on OSX and Linux.
  • Make scripted changes to HTTP/HTTPS traffic using Python.
  • SSL certificates for interception are generated on the fly.

Project Homepage

441 questions
-1
votes
1 answer

libmproxy and mitmproxy documentation

I am new to the mitmproxy world. I need to write a python script that would log all the requests made from a certain app on Genymotion emulator. Now, I learned that mitmproxy can be helpful for my requirement. So I have successfully set up mitmproxy…
qre0ct
  • 5,680
  • 10
  • 50
  • 86
-1
votes
2 answers

How to discover undocumented mimdump inline script parameters?

I am trying to parse different elements of the request and response header with inline scripting and mitmdump. Some features are undocumented. I will post the lessons learned in reply to this question.
rvaneijk
  • 663
  • 6
  • 20
-2
votes
2 answers

Python regex help :)?

I'm trying to match, last letter in string 'onlin' as any and then replace it if it matches with word offline. No luck. Please give advice, cheers. import mitmproxy import re def response(flow): old = b'Onlin\w{1}' new = b'Offline' …
-3
votes
1 answer

perform MITM attack in HTTPS traffic

As we know, we can successfully capture login credentials over unencrypted HTTP traffic. Although HTTPS enforces end-to-end encryption, it is still possible to perform it over HTTPS. But i'm a little confused about the detailed steps. Can someone…
-3
votes
1 answer

Could a compromised root CA impersonate any SSL certificate?

Suppose a trusted root CA were compromised / coerced into producing fraudulent SSL certificates. What would such certificates be able to achieve, specifically about MITM type attacks? For example take Facebook, if I go there I get (1) a padlock,…
-4
votes
1 answer

Error installing mitmproxy

every time i run sudo pip install mitmproxy, i get the following errors: `Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_root/lxml/setup.py';exec(compile(getattr(tokenize, 'open',…
Rg Dixit
  • 73
  • 9
1 2 3
29
30