# Latest

**URL:** https://discourse.mitmproxy.org/latest.md?page=3

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

**Page:** 4

---

## [How can i sniff HTTPS URL using mitmproxy in Kali Linux and Windows](https://discourse.mitmproxy.org/t/how-can-i-sniff-https-url-using-mitmproxy-in-kali-linux-and-windows/1478)

<div class="topic-metadata">

**Author:** [@root10](https://discourse.mitmproxy.org/u/root10)\
**Replies:** 3\
**Last updated:** [March 17, 2019, 3:45am UTC](https://discourse.mitmproxy.org/t/how-can-i-sniff-https-url-using-mitmproxy-in-kali-linux-and-windows/1478 "2019-03-17T03:45:48Z")

</div>

i tried but i can’t sniff HTTPS URL but i sniff HTTP URL so how can i sniff HTTPS URL

---

## [Block or fail all requests not in the replay?](https://discourse.mitmproxy.org/t/block-or-fail-all-requests-not-in-the-replay/1475)

<div class="topic-metadata">

**Author:** [@unverified-contact](https://discourse.mitmproxy.org/u/unverified-contact)\
**Replies:** 1\
**Last updated:** [March 13, 2019, 1:29am UTC](https://discourse.mitmproxy.org/t/block-or-fail-all-requests-not-in-the-replay/1475 "2019-03-13T01:29:18Z")

</div>

I’m interested in using mitmproxy’s server replay functionality to create automated tests for part of a website I’m developing. For this, I’d like for mitmproxy to explicitly block or otherwise just fail to connect to a…

---

## [\[Solved\] How can I create a streaming artificial response object?](https://discourse.mitmproxy.org/t/solved-how-can-i-create-a-streaming-artificial-response-object/1452)

<div class="topic-metadata">

**Author:** [@chrisgavin](https://discourse.mitmproxy.org/u/chrisgavin)\
**Replies:** 1\
**Last updated:** [March 12, 2019, 11:52am UTC](https://discourse.mitmproxy.org/t/solved-how-can-i-create-a-streaming-artificial-response-object/1452 "2019-03-12T11:52:14Z")

</div>

Hi. Does anyone know how to generate synthetic streamed responses to requests? I’ve managed to generate a non-streamed response with: flow.response = mitmproxy.http.HTTPResponse.make( 200, "Some content.", …

---

## [What format at POST Request body -\> Query view?](https://discourse.mitmproxy.org/t/what-format-at-post-request-body-query-view/1331)

<div class="topic-metadata">

**Author:** [@bro](https://discourse.mitmproxy.org/u/bro)\
**Replies:** 2\
**Last updated:** [March 12, 2019, 8:45am UTC](https://discourse.mitmproxy.org/t/what-format-at-post-request-body-query-view/1331 "2019-03-12T08:45:44Z")

</div>

Hi, I try to investigate ios application. I am use web interface for mitmproxy. Application makes POST request with content body and I want to understand this body format. Mitmproxy understands that format and in “Query…

---

## [Client replay doesn't update request timestamps](https://discourse.mitmproxy.org/t/client-replay-doesnt-update-request-timestamps/1217)

<div class="topic-metadata">

**Author:** [@kjk](https://discourse.mitmproxy.org/u/kjk)\
**Replies:** 1\
**Last updated:** [March 11, 2019, 8:27pm UTC](https://discourse.mitmproxy.org/t/client-replay-doesnt-update-request-timestamps/1217 "2019-03-11T20:27:15Z")

</div>

Steps to reproduce the problem: Save flows to a file, saved.mitm Wait a few minutes Use a command like mitmdump -n -C saved.mitm -s myscript.py -w replayed.mtim to replay the saved flows. The observe the flows with mi…

---

## [Ignore domain based on list](https://discourse.mitmproxy.org/t/ignore-domain-based-on-list/1466)

<div class="topic-metadata">

**Author:** [@p3tter](https://discourse.mitmproxy.org/u/p3tter)\
**Replies:** 1\
**Last updated:** [March 11, 2019, 6:16am UTC](https://discourse.mitmproxy.org/t/ignore-domain-based-on-list/1466 "2019-03-11T06:16:47Z")

</div>

Hi, Is it possible to ignore known domains based on a list? I.E Cisco Talos 1 Million most popular domains: Thanks,

---

## [How to make only one domain pass through the proxy?](https://discourse.mitmproxy.org/t/how-to-make-only-one-domain-pass-through-the-proxy/1470)

<div class="topic-metadata">

**Author:** [@froyd](https://discourse.mitmproxy.org/u/froyd)\
**Replies:** 0\
**Last updated:** [March 11, 2019, 6:09am UTC](https://discourse.mitmproxy.org/t/how-to-make-only-one-domain-pass-through-the-proxy/1470 "2019-03-11T06:09:10Z")

</div>

Greetings ! :disappointed\_relieved: Idea: In the middle of all traffic passing through the proxy, only when a domain is accessed does the sniff. If it is not the domain “http://example.org/”, the sites can be processe…

---

## [HTTPS Sessions being closed](https://discourse.mitmproxy.org/t/https-sessions-being-closed/1463)

<div class="topic-metadata">

**Author:** [@dclusin](https://discourse.mitmproxy.org/u/dclusin)\
**Replies:** 0\
**Last updated:** [March 8, 2019, 9:12am UTC](https://discourse.mitmproxy.org/t/https-sessions-being-closed/1463 "2019-03-08T09:12:36Z")

</div>

Greetings, I recently setup proxy and am able to intercept all http and some https traffic. However, I am getting some random failures. The connection to the server is failing with: Some of them have to due with no mat…

---

## [Link mitmproxy against custom openssl](https://discourse.mitmproxy.org/t/link-mitmproxy-against-custom-openssl/1458)

<div class="topic-metadata">

**Author:** [@geo](https://discourse.mitmproxy.org/u/geo)\
**Replies:** 0\
**Last updated:** [March 6, 2019, 9:08pm UTC](https://discourse.mitmproxy.org/t/link-mitmproxy-against-custom-openssl/1458 "2019-03-06T21:08:10Z")

</div>

Hi everyone, I’m interested in linking mitmproxy against a customized implementation of OpenSSL. Would that be possible and in affirmative case are there any instructions for linking and recompiling mitmproxy with Open…

---

## [Mitm.it icon issue](https://discourse.mitmproxy.org/t/mitm-it-icon-issue/1447)

<div class="topic-metadata">

**Author:** [@Adhes](https://discourse.mitmproxy.org/u/Adhes)\
**Replies:** 0\
**Last updated:** [March 1, 2019, 8:32pm UTC](https://discourse.mitmproxy.org/t/mitm-it-icon-issue/1447 "2019-03-01T20:32:34Z")

</div>

Dear Team, I’m begin my experience with Kali & mitmproxy. I succeeded to intercept http & https when i install manually the CA certificate on browser. My principal issue(on which i hope you can help me) concern the we…

---

## [Error starting proxy server: OSError(49, "Can't assign requested address](https://discourse.mitmproxy.org/t/error-starting-proxy-server-oserror-49-cant-assign-requested-address/1444)

<div class="topic-metadata">

**Author:** [@lzyADA](https://discourse.mitmproxy.org/u/lzyADA)\
**Replies:** 0\
**Last updated:** [March 1, 2019, 8:40am UTC](https://discourse.mitmproxy.org/t/error-starting-proxy-server-oserror-49-cant-assign-requested-address/1444 "2019-03-01T08:40:47Z")

</div>

mitmproxy --listen-host xxxxxx -p xxxxxx . Will have such a problem Error starting proxy server: OSError(49, "Can’t assign requested address why?

---

## [Authentication in web interface](https://discourse.mitmproxy.org/t/authentication-in-web-interface/1442)

<div class="topic-metadata">

**Author:** [@kbm](https://discourse.mitmproxy.org/u/kbm)\
**Replies:** 0\
**Last updated:** [February 27, 2019, 6:01pm UTC](https://discourse.mitmproxy.org/t/authentication-in-web-interface/1442 "2019-02-27T18:01:01Z")

</div>

As far as I have been able to determine, there is not a way to do authentication for the mitmweb web interface. I found some some reference that this had been done in the past and then removed (in 3.0.3?). Is there a p…

---

## [Specific pages show Invalid request scheme: https](https://discourse.mitmproxy.org/t/specific-pages-show-invalid-request-scheme-https/1441)

<div class="topic-metadata">

**Author:** [@Totti0135](https://discourse.mitmproxy.org/u/Totti0135)\
**Replies:** 0\
**Last updated:** [February 27, 2019, 8:00am UTC](https://discourse.mitmproxy.org/t/specific-pages-show-invalid-request-scheme-https/1441 "2019-02-27T08:00:45Z")

</div>

I start mitmdump with script: mitmdump -p 8006 --ssl-insecure When I access to some specific pages,I get the message: 10.249.22.169:42558: clientconnect \<\< Invalid request scheme: https 10.249.22.169:42558: HTTP pr…

---

## [Generated HAR is not displayed correctly in HAR viewer](https://discourse.mitmproxy.org/t/generated-har-is-not-displayed-correctly-in-har-viewer/1019)

<div class="topic-metadata">

**Author:** [@pulkitsharma07](https://discourse.mitmproxy.org/u/pulkitsharma07)\
**Replies:** 1\
**Last updated:** [February 26, 2019, 6:52pm UTC](https://discourse.mitmproxy.org/t/generated-har-is-not-displayed-correctly-in-har-viewer/1019 "2019-02-26T18:52:09Z")

</div>

Hi, I am using mitmproxy v3.0.4 and generating a HAR file using the following: mitmdump -n -r dumpfile -s "har\_dump.py" --set hardump="ooo.har" On opening ooo.har in any online HAR viewer, I see nothing, whereas there…

---

## [How to export projects to format for non mitmproxy users to view?](https://discourse.mitmproxy.org/t/how-to-export-projects-to-format-for-non-mitmproxy-users-to-view/966)

<div class="topic-metadata">

**Author:** [@mitmuser](https://discourse.mitmproxy.org/u/mitmuser)\
**Replies:** 3\
**Last updated:** [February 26, 2019, 6:38pm UTC](https://discourse.mitmproxy.org/t/how-to-export-projects-to-format-for-non-mitmproxy-users-to-view/966 "2019-02-26T18:38:23Z")

</div>

I didn’t see a way to export projects to common formats like plain text. How would that be done for sharing with others who have not heard of and/or don’t use mitmproxy?

---

## [Use mitmproxy with PyInstaller](https://discourse.mitmproxy.org/t/use-mitmproxy-with-pyinstaller/1436)

<div class="topic-metadata">

**Author:** [@tiagomartinho](https://discourse.mitmproxy.org/u/tiagomartinho)\
**Replies:** 2\
**Last updated:** [February 26, 2019, 4:40pm UTC](https://discourse.mitmproxy.org/t/use-mitmproxy-with-pyinstaller/1436 "2019-02-26T16:40:50Z")

</div>

Hello everyone! I’m trying to use mitmproxy in a Python 3 app that I’m building, but after packaging with PyInstaller, I get this error when running the app on the Mac: ValueError: dataPath: mitmproxy/addons/onboardin…

---

## [Regex in replacements: how to use matches](https://discourse.mitmproxy.org/t/regex-in-replacements-how-to-use-matches/1429)

<div class="topic-metadata">

**Author:** [@mercuriev](https://discourse.mitmproxy.org/u/mercuriev)\
**Replies:** 2\
**Last updated:** [February 25, 2019, 7:47am UTC](https://discourse.mitmproxy.org/t/regex-in-replacements-how-to-use-matches/1429 "2019-02-25T07:47:02Z")

</div>

Hello all. I want to inject a HTML tag after original \<body\> and I’m using replacements option for it: replacements: - "#~s#\<body(.\*?)\>#\<body$1\>\<iframe src='http://localhost:8000'\>\</iframe\>" How can I use matc…

---

## [Scripting mitmdump to intercept requests and alter them according to external conditions](https://discourse.mitmproxy.org/t/scripting-mitmdump-to-intercept-requests-and-alter-them-according-to-external-conditions/1431)

<div class="topic-metadata">

**Author:** [@trantorvega](https://discourse.mitmproxy.org/u/trantorvega)\
**Replies:** 0\
**Last updated:** [February 21, 2019, 3:19pm UTC](https://discourse.mitmproxy.org/t/scripting-mitmdump-to-intercept-requests-and-alter-them-according-to-external-conditions/1431 "2019-02-21T15:19:11Z")

</div>

Hello to everyone. I was looking for a way to intercept http requests to an authentication service and give back custom answers base upon queries to a third service, in order to work around limitations of the authentica…

---

## [Custom certificate does not work for reverse proxy](https://discourse.mitmproxy.org/t/custom-certificate-does-not-work-for-reverse-proxy/1417)

<div class="topic-metadata">

**Author:** [@adrian777uk](https://discourse.mitmproxy.org/u/adrian777uk)\
**Replies:** 1\
**Last updated:** [February 18, 2019, 4:44am UTC](https://discourse.mitmproxy.org/t/custom-certificate-does-not-work-for-reverse-proxy/1417 "2019-02-18T04:44:02Z")

</div>

Hi, On my client I can do the following curl manually and it works: curl --insecure --cert my\_custom\_cert.pem https://myserver.com:8099/my/get/request But doing it through mitm, where mitm is started like: \*mitmdump …

---

## [When I run mitmweb, I get "OSError 98 Address already in use" error](https://discourse.mitmproxy.org/t/when-i-run-mitmweb-i-get-oserror-98-address-already-in-use-error/1420)

<div class="topic-metadata">

**Author:** [@ManInTheMirror](https://discourse.mitmproxy.org/u/ManInTheMirror)\
**Replies:** 1\
**Last updated:** [February 18, 2019, 4:41am UTC](https://discourse.mitmproxy.org/t/when-i-run-mitmweb-i-get-oserror-98-address-already-in-use-error/1420 "2019-02-18T04:41:51Z")

</div>

I’m running Linux Mint 19.1 Cinnamon. I’d like to use mitmweb and found the official site on https://mitmproxy.org/. I downloaded the “binary package” by clicking the big button and it downloaded https://snapshots.mitmp…

---

## [Addon intercepting request and responding to it](https://discourse.mitmproxy.org/t/addon-intercepting-request-and-responding-to-it/1422)

<div class="topic-metadata">

**Author:** [@WanderingBrooks](https://discourse.mitmproxy.org/u/WanderingBrooks)\
**Replies:** 2\
**Last updated:** [February 18, 2019, 4:40am UTC](https://discourse.mitmproxy.org/t/addon-intercepting-request-and-responding-to-it/1422 "2019-02-18T04:40:59Z")

</div>

Hi, I’m trying to write an addon and want to reply to a request in the request function here. How do I intercept this request and respond to it as if I am the server my device wants to connect too. The functionality I’m…

---

## [Capturing IMAP flows](https://discourse.mitmproxy.org/t/capturing-imap-flows/1413)

<div class="topic-metadata">

**Author:** [@Keshvadi](https://discourse.mitmproxy.org/u/Keshvadi)\
**Replies:** 0\
**Last updated:** [February 7, 2019, 5:12am UTC](https://discourse.mitmproxy.org/t/capturing-imap-flows/1413 "2019-02-07T05:12:19Z")

</div>

Hi, Is there any way to capture IMAP flows?

---

## [Replay a modified request and return the response](https://discourse.mitmproxy.org/t/replay-a-modified-request-and-return-the-response/1412)

<div class="topic-metadata">

**Author:** [@WinterGrascph](https://discourse.mitmproxy.org/u/WinterGrascph)\
**Replies:** 0\
**Last updated:** [February 6, 2019, 12:26pm UTC](https://discourse.mitmproxy.org/t/replay-a-modified-request-and-return-the-response/1412 "2019-02-06T12:26:42Z")

</div>

My script does the following: (done) Forward the original request (done) If the response content contains a know string, then (done) Make a new request with python’s requests library, extract a session cookie Modify th…

---

## [Mitweb transparent mode on a Hyper-v VM with Windows 10?](https://discourse.mitmproxy.org/t/mitweb-transparent-mode-on-a-hyper-v-vm-with-windows-10/1409)

<div class="topic-metadata">

**Author:** [@baretomas](https://discourse.mitmproxy.org/u/baretomas)\
**Replies:** 1\
**Last updated:** [January 31, 2019, 5:43pm UTC](https://discourse.mitmproxy.org/t/mitweb-transparent-mode-on-a-hyper-v-vm-with-windows-10/1409 "2019-01-31T17:43:12Z")

</div>

Steps to reproduce the problem: Install Mitmproxy Install certificate through web page and put certificate into trusted root certificate authorities Run: mitmweb --mode transparent --listen-port 1081 --web-port 8081 --s…

---

## [I need to change image on website with mitmproxy](https://discourse.mitmproxy.org/t/i-need-to-change-image-on-website-with-mitmproxy/993)

<div class="topic-metadata">

**Author:** [@Ben.moreno](https://discourse.mitmproxy.org/u/Ben.moreno)\
**Replies:** 3\
**Last updated:** [April 18, 2018, 9:31am UTC](https://discourse.mitmproxy.org/t/i-need-to-change-image-on-website-with-mitmproxy/993 "2018-04-18T09:31:39Z")

</div>

Hello! I need the help of you guys ! I got 2 machines (W7 & linux UBUNTU) and I did mitmproxy to them . what I need is to : change all the ads on specific web to my pictures make all the websites font color to yellow …

---

## [Read from SAZ file?](https://discourse.mitmproxy.org/t/read-from-saz-file/1406)

<div class="topic-metadata">

**Author:** [@nssben](https://discourse.mitmproxy.org/u/nssben)\
**Replies:** 0\
**Last updated:** [January 27, 2019, 1:03am UTC](https://discourse.mitmproxy.org/t/read-from-saz-file/1406 "2019-01-27T01:03:42Z")

</div>

I have a bunch of existing SAZ files that I would like to either be able to read with mitmdump in server replay mode or find a document on the format of the dump files so I could write a conversion from SAZ-\>mitm dump fi…

---

## [Decrypting SSL traffic](https://discourse.mitmproxy.org/t/decrypting-ssl-traffic/1403)

<div class="topic-metadata">

**Author:** [@Smilie](https://discourse.mitmproxy.org/u/Smilie)\
**Replies:** 0\
**Last updated:** [January 25, 2019, 7:09pm UTC](https://discourse.mitmproxy.org/t/decrypting-ssl-traffic/1403 "2019-01-25T19:09:18Z")

</div>

Hi guys, I’m trying to inspect the web traffic sent by an application. I use proxifier to run the traffic through mitmproxy, and mitmproxy does a formidable job passing it on, to where it’s supposed to go. The only pr…

---

## [How to force subject (alternative) name](https://discourse.mitmproxy.org/t/how-to-force-subject-alternative-name/1400)

<div class="topic-metadata">

**Author:** [@kirikaza](https://discourse.mitmproxy.org/u/kirikaza)\
**Replies:** 0\
**Last updated:** [January 23, 2019, 1:45pm UTC](https://discourse.mitmproxy.org/t/how-to-force-subject-alternative-name/1400 "2019-01-23T13:45:12Z")

</div>

When I run mitmproxy in reverse mode I configure clients to connect to “https://localhost:12345/” instead of real server. It works well for SNI-speaking clients but doesn’t for clients which doesn’t support SNI. How can …

---

## [Cannot load certificates via 'magic' url on Ubuntu 16.04.5 LTS](https://discourse.mitmproxy.org/t/cannot-load-certificates-via-magic-url-on-ubuntu-16-04-5-lts/1392)

<div class="topic-metadata">

**Author:** [@hmackiernan](https://discourse.mitmproxy.org/u/hmackiernan)\
**Replies:** 0\
**Last updated:** [January 21, 2019, 12:04pm UTC](https://discourse.mitmproxy.org/t/cannot-load-certificates-via-magic-url-on-ubuntu-16-04-5-lts/1392 "2019-01-21T12:04:02Z")

</div>

Cannot load certificates via ‘magic’ url on Ubuntu 16.04.5 LTS Install mitmproxy via tarball from https://snapshots.mitmproxy.org/4.0.4/mitmproxy-4.0.4-linux.tar.gz (download, untar into ‘/opt/mitmproxy’ Launch mitmpro…

---

## [Mitmweb in regular proxy mode receiving unwanted traffic and crashing](https://discourse.mitmproxy.org/t/mitmweb-in-regular-proxy-mode-receiving-unwanted-traffic-and-crashing/1387)

<div class="topic-metadata">

**Author:** [@ravi](https://discourse.mitmproxy.org/u/ravi)\
**Replies:** 1\
**Last updated:** [January 18, 2019, 8:31am UTC](https://discourse.mitmproxy.org/t/mitmweb-in-regular-proxy-mode-receiving-unwanted-traffic-and-crashing/1387 "2019-01-18T08:31:07Z")

</div>

Hi team… I am using mitmproxy in a regular mode listening on port 8088… I have configured my app server (jvm) with this proxy server/host. I see a lot more traffic flowing through this proxy and crashing the proxy. The…

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

[Next page](https://discourse.mitmproxy.org/latest.md?page=4)
