generate a root certificate for MitmProxy

Hi i which to generate a root certificate for MitmProxy app it exists 4 cer's in home location mitmproxy-ca.pem The private key and certificate in PEM format. mitmproxy-ca-cert.pem The certificate...

Transparent SSL/TLS proxy for non-HTTP(S) connections (tool suggestions)

I'm looking for a transparent SSL/TLS proxy tool to capture (and change?) generic SSL/TLS traffic (man-in-the-middle attack). Basically something that can generate certificates on the fly with its...

Create a web service that can answer to WhatsApp messages

I'm trying to understand if it's possible to create a web service that can send and answer to WhatsApp messages. I searched on the web and I found the WhatsAPI, I guess this solution work fine,...

Mitmproxy tampering GET and POST request/response in one script

A POST request to a certain url(http://test.com) is like: { "messageType": "OK", "city": { "Name": "Paris", "Views": { "1231": { "id": 4234, "enableView":...

Google Chrome doesn't trust mitmproxy's certfificates

I'm running mitmdump (from mitmproxy) on my Macbook Pro, and I'm connecting to the proxy through my Windows desktop PC. However, Chrome (running on the PC) refuses to connect to so many sites...

ImportError: No module named 'thread'

when I run mitmproxy command in command line, I get the following error. % mitmproxy Traceback (most recent call last): File "/usr/local/bin/mitmproxy", line 7, in <module> from...

Can't find mitmproxy-ca-cert.pem

I installed mitmproxy on a Mac and a Linux but I can't seem to find the certificate. All tutorials seem to assume it is downloaded upon installation but I can't find it. Any ideas?

pip install dotenv error code 1 Windows 10

I am in a virtualenv and trying to run through pip installs. I know the code works because outside the virtualenv this code has worked. I am running on a Windows 10 machine. Using the Git Bash...

Using mitmproxy inside python script

I new in mitmproxy. But I can't figure out how to used that in python script. I want to put mitmproxy into my python script just like a library and also specific everything like port or host and...

Mitmproxy Client connection killed by block_global

Installed the latest version of mitmproxy, added cert, all like in instructions. Proxy not working, can't reach any site...what I'm doing wrong? Thanks for your time.

MITMProxy how to remove flows so they do not show up in MITMWeb

I'd like to use MITMProxy Python scripting to remove flows that i find useless from the web interface. Lets say i kill a flow def request(flow): if("ads" in flow.request.url): ...

mitmproxy & python - ignore all hosts with https/ssl

I've done alot of research, and I can't find anything which actually solves my issue. Since basically no site accepts mitmdumps certificate for https, I want to ignore those hosts. I can access a...

Mitm proxy with certificate pinned application

I am trying to simulate MITM attack over signal's android messaging application. It's open source, so I put the mitmproxy-ca-cert.pem in android application for pinning and in the mobile trusted...

Cannot establish TLS with client

I have configured android APP to bypass certificate pinning using some modification of app and installed mitm certificate as system and user in android After running mitmproxy and mitmdump i got...

Some app could not data such as facebook load when uses mitmproxy

I installed a mitmproxy on MacOS and run like $ mitmweb -p 9999 Then I open an Ipad and goto Wifi -> manual setting proxy. Server: 192.168.1.202 Port: 9999 Chrome worked fine but some app can...

How do I set up Transparent Proxy on Windows proxy machine?

The current documentation on how to set up a transparent proxy does not include Windows: https://docs.mitmproxy.org/stable/howto-transparent/ I am wondering if someone can please explain to me how...

Problem with implementing 2captcha, python selenium

I have a problem with implementing 2captcha in python selenium. Below is the code. Captcha not solving. No errors pop up for me but the captcha does not resolve import requests from time import...

How to allow firefox to connect to webpage through mitmproxy?

I have installed mitmproxy (macOS Mojave) to monitor the complete traffic through a browser. However, the browser stops connecting to various webpages and give a warning Did Not Connect: Potential...

MITM Proxy - How to intercept user requests in reverse proxy mode from inside/outside Web Application Server

I am new to mitm. https://mitmproxy.org/ AppServer1 (A windows 2016 server) has our IIS website application (WebApp1) running (its running fine without any problems currently). I have added an...

Android emulator under Docker

I'm looking for the easiest way to run an apk file within an Android emulator, the whole process under Docker. I've tried "budtmo/docker-android-x" images but it seems complicated to me or...

Appium Hybrid App Error. org.openqa.selenium.NoSuchElementException: An element could not be located

Appium Hybrid app testing throws "org.openqa.selenium.NoSuchElementException: An element could not be located" error. Environment: IntelliJ Chrome: Version 87.0.4280.66 Appium: Version 1.18.3 The...

How to use python mitm to capture requests and replay on request via flask

The idea I have is to run a flask webapp, encapsulating mitmproxy, so if I use the proxy and perform a get request to specific URL, capture it (data + session), and replay it when initiated by...

Client may not trust proxy certificate although add_upstream_certs_to_client_chain is set to True

I'm trying to perform MITM between a remote server and IoT internet bridge device but even though I set add_upstream_certs_to_client_chain=true, I'm still getting 'The client may not trust the...

Is it possible to "capture/intercept" and download the stock firmware file during an OTA update?

My Goal: Extract my phones stock firmware (specifically boot/recovery image) during an OTA update from manufacturer. Why I Want To: I've been trying to get root access or flash a custom recovery...

mitmproxy transparent proxy over mikrotik not working

I've setup transparent proxy using mitmproxy on kali linux. I followed the instruction on https://docs.mitmproxy.org/stable/howto-transparent/ to setup on linux. And mikrotik also has been setup...

Can't see WhatsApp traffic using mitmproxy

I have WhatsApp installed on an iPhone connected to mitmproxy running on a laptop. I can see the intercepted network requests for other apps like safari no problem. But for WhatsApp, I see no...

Add self-signed certificates in Android TV

Anyone knows how to install a self-signed certificate into an Android Smart TV (Android 9)? I need to set up a transparent proxy with mitmproxy to capture plaintext traffic. If I try so without...

MITM Proxy - intercept & Modify https content through python script

I'm trying to intercept and modify https content using Mitm Proxy. It works really well using the GUI but I'd like to use a python script. I tried this script: from mitmproxy import http def...

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...

iOS TLS/SSL Pinning using NSRequiresCertificateTransparency key in Info.plist

I want to secure my app against man-in-the-middle (mitm) attacks using SSL Pinning. By default it is possible to use a proxy like Charles or mitmproxy to intercept traffic, and decrypt it using a...