kgretzky / evilginx2

Standalone man-in-the-middle attack framework used for phishing login credentials along with session cookies, allowing for the bypass of 2-factor authentication
BSD 3-Clause "New" or "Revised" License
10.97k stars 1.97k forks source link

Error when configuring evilginx to use burp suite #1118

Open iliwasel opened 1 month ago

iliwasel commented 1 month ago

When configuring evilginx 3.3.0 to use burp suite as a proxy, the first request goes successfully through Burp Suite but an error occurs when Burp Suite sends the response back to evilginx. You get the following error: Cannot read TLS response from mitm'd server proxyconnect tcp: EOF I tested different types of protocols like (http, https, socks5, socks5h) but nothing helped.

When using the environment variables only and disabling proxy inside evilginx like this http_proxy=localhost:8080 https_proxy=localhost:8080 ./evilginx then I get the following error: Cannot read TLS response from mitm'd server proxyconnect tcp: tls: first record does not look like a TLS handshake

I made sure that the Burp Suite root CA is correctly installed in my certificate store in Ubuntu but nothing helped.

acidsloth commented 2 weeks ago

I have the same issue but different error: WARN: Cannot write TLS response body from mitm'd client: remote error: tls: user canceled