# Latest

**URL:** https://discourse.mitmproxy.org/latest.md?no_subcategories=false&page=1

[Latest](https://discourse.mitmproxy.org/latest.md) · [Categories](https://discourse.mitmproxy.org/categories.md)

**Page:** 2

---

## [Being able to edit an APK's proxy](https://discourse.mitmproxy.org/t/being-able-to-edit-an-apks-proxy/1634)

<div class="topic-metadata">

**Author:** [@tozakisanafanac](https://discourse.mitmproxy.org/u/tozakisanafanac)\
**Replies:** 1\
**Last updated:** [August 14, 2019, 1:32am UTC](https://discourse.mitmproxy.org/t/being-able-to-edit-an-apks-proxy/1634 "2019-08-14T01:32:01Z")

</div>

hey guys! i wonder if it’s possible to edit an apk’s proxy (example the app requests blabla.com/photos/1.jpg to use it in the app) so i can change the links to my own hosting’s link with the same file name and same folde…

---

## [Ignore all clientconnect and clientdisconnect message in log](https://discourse.mitmproxy.org/t/ignore-all-clientconnect-and-clientdisconnect-message-in-log/1631)

<div class="topic-metadata">

**Author:** [@kennylbj](https://discourse.mitmproxy.org/u/kennylbj)\
**Replies:** 0\
**Last updated:** [August 9, 2019, 8:13am UTC](https://discourse.mitmproxy.org/t/ignore-all-clientconnect-and-clientdisconnect-message-in-log/1631 "2019-08-09T08:13:14Z")

</div>

I have read through how-to-ignore-domain doc but can’t find a way to ignore all clientconnect and clientdisconnect message in mitmdump log (all I wanna log are websocket messages only). Is there a way to diable that mes…

---

## [How to ignore everything but a list of IPs/domains and their subdomains in transparent mode?](https://discourse.mitmproxy.org/t/how-to-ignore-everything-but-a-list-of-ips-domains-and-their-subdomains-in-transparent-mode/871)

<div class="topic-metadata">

**Author:** [@blacktable](https://discourse.mitmproxy.org/u/blacktable)\
**Replies:** 6\
**Last updated:** [August 9, 2019, 8:09am UTC](https://discourse.mitmproxy.org/t/how-to-ignore-everything-but-a-list-of-ips-domains-and-their-subdomains-in-transparent-mode/871 "2019-08-09T08:09:11Z")

</div>

The documentation at https://mitmproxy.readthedocs.io/en/v2.0.2/features/passthrough.html#tutorial was not helpful. I tried combinations of --ignore '(?!\<domain or ip\>|\<domain2 or ip2\>)' and --ignore '(?!\<domain or ip\>)…

---

## [Can mitmproxy terminate TLS for itself?](https://discourse.mitmproxy.org/t/can-mitmproxy-terminate-tls-for-itself/1627)

<div class="topic-metadata">

**Author:** [@mdz](https://discourse.mitmproxy.org/u/mdz)\
**Replies:** 1\
**Last updated:** [August 9, 2019, 12:46am UTC](https://discourse.mitmproxy.org/t/can-mitmproxy-terminate-tls-for-itself/1627 "2019-08-09T00:46:43Z")

</div>

I want clients to connect to mitmproxy using TLS, i.e. http\_proxy=https://mitmproxy.example.com/ I know mitmproxy has support for intercepting HTTPS connections through the proxy, but I’m talking about the incoming conn…

---

## [Tls1.1 to 1.2](https://discourse.mitmproxy.org/t/tls1-1-to-1-2/1624)

<div class="topic-metadata">

**Author:** [@bibi](https://discourse.mitmproxy.org/u/bibi)\
**Replies:** 0\
**Last updated:** [August 1, 2019, 2:53pm UTC](https://discourse.mitmproxy.org/t/tls1-1-to-1-2/1624 "2019-08-01T14:53:04Z")

</div>

Hello, I have an app who only talks on tls 1.1 and since few days, requested server now only talk on tls v1.2 I am using mitmproxy docker image, but it’s not working, and I am getting this error Cannot establish TLS w…

---

## [Mitmproxy Transparent mode not working](https://discourse.mitmproxy.org/t/mitmproxy-transparent-mode-not-working/1363)

<div class="topic-metadata">

**Author:** [@rafareyes7](https://discourse.mitmproxy.org/u/rafareyes7)\
**Replies:** 1\
**Last updated:** [August 1, 2019, 5:37am UTC](https://discourse.mitmproxy.org/t/mitmproxy-transparent-mode-not-working/1363 "2019-08-01T05:37:54Z")

</div>

Hi guys, I’m trying to set up a mitmproxy in transparent mode following the instructions from the official-doc howto-transparent but is not working. I want to set mitmproxy in transparent mode to avoid any client confi…

---

## [HTTP /S Traffic monitoring on linux](https://discourse.mitmproxy.org/t/http-s-traffic-monitoring-on-linux/1618)

<div class="topic-metadata">

**Author:** [@shyamsandeep](https://discourse.mitmproxy.org/u/shyamsandeep)\
**Replies:** 0\
**Last updated:** [July 19, 2019, 2:39pm UTC](https://discourse.mitmproxy.org/t/http-s-traffic-monitoring-on-linux/1618 "2019-07-19T14:39:11Z")

</div>

Hi All i have been trying from past few days to install mitmproxy on my linux machine (ubuntu 14.04) but i couldn’t get it working, did anyone got it working with detailed steps on how to install and see it working our…

---

## [Intercept ack via MITMWeb and modify and send manually](https://discourse.mitmproxy.org/t/intercept-ack-via-mitmweb-and-modify-and-send-manually/1616)

<div class="topic-metadata">

**Author:** [@jkepps](https://discourse.mitmproxy.org/u/jkepps)\
**Replies:** 0\
**Last updated:** [July 18, 2019, 1:42am UTC](https://discourse.mitmproxy.org/t/intercept-ack-via-mitmweb-and-modify-and-send-manually/1616 "2019-07-18T01:42:27Z")

</div>

Hello all, I did a search and didn’t find what i was looking for. I am using MITMWeb to view messages, edit, and resend them. This is working well. However, I need to intercept the ack response from a request, edit it …

---

## [Can't find har export on Windows 10 after mitmdump](https://discourse.mitmproxy.org/t/cant-find-har-export-on-windows-10-after-mitmdump/1295)

<div class="topic-metadata">

**Author:** [@nittolio](https://discourse.mitmproxy.org/u/nittolio)\
**Replies:** 2\
**Last updated:** [July 15, 2019, 1:32pm UTC](https://discourse.mitmproxy.org/t/cant-find-har-export-on-windows-10-after-mitmdump/1295 "2019-07-15T13:32:41Z")

</div>

Hi there, I’m trying to dump HAR file using mitmdump on Win 10. I am using the example har\_dump. mitmdump -s examples/complex/har\_dump.py -w dump.mitm --set hardump=dump.har I launch this command in cmd/powershell and…

---

## [Intercepting and re-writing without upstream connection](https://discourse.mitmproxy.org/t/intercepting-and-re-writing-without-upstream-connection/1614)

<div class="topic-metadata">

**Author:** [@andrewd13](https://discourse.mitmproxy.org/u/andrewd13)\
**Replies:** 0\
**Last updated:** [July 15, 2019, 1:04pm UTC](https://discourse.mitmproxy.org/t/intercepting-and-re-writing-without-upstream-connection/1614 "2019-07-15T13:04:32Z")

</div>

I have an addon which intercepts requests to a given server and replaces their content entirely. The script is a little more complex than this, but that’s the gist of it. Example: def request(self, flow): if self.\_dom…

---

## [Strange mitmdump behavior in Windows](https://discourse.mitmproxy.org/t/strange-mitmdump-behavior-in-windows/1612)

<div class="topic-metadata">

**Author:** [@Robert](https://discourse.mitmproxy.org/u/Robert)\
**Replies:** 0\
**Last updated:** [July 15, 2019, 11:34am UTC](https://discourse.mitmproxy.org/t/strange-mitmdump-behavior-in-windows/1612 "2019-07-15T11:34:01Z")

</div>

A single call to mitmdump.exe in Windows results in not one, but two processes named mitmdump.exe, as observed in Task Manager. I am certain that both processes arise from the same call to mitmdump.exe because Task Mana…

---

## [Har\_dump.py not dumping in Windows](https://discourse.mitmproxy.org/t/har-dump-py-not-dumping-in-windows/1610)

<div class="topic-metadata">

**Author:** [@Robert](https://discourse.mitmproxy.org/u/Robert)\
**Replies:** 2\
**Last updated:** [July 15, 2019, 6:55am UTC](https://discourse.mitmproxy.org/t/har-dump-py-not-dumping-in-windows/1610 "2019-07-15T06:55:16Z")

</div>

The command mitmdump -w dump works as expected in Windows 10. When I enter the command mitmdump -s har\_dump.py test.har mitmdump reports “Loading script har\_dump.py” with no error messages. However, no file called …

---

## [Certutil fails with self-signed certificate error](https://discourse.mitmproxy.org/t/certutil-fails-with-self-signed-certificate-error/946)

<div class="topic-metadata">

**Author:** [@qyaz](https://discourse.mitmproxy.org/u/qyaz)\
**Replies:** 5\
**Last updated:** [July 14, 2019, 6:21am UTC](https://discourse.mitmproxy.org/t/certutil-fails-with-self-signed-certificate-error/946 "2019-07-14T06:21:16Z")

</div>

hi. I am trying to add the mitmproxy-ca-cert.p12 certificate via cli in Windows 10 (17.09) with: certutil.exe -importpfx Root mitmproxy-ca-cert.p12 It asks an admin prompt. So inside an admin cmd.exe, it fails with: c…

---

## [How to specify proxy URI (Path) for mitmproxy - Rewrite path](https://discourse.mitmproxy.org/t/how-to-specify-proxy-uri-path-for-mitmproxy-rewrite-path/1599)

<div class="topic-metadata">

**Author:** [@stmx38](https://discourse.mitmproxy.org/u/stmx38)\
**Replies:** 1\
**Last updated:** [July 7, 2019, 4:15pm UTC](https://discourse.mitmproxy.org/t/how-to-specify-proxy-uri-path-for-mitmproxy-rewrite-path/1599 "2019-07-07T16:15:51Z")

</div>

Hello, We are trying to analyze traffic between our Nginx reverse proxy and Web server: Client --\> Internet --\> Nginx --\> Webserver Client --\> Internet --\> Nginx --\> mitmproxy --\> Webserver If I understand correctly …

---

## [Error: 0407006A: rsa routines: RSA\_padding\_check\_PKCS1\_type\_1: block type is not 01](https://discourse.mitmproxy.org/t/error-0407006a-rsa-routines-rsa-padding-check-pkcs1-type-1-block-type-is-not-01/1122)

<div class="topic-metadata">

**Author:** [@ceffa](https://discourse.mitmproxy.org/u/ceffa)\
**Replies:** 1\
**Last updated:** [July 1, 2019, 6:37am UTC](https://discourse.mitmproxy.org/t/error-0407006a-rsa-routines-rsa-padding-check-pkcs1-type-1-block-type-is-not-01/1122 "2019-07-01T06:37:15Z")

</div>

Hi, I would like to use transparent mode with HTTPS connection but it doesn’t work for me. I have installed certificates from ~/.mitmproxy/… but there is still some problems with verification. Do you have any idea what…

---

## [Extract all request URLs from a session](https://discourse.mitmproxy.org/t/extract-all-request-urls-from-a-session/26)

<div class="topic-metadata">

**Author:** [@rommelfs](https://discourse.mitmproxy.org/u/rommelfs)\
**Replies:** 4\
**Last updated:** [June 29, 2019, 3:37am UTC](https://discourse.mitmproxy.org/t/extract-all-request-urls-from-a-session/26 "2019-06-29T03:37:17Z")

</div>

Hi all, Is there a(n easy) way I can export all request URLS from a mitmproxy session? I know I can copy&paste the URLs from the flow view, and I could probably do something with a file of saved flows. While copy&pas…

---

## [How to set an external proxy in script?](https://discourse.mitmproxy.org/t/how-to-set-an-external-proxy-in-script/1594)

<div class="topic-metadata">

**Author:** [@TheGrado](https://discourse.mitmproxy.org/u/TheGrado)\
**Replies:** 0\
**Last updated:** [June 27, 2019, 10:19am UTC](https://discourse.mitmproxy.org/t/how-to-set-an-external-proxy-in-script/1594 "2019-06-27T10:19:40Z")

</div>

I’m trying to make a python3.7 script that switches the upstream proxy to an external one for every request that goes trouh the mitm proxy, the structure should look like this: CLIENT \> MITM \> EXTERNAL USER:AUTH PROXY \> …

---

## [Save traffic in pcap file or best way to log post data](https://discourse.mitmproxy.org/t/save-traffic-in-pcap-file-or-best-way-to-log-post-data/177)

<div class="topic-metadata">

**Author:** [@phackt](https://discourse.mitmproxy.org/u/phackt)\
**Replies:** 5\
**Last updated:** [June 26, 2019, 8:50am UTC](https://discourse.mitmproxy.org/t/save-traffic-in-pcap-file-or-best-way-to-log-post-data/177 "2019-06-26T08:50:10Z")

</div>

Hello Everybody, My question is, is there a way to store traffic in pcap format, and if not what is the best option to log post data? With option -w/-a all html traffic is logged, we can replay it with mitmdump but my …

---

## [ImportError: No module named enum when executing an inline script](https://discourse.mitmproxy.org/t/importerror-no-module-named-enum-when-executing-an-inline-script/1580)

<div class="topic-metadata">

**Author:** [@deadstar1](https://discourse.mitmproxy.org/u/deadstar1)\
**Replies:** 3\
**Last updated:** [June 25, 2019, 7:50am UTC](https://discourse.mitmproxy.org/t/importerror-no-module-named-enum-when-executing-an-inline-script/1580 "2019-06-25T07:50:34Z")

</div>

Hi, I have following this documentation to create my own inline script. Suddenly I got an error which says ImportError: No module named enum. I run this inline script in windows 10 and python 3 def response(context, f…

---

## [Mitmproxy ignores VPN? - No, works it ok, but a browser was not updating the page](https://discourse.mitmproxy.org/t/mitmproxy-ignores-vpn-no-works-it-ok-but-a-browser-was-not-updating-the-page/1586)

<div class="topic-metadata">

**Author:** [@MikePlacid](https://discourse.mitmproxy.org/u/MikePlacid)\
**Replies:** 1\
**Last updated:** [June 19, 2019, 9:23pm UTC](https://discourse.mitmproxy.org/t/mitmproxy-ignores-vpn-no-works-it-ok-but-a-browser-was-not-updating-the-page/1586 "2019-06-19T21:23:31Z")

</div>

I am running mitmdump on my user account, on MacOS. I have configured the Firefox browser on the same account to use mitmdump as an HTTP proxy. Everything works ok, I can see requests are passing through mitmdump. Now,…

---

## [API for data retrieval from mitmproxy by other apps](https://discourse.mitmproxy.org/t/api-for-data-retrieval-from-mitmproxy-by-other-apps/1584)

<div class="topic-metadata">

**Author:** [@mjgrzybek](https://discourse.mitmproxy.org/u/mjgrzybek)\
**Replies:** 0\
**Last updated:** [June 18, 2019, 4:34pm UTC](https://discourse.mitmproxy.org/t/api-for-data-retrieval-from-mitmproxy-by-other-apps/1584 "2019-06-18T16:34:30Z")

</div>

Does mitmproxy provide some API (e.g. REST) for other apps to use it’s data? If not, is it adressed? I’m thinking of something similar to http://www.mock-server.com/mock\_server/mockserver\_clients.html

---

## [Starting mitmproxy as subprocess](https://discourse.mitmproxy.org/t/starting-mitmproxy-as-subprocess/1582)

<div class="topic-metadata">

**Author:** [@Leif](https://discourse.mitmproxy.org/u/Leif)\
**Replies:** 0\
**Last updated:** [June 18, 2019, 8:13am UTC](https://discourse.mitmproxy.org/t/starting-mitmproxy-as-subprocess/1582 "2019-06-18T08:13:23Z")

</div>

Hi, I have a large python program that needs to start mitmproxy without halting execution of the subsequent code, so I’ve been trying to make this work with the subprocess package: process = Popen(\['mitmdump', '--mode=s…

---

## [Decryption port mirroring](https://discourse.mitmproxy.org/t/decryption-port-mirroring/1578)

<div class="topic-metadata">

**Author:** [@bdr](https://discourse.mitmproxy.org/u/bdr)\
**Replies:** 1\
**Last updated:** [June 18, 2019, 6:27am UTC](https://discourse.mitmproxy.org/t/decryption-port-mirroring/1578 "2019-06-18T06:27:36Z")

</div>

I have MITMproxy working and it decrypts SSL traffic from one of my devices. I would like to send a cleartext copy of the traffic to another server (which can run some analysis tools on cleartext HTTP). How can I confi…

---

## [Cannot access mitm.it](https://discourse.mitmproxy.org/t/cannot-access-mitm-it/1575)

<div class="topic-metadata">

**Author:** [@Henloitme](https://discourse.mitmproxy.org/u/Henloitme)\
**Replies:** 0\
**Last updated:** [June 17, 2019, 4:32pm UTC](https://discourse.mitmproxy.org/t/cannot-access-mitm-it/1575 "2019-06-17T16:32:32Z")

</div>

I downloaded v4.0.4 of mitmproxy for Windows and am running it on Windows 10. When I run mitmweb, and configure my iPhone’s network settings, I cannot access mitm.it on my phone. The pages does not load at all. I tried…

---

## [Request edit option with new body](https://discourse.mitmproxy.org/t/request-edit-option-with-new-body/1572)

<div class="topic-metadata">

**Author:** [@tushardhole](https://discourse.mitmproxy.org/u/tushardhole)\
**Replies:** 0\
**Last updated:** [June 13, 2019, 10:58am UTC](https://discourse.mitmproxy.org/t/request-edit-option-with-new-body/1572 "2019-06-13T10:58:04Z")

</div>

I use this best proxy tool, to intercept requests and edit the body. Many times I have requirement where I need to delete the original body add new body. In such scenarios, If there is request edit option ‘new-request-…

---

## [Socket.io with mitmproxy](https://discourse.mitmproxy.org/t/socket-io-with-mitmproxy/1570)

<div class="topic-metadata">

**Author:** [@kendang](https://discourse.mitmproxy.org/u/kendang)\
**Replies:** 0\
**Last updated:** [June 11, 2019, 4:56am UTC](https://discourse.mitmproxy.org/t/socket-io-with-mitmproxy/1570 "2019-06-11T04:56:49Z")

</div>

I use mitmproxy to capture socket.io websocket, and try to display the content. But I always get the following error. Can anyone give me some hints what is the problem? 127.0.0.1:52292: GET game.club/g\_5\_2/?EIO=3&transp…

---

## [Possible to listen on all ports?](https://discourse.mitmproxy.org/t/possible-to-listen-on-all-ports/1567)

<div class="topic-metadata">

**Author:** [@rolandas](https://discourse.mitmproxy.org/u/rolandas)\
**Replies:** 2\
**Last updated:** [June 10, 2019, 4:30pm UTC](https://discourse.mitmproxy.org/t/possible-to-listen-on-all-ports/1567 "2019-06-10T16:30:35Z")

</div>

Hello, and first of all this project looks great and so far the only mitm proxy that has worked for my needs. Just want to get some of your insights before digging deeper. I am looking to achieve the following function…

---

## [How save all request and response to a file?](https://discourse.mitmproxy.org/t/how-save-all-request-and-response-to-a-file/525)

<div class="topic-metadata">

**Author:** [@Laura](https://discourse.mitmproxy.org/u/Laura)\
**Replies:** 2\
**Last updated:** [June 6, 2019, 2:40pm UTC](https://discourse.mitmproxy.org/t/how-save-all-request-and-response-to-a-file/525 "2019-06-06T14:40:47Z")

</div>

Hello Guys, I am new using the mitmproxy, and i am a little confused. Well I Installed the mitmproxy in my network, after, I installed the android CA inside a android device, everything work fine I can saw the Andro…

---

## [Cannot tcpdump traffic with transparent mode on local machine](https://discourse.mitmproxy.org/t/cannot-tcpdump-traffic-with-transparent-mode-on-local-machine/1562)

<div class="topic-metadata">

**Author:** [@idiotsavant](https://discourse.mitmproxy.org/u/idiotsavant)\
**Replies:** 0\
**Last updated:** [June 3, 2019, 10:36pm UTC](https://discourse.mitmproxy.org/t/cannot-tcpdump-traffic-with-transparent-mode-on-local-machine/1562 "2019-06-03T22:36:21Z")

</div>

I am using tcpdump to dump HTTPS traffic passing through mitmproxy (actually mitmdump) running in transparent mode. The proxy server (CentOS 6.x) faces the internet on eth0 and I was connecting to it as a gateway on eth1.…

---

## [How to modify window.document with mitmproxy?](https://discourse.mitmproxy.org/t/how-to-modify-window-document-with-mitmproxy/1561)

<div class="topic-metadata">

**Author:** [@mefiu](https://discourse.mitmproxy.org/u/mefiu)\
**Replies:** 0\
**Last updated:** [June 3, 2019, 8:42pm UTC](https://discourse.mitmproxy.org/t/how-to-modify-window-document-with-mitmproxy/1561 "2019-06-03T20:42:28Z")

</div>

Hi All, I’m trying to use mitmproxy and python scripts to intercept both request and response to change some window.document properties on the fly. I’ve sucessfully run mitmproxy examples to simply replace HTML page co…

[Previous page](https://discourse.mitmproxy.org/latest.md?no_subcategories=false)

[Next page](https://discourse.mitmproxy.org/latest.md?no_subcategories=false&page=2)
