{"id":1273,"date":"2022-09-09T16:02:11","date_gmt":"2022-09-09T08:02:11","guid":{"rendered":"http:\/\/blog.xtaa.cn\/?p=1273"},"modified":"2022-09-09T16:02:11","modified_gmt":"2022-09-09T08:02:11","slug":"%e6%97%a0%e7%ba%bf%e8%b7%af%e7%94%b1%e4%b8%8b%e5%97%85%e6%8e%a2","status":"publish","type":"post","link":"http:\/\/blog.xtaa.cn\/index.php\/2022\/09\/09\/%e6%97%a0%e7%ba%bf%e8%b7%af%e7%94%b1%e4%b8%8b%e5%97%85%e6%8e%a2\/","title":{"rendered":"\u65e0\u7ebf\u8def\u7531\u4e0b\u55c5\u63a2"},"content":{"rendered":"\n<p><strong>1.openwrt\u8def\u7531\u4e0b\u5b89\u88c5 tcpdump<\/strong>\uff08\u53ef\u4ee5\u5c06\u7f51\u7edc\u4e2d\u4f20\u9001\u7684\u6570\u636e\u5305\u5b8c\u5168\u622a\u83b7\u4e0b\u6765\u63d0\u4f9b\u5206\u6790\uff09<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>opkg update<\/li><li>opkg install tcpdump<\/li><\/ol>\n\n\n\n<p><strong>2.\u7535\u8111\u88c5wireshark \u548cplink.exe<\/strong>\uff08plink\u662fputty\u4e0b\u7684\u4e00\u4e2a\u5de5\u5177\uff0c\u53ef\u4ee5\u5728windows\u4e0b\u76f4\u8fdeliunx\u5e76\u81ea\u52a8\u6267\u884c\u547d\u4ee4\u7684\u5de5\u5177\uff09<br><strong>https:\/\/www.wireshark.org\/download.html<\/strong><br><strong>http:\/\/www.chiark.greenend.org.uk\/~sgtatham\/putty\/download.html<br><\/strong><br><strong>3.\u8def\u7531\u4e0btcpdump\u6293\u5305\uff0cPC\u7aef\u4f7f\u7528 wireshark \u5b9e\u65f6\u76d1\u542c<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>plink.exe -ssh -pw admin root@192.168.4.1 &#8220;tcpdump -ni wlan0 -s 0 -w &#8211; not port 22&#8221; | &#8220;C:\\Program Files\\Wireshark\\Wireshark.exe&#8221; -k -i &#8211;<\/li><\/ol>\n\n\n\n<p><strong><strong>\u00a0\u00a0admin \u662f\u8def\u7531\u7684\u5bc6\u7801\uff0croot\u662f\u7528\u6237\u540d \uff0cwlan0 \u65e0\u7ebf\u7f51\u5361 \u7684\u6570\u636e\u94fe\u8def\u5c42\u4ee3\u53f7\uff0c<\/strong><br><strong>\u00a0\u00a0ifconfig \u53ef\u4ee5\u770b\u5230\u5177\u4f53\u8be6\u7ec6\u4fe1\u606f\uff0ctcpdump\u7684\u6307\u4ee4\u5c31\u4e0d\u591a\u8bf4\u4e86\uff0c\u770b\u5b98\u65b9\u6587\u6863\u5427<\/strong><br><br><br>4.\u5206\u6790\u6570\u636e\u62a5\u6587\uff0c\u83b7\u53d6\u654f\u611f\u4fe1\u606f<\/strong><\/p>\n\n\n\n<p><strong>&nbsp;&nbsp;\u5047\u5982\u4f60\u4f7f\u7528\u4e86\u6211\u7684wifi\uff0c\u767b\u5f55\u4e86\u767e\u5ea6\u7684\u4e3b\u9875\uff0c\u6211\u5c31\u83b7\u53d6\u4f60\u7684\u767b\u5f55cookies\uff0c<\/strong><br><strong>&nbsp;&nbsp;\u6709\u4e86cookies\u53ef\u4ee5\u4e0d\u7528\u5bc6\u5c31\u80fd\u767b\u5f55\u4f60\u7684\u767e\u5ea6\u8d26\u53f7\uff0c<\/strong><strong>&nbsp;&nbsp;\u6d4f\u89c8\u4f60\u7684\u5404\u79cd\u767e\u5ea6\u4e91\u76d8\u91cc\u9762\u7684\u5185\u5bb9\u3002<\/strong><br><strong>&nbsp; &nbsp;<\/strong><\/p>\n\n\n\n<p><strong>\u00a0\u00a0wireshark \u6dfb\u52a0\u8fc7\u6ee4\u7684<\/strong><strong>\u6761\u4ef6\u201chttp.cookie\u201c<\/strong><strong>\uff0c<\/strong><strong>\u00a0\u00a0\u83b7\u53d6cookies\u7684\u76f8\u5173\u62a5\u6587\uff0c\u70b9\u4e2d\u53f3\u952e\uff0cfollow tcp steam\uff0c\u770b\u5230\u5b8c\u6574\u7684\u62a5\u6587\uff0c<\/strong><strong><br><\/strong><br><strong>\u00a0\u00a0\u590d\u5236 http \u8bf7\u6c42\u65f6\u5411\u670d\u52a1\u5668\u53d1\u9001\u7684cookies \u5b57\u7b26\u4e32<\/strong><br><strong>\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0\u00a0<br><\/strong><br><strong>5.\u6ce8\u5165cookies\uff0c\u767b\u5f55\u8d26\u53f7<\/strong><br><strong>chrome \u4e0b\u4f7f\u7528\u4e00\u4e2a CookieHacker\u7684\u63d2\u4ef6 \uff0c\u4e0b\u8f7d\u00a0<\/strong><strong>http:\/\/evilcos.me\/?p=366<\/strong><br><strong>\u6253\u5f00 baidu.com\uff0c<\/strong><strong>\u628acookies\u7684\u5b57\u7b26\u4e32\u7c98\u8d34\uff0c\u70b9\u51fbinject cookie<\/strong><br><strong><br><\/strong><\/p>\n\n\n\n<p>\u5237\u65b0\u4e00\u4e0b\u5c31\u770b\u5230\u7528\u6237\u5df2\u7ecf\u767b\u5f55\u4e86<br>P.S. \u9664\u4e86\u8fd9\u4e9b\u4ee5\u5916\uff0c\u4f60\u53d1\u51fa\u7684\u6240\u6709\u8bf7\u6c42\u90fd\u80fd\u5728wireshark\u91cc\u9762\u5206\u6790\u51fa\u6765\uff0c\u5f53\u7136\u8fd9\u53ea\u662f\u6700\u7b80\u5355\u7684\u55c5\u63a2\u800c\u5df2\uff0c<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1.openwrt\u8def\u7531\u4e0b\u5b89\u88c5 tcpdump\uff08\u53ef\u4ee5\u5c06\u7f51\u7edc\u4e2d\u4f20\u9001\u7684\u6570\u636e\u5305\u5b8c\u5168\u622a\u83b7\u4e0b\u6765\u63d0\u4f9b\u5206\u6790\uff09 opkg upd [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-1273","post","type-post","status-publish","format-standard","hentry","category-11"],"_links":{"self":[{"href":"http:\/\/blog.xtaa.cn\/index.php\/wp-json\/wp\/v2\/posts\/1273","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.xtaa.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.xtaa.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.xtaa.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.xtaa.cn\/index.php\/wp-json\/wp\/v2\/comments?post=1273"}],"version-history":[{"count":0,"href":"http:\/\/blog.xtaa.cn\/index.php\/wp-json\/wp\/v2\/posts\/1273\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.xtaa.cn\/index.php\/wp-json\/wp\/v2\/media?parent=1273"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.xtaa.cn\/index.php\/wp-json\/wp\/v2\/categories?post=1273"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.xtaa.cn\/index.php\/wp-json\/wp\/v2\/tags?post=1273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}