TL;DR
Bettercap 2.x’s SSLStrip module might not convert links automatically due to configuration issues or missing dependencies. This guide covers common problems and solutions, including enabling HTTP proxying, checking your network setup, and verifying the correct Bettercap options.
Fixing Bettercap SSLStrip
- Check Dependencies: Ensure you have all necessary tools installed.
- Bettercap itself.
tcpdumpor a similar packet capture tool (required for sniffing).- A suitable HTTP proxy like
mitmproxy,socat, or even a simple Python script. SSLStrip relies on an upstream proxy to handle the actual redirection and modification of traffic.
- Enable HTTP Proxying: SSLStrip needs an HTTP proxy to intercept and modify traffic.
- The most common issue is not having a proxy configured or it being unavailable. Bettercap doesn’t include a built-in proxy, so you must set one up separately.
- Example using
mitmproxy:mitmdump -s /path/to/sslstrip.py --host 0.0.0.0:8080(Replace `/path/to/sslstrip.py` with the actual path to your SSLStrip script.)
- Example using
socat:socat TCP-LISTEN:8080,fork TCP:localhost:3128
- Configure Bettercap Options: Use the correct options when starting Bettercap.
- Start Bettercap with the
--proxyoption pointing to your proxy’s address and port:bettercap -iface eth0 --proxy http://127.0.0.1:8080 sslstrip on(Replace `eth0` with your network interface.)
- Ensure
sslstrip.onis used to activate the module.
- Start Bettercap with the
- Verify Network Setup: Make sure traffic is being routed through Bettercap.
- ARP Spoofing: SSLStrip requires ARP spoofing to redirect traffic. Ensure that your target hosts are successfully spoofed using the
net.spoof oncommand within Bettercap. - IP Forwarding: Enable IP forwarding on your system so that packets can be routed correctly.
sudo sysctl -w net.ipv4.ip_forward=1
- ARP Spoofing: SSLStrip requires ARP spoofing to redirect traffic. Ensure that your target hosts are successfully spoofed using the
- Check SSLStrip Script (if custom): If you’re using a custom SSLStrip script, review it for errors.
- Ensure the script is correctly handling HTTP redirects and modifying links.
- Verify that the script is listening on the correct port and interface.
- Firewall Rules: Check your firewall settings.
- Make sure your firewall isn’t blocking traffic to/from Bettercap or your proxy.
- Allow connections on ports 80, 443 and the port you configured for your HTTP proxy (e.g., 8080).
- Browser Cache: Clear your browser cache.
- Cached resources might be preventing SSLStrip from working correctly.
- Test with a Simple Website: Start with a basic, non-HTTPS website to test if SSLStrip is functioning at all.
- If it works on a simple site, the issue might be related to the target website’s specific configuration.

