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
0
votes
1 answer

Use mitmproxy to translate a form key/value to a body post

I am trying to use mitmproxy to adapt requests from a client (monitoring agent) which I can't change. The client cannot POST data, e.g. JSON or SOAP XML data to the request. It can only post form name/value pairs (or header name/values). I'm trying…
ewan.chalmers
  • 16,145
  • 43
  • 60
0
votes
1 answer

mitmproxy installation error

I trying to install mitmproxy on centos 6.4 with python 2.6.6, I am getting below error when execute install command. #pip install mitmproxy Downloading/unpacking mitmproxy Running setup.py egg_info for package mitmproxy Traceback (most recent…
Vaibhav Panmand
  • 349
  • 4
  • 10
0
votes
1 answer

Debian mitmproxy fails to find/load python-2.7 modules installed via pip

I'm running Debian wheezy and have installed mitmproxy from system packages, and pushbullet.py (https://github.com/randomchars/pushbullet.py) using pip, ie. apt-get install mitmproxy pip install pushbullet.py Pushbullet works when I import from…
0
votes
1 answer

Alternatives to using a CA certificate

Is there an alternative to installing a CA SSL certificate for intercepting traffic for only one site? I don't like the idea of being able to modify any request, and would like to technically limit it to one domain only, is this possible or if using…
Ryan Leach
  • 4,262
  • 5
  • 34
  • 71
0
votes
0 answers

mitmproxy replace entire HTML tag

Well....looks like this is my first post to stackoverflow. Totally stumped and wasted hours working on this little project and I'm about ready to give up. Hopefully someone can help me. I've been working with mitmproxy. I'm writing a python…
timtierney
  • 11
  • 2
0
votes
2 answers

How to configure 2 lan cards on ubuntu

I want to configure 2 lan cards on 1 pc such that it seems that both are connected on different networks. Also i want the gateway of one lan card be the ip address of the other so that the traffic of one passes through the second. I am applying…
0
votes
2 answers

Hardware requirments for mitmproxy

I am trying to implement mitmproxy on my own PC. Do I need 2 lan cards for this. I cannot understand how to change the gateway of my computer to the mitmproxy server address.
0
votes
1 answer

ENOENT error on "connect"

I'm trying to create an HTTP/S MitM forwarding proxy using Node.js. The way I'm tackling this project is by reusing the solution found in ./lib/proxy.js file of the NPM Proxy Cache project created by @runk after he raised the issue on the Node HTTP…
m_vdbeek
  • 3,704
  • 7
  • 46
  • 77
0
votes
0 answers

intercept http request using mitmproxy

I am trying to intercept all the http/https request from my android device by using mitmproxy on my Ubuntu pc. Both these devices are on the same network , but running mitmproxy -T --host in the terminal remains blank even after I have made multiple…
Rg Dixit
  • 73
  • 9
0
votes
1 answer

ValueError: [u'path'] while installing mitmproxy

Getting long msvc9 compiler errors when trying to install mitmproxy with pip. I've so far reinstalled every MSVC version on my computer with the required 64x version, with no luck at all. I've been trying to solve this on my own for over 2 days now,…
Echocage
  • 270
  • 2
  • 4
  • 14
0
votes
1 answer

How can i fix this mitmproxys SyntaxError?

i´m in the process to install mitmproxy on a Amazon AWS EC2 Server, but i´ve i write mitmproxy into the terminal i get the following exception. By Google i haven´t found anythin :( i hope someone here can help me. (Maybe i´ve posted a little bit to…
SnowN
  • 53
  • 2
  • 9
-1
votes
1 answer

local mitmproxy between dual NICs (iptables)

Here's the physical layout: IOT_device--eth_cable--router2--eth_cable--usb_eth_interface--linux_box:internal_wifi~~wifi_connection~~router1--eth_cable--modem--internet Here's what I have successfully set up: router1 uses 192.168.1.x (interface…
-1
votes
1 answer

How to install mitmproxy certificate on Windows 10?

The document said " Now start a browser on the device, and visit the magic domain mitm.it." But I visit the domain mitm.it, it does not give certification but said "If you can see this, traffic is not passing through mitmproxy." The link in picture…
Haha TTpro
  • 5,137
  • 6
  • 45
  • 71
-1
votes
1 answer

how to simulate timeout in mitmproxy addon?

mitmproxy is a library in Python (python-3.x) to monitor, manipulate, and debug HTTP protocol. It encapsulates an HTTP request into a Flow object and allows to manipulate them via addons. I wanna stop a flow if it matches a condition. So the client…
Mostafa Barmshory
  • 1,849
  • 24
  • 39
-1
votes
1 answer

Directly send an bare HCI_ACL packet

Could someone tell me that is it possible to send an bare HCI_ACL bluetooth packet directly without any upper data layer contains in it? Or could someone tell me is there any MITMproxy for bluetooth?
1 2 3
29
30