Questions tagged [mitmproxy]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

grab https URL without import CA into PC from squid access log

1.The domain aa.com was belongs to our company and we have the public and private key of Wildcard certificate about aa.com. 2.We want to grab all of the URL from the access log which about *.aa.com, ...
insmod's user avatar
  • 1
0 votes
1 answer
118 views

Can you self-host a DNS server with custom domains and still get TLS?

I assume the easy answer here is no, but I'm wondering the following. Without having to pre-install a certificate on each client, can I get TLS support for domains if I self-host a DNS server? For ...
user38643's user avatar
  • 103
0 votes
2 answers
1k views

MITMProxy transparent mode not working

I’m trying to use MITMproxy in Transparent mode. I have two machines: One Linux machine on which I run MITMProxy One Android Embedded Device which traffic I want to redirect transparently I’m ...
emitrax's user avatar
  • 101
1 vote
1 answer
629 views

mitmproxy as a chain proxy, without SSL decryption

I want to use mitmproxy, as a chain proxy, meaning, I want all my services to connect to mitmproxy which in turn is configured to connect to an external proxy, I did that just fine, using the upstream ...
AL-Kateb's user avatar
  • 333
1 vote
0 answers
539 views

How can I route a specific local device through a proxy? (Smart TV with no available proxy configuration, only gateway+dns)

Current Setup https://i.stack.imgur.com/2w5Nd.png Currently just running a pi-hole DNS, and a lighttpd server on port 80 to access pi-hole admin web interface. I have made a DHCP reservation on my ...
James Lemieux's user avatar
0 votes
1 answer
6k views

"Received HTTP code 400 from proxy after CONNECT", trying to put mitmproxy behind nginx

I have a mitmproxy running on port 2011. I can use it by itself, with curl -x http://127.0.0.1:2011 google.com. However, I now want to put it behind nginx under the domain name proxy.history.test. ...
DrownedSuccess's user avatar
0 votes
1 answer
538 views

How to use docker container as a proxy?

I have the following docker-compose: version: '3' services: mitmproxy: image: johnmccabe/mitmweb container_name: mitmproxy command: --cadir /ca --wiface 0.0.0.0 restart: always ...
Guerlando OCs's user avatar
5 votes
1 answer
4k views

Bridge + nftables: How to redirect incoming HTTP/HTTPS traffic to local port 8080?

I have set up a bridge and would like to redirect HTTP/HTTPS traffic traversing it to a local port (8080) so that I can further process it using mitmproxy. So far I was using a combination of ...
Tobias's user avatar
  • 101
1 vote
0 answers
756 views

Why does my Docker container eventually lose network connection during selenium testing?

I was given a couple of Docker images for my automated testing on MacOS -- one for mitmproxy (as provided by that third party), the other supports the python/selenium tests I wrote earlier (this image ...
HalJor's user avatar
  • 11
2 votes
1 answer
1k views

Is it possible to make OpenSSL work with gnutls?

I have libvirt, one client and one server. Libvirt uses gnutls implementation of tls. I want to use mitmproxy and put in the middle between client and remote server. But mitmproxy uses different ...
Anastasiya Ruzhanskaya's user avatar
0 votes
1 answer
348 views

Troubleshooting proxy connection error on legacy app

I'm having to support some legacy client code which makes a network connection to a server using a proprietary protocol over port 1234. A straight internet connection on the client machine works fine, ...
dsl101's user avatar
  • 433
12 votes
4 answers
2k views

Apache: Validate SSL chain of trust to prevent MITM-attacks?

I just realized that SSL man-in-the-middle attacks are far more common than I thought, especially in corporate environments. I've heard about and seen myself several enterprises which have a ...
Aileron79's user avatar
  • 259
3 votes
2 answers
2k views

How to prevent a third party from proxying an HTTPS website?

I am hosting some kind of database management interface on https://www.prettylongdomainname.example/ I have implemented HTTP Strict Transport Security to prevent people accessing this website over ...
Jaap Joris Vens's user avatar
0 votes
0 answers
375 views

How can I intercept http requests, respond immediately with a custom http response, and also forward the original http request to the server?

I have an application that is stalling each time it makes a http request to a server. It stalls until the response is received from the server. The problem is, the server takes a while to respond to ...
Adam B's user avatar
  • 311
1 vote
2 answers
18k views

How to configure mitmproxy to intercept https?

I am trying to use mitmproxy to debug some https requests. I have configured mitmproxy to listen to a certain port: mitmproxy --listen-port 44700 I have configured my environment properly: export ...
blueFast's user avatar
  • 4,220
0 votes
1 answer
953 views

Setting up transparent MitM HTTPS proxy for IoT device?

I have an IoT device that communicates with a remote server via HTTPS over port 443. I would like to intercept the HTTP/HTTPS communication - e.g. using Charles or mitmproxy. If it was a desktop or ...
victorhooi's user avatar
1 vote
1 answer
744 views

How to send outgoing TCP packets on Windows through a remote Linux server?

Let's say I have a Windows computer and a Linux server. I'm looking for a way to route outgoing TCP packets on the Windows computer (all ports) through the Linux server. The Linux server would have ...
Pacnet's user avatar
  • 13
7 votes
3 answers
10k views

Is SSLsplit the right tool to intercept and re-encrypt HTTPS traffic on a wifi router?

I'm looking to do a vulnerability research on products running on a variety of devices by intercepting their HTTPS traffic, but I don't want to modify the devices aside from installing a custom cert. ...
Andrey Fedorov's user avatar