{"id":676,"date":"2022-07-12T23:08:25","date_gmt":"2022-07-12T15:08:25","guid":{"rendered":"https:\/\/www.langsasec.cn\/?p=676"},"modified":"2022-11-16T01:49:28","modified_gmt":"2022-11-15T17:49:28","slug":"packer-fuzzer","status":"publish","type":"post","link":"https:\/\/blog.langsasec.cn\/index.php\/2022\/07\/12\/packer-fuzzer\/","title":{"rendered":"\u5de5\u5177\u63a8\u8350\u2014\u2014Packer-Fuzzer"},"content":{"rendered":"<h2><span class=\"ez-toc-section\" id=\"%e9%a1%b9%e7%9b%ae%e5%9c%b0%e5%9d%80\"><\/span>\u9879\u76ee\u5730\u5740<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><a href=\"https:\/\/github.com\/rtcatc\/Packer-Fuzzer\">https:\/\/github.com\/rtcatc\/Packer-Fuzzer<\/a><\/p>\n<p>\u76ee\u524d\u9879\u76ee\u6b63\u5728\u6301\u7eed\u66f4\u65b0ing...<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%e8%8e%b7%e5%8f%96%e6%96%b9%e5%bc%8f\"><\/span>\u83b7\u53d6\u65b9\u5f0f<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u5173\u6ce8\u6d6a\u98d2sec\u56de\u590dPacker-Fuzzer\uff0c\u5373\u53ef\u83b7\u53d6<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%e5%b7%a5%e5%85%b7%e4%bb%8b%e7%bb%8d\"><\/span>\u5de5\u5177\u4ecb\u7ecd<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u968f\u7740WEB\u524d\u7aef\u6253\u5305\u5de5\u5177\u7684\u6d41\u884c\uff0c\u60a8\u5728\u65e5\u5e38\u6e17\u900f\u6d4b\u8bd5\u3001\u5b89\u5168\u670d\u52a1\u4e2d\u662f\u5426\u9047\u5230\u8d8a\u6765\u8d8a\u591a\u4ee5Webpack\u6253\u5305\u5668\u4e3a\u4ee3\u8868\u7684\u7f51\u7ad9\uff1f\u8fd9\u7c7b\u6253\u5305\u5668\u4f1a\u5c06\u6574\u7ad9\u7684API\u548cAPI\u53c2\u6570\u6253\u5305\u5728\u4e00\u8d77\u4f9bWeb\u96c6\u4e2d\u8c03\u7528\uff0c\u8fd9\u4e5f\u4fbf\u4e8e\u6211\u4eec\u5feb\u901f\u53d1\u73b0\u7f51\u7ad9\u7684\u529f\u80fd\u548cAPI\u6e05\u5355\uff0c\u4f46\u5f80\u5f80\u8fd9\u4e9b\u6253\u5305\u5668\u6240\u751f\u6210\u7684JS\u6587\u4ef6\u6570\u91cf\u5f02\u5e38\u4e4b\u591a\u5e76\u4e14\u603bJS\u4ee3\u7801\u91cf\u5f02\u5e38\u5e9e\u5927\uff08\u591a\u8fbe\u4e0a\u4e07\u884c\uff09\uff0c\u8fd9\u7ed9\u6211\u4eec\u7684\u624b\u5de5\u6d4b\u8bd5\u5e26\u6765\u4e86\u6781\u5927\u7684\u4e0d\u4fbf\uff0cPacker Fuzzer\u8f6f\u4ef6\u5e94\u8fd0\u800c\u751f\u3002<\/p>\n<p>\u672c\u5de5\u5177\u652f\u6301\u81ea\u52a8\u6a21\u7cca\u63d0\u53d6\u5bf9\u5e94\u76ee\u6807\u7ad9\u70b9\u7684API\u4ee5\u53caAPI\u5bf9\u5e94\u7684\u53c2\u6570\u5185\u5bb9\uff0c\u5e76\u652f\u6301\u5bf9\uff1a\u672a\u6388\u6743\u8bbf\u95ee\u3001\u654f\u611f\u4fe1\u606f\u6cc4\u9732\u3001CORS\u3001SQL\u6ce8\u5165\u3001\u6c34\u5e73\u8d8a\u6743\u3001\u5f31\u53e3\u4ee4\u3001\u4efb\u610f\u6587\u4ef6\u4e0a\u4f20\u4e03\u5927\u6f0f\u6d1e\u8fdb\u884c\u6a21\u7cca\u9ad8\u6548\u7684\u5feb\u901f\u68c0\u6d4b\u3002\u5728\u626b\u63cf\u7ed3\u675f\u4e4b\u540e\uff0c\u672c\u5de5\u5177\u8fd8\u652f\u6301\u81ea\u52a8\u751f\u6210\u626b\u63cf\u62a5\u544a\uff0c\u60a8\u53ef\u4ee5\u9009\u62e9\u4fbf\u4e8e\u5206\u6790\u7684HTML\u7248\u672c\u4ee5\u53ca\u8f83\u4e3a\u6b63\u89c4\u7684doc\u3001pdf\u3001txt\u7248\u672c\u3002<\/p>\n<p>\u800c\u4e14\u60a8\u5b8c\u5168\u4e0d\u7528\u62c5\u5fc3\u56e0\u4e3a\u56fd\u9645\u5316\u5e26\u6765\u7684\u8bed\u8a00\u95ee\u9898\uff0c\u672c\u5de5\u5177\u9644\u5e26\u4e94\u5927\u4e3b\u6d41\u8bed\u8a00\u8bed\u8a00\u5305\uff08\u5305\u62ec\u62a5\u544a\u6a21\u677f\uff09\uff1a\u7b80\u4f53\u4e2d\u6587\u3001\u6cd5\u8bed\u3001\u897f\u73ed\u7259\u8bed\u3001\u82f1\u8bed\u3001\u65e5\u8bed\uff08\u6839\u636e\u7ffb\u8bd1\u51c6\u786e\u5ea6\u6392\u5e8f\uff09\uff0c\u7531\u6211\u4eec\u975e\u5e38\u4e0d\u4e13\u4e1a\u7684\u56e2\u961f\u7ffb\u8bd1\u3002<\/p>\n<p>\u6ce8\uff1a\u76ee\u524d\u7b2c\u4e00\u7248\u5de5\u5177\u53ea\u5bf9Webpack\u6253\u5305\u5668\u7684\u89c4\u5219\u505a\u4e86\u4f18\u5316\uff0c\u5176\u4ed6\u6253\u5305\u5668\u89c4\u5219\u656c\u8bf7\u671f\u5f85\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%e5%ae%89%e8%a3%85%e7%8e%af%e5%a2%83\"><\/span>\u5b89\u88c5\u73af\u5883<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u672c\u5de5\u5177\u4f7f\u7528Python3\u8bed\u8a00\u5f00\u53d1\uff0c\u5728\u8fd0\u884c\u672c\u5de5\u5177\u4e4b\u524d\u8bf7\u786e\u4fdd\u60a8\u88c5\u6709Python3.X\u8f6f\u4ef6\u53capip3\u8f6f\u4ef6\u3002\u82e5\u60a8\u672a\u5b89\u88c5\u76f8\u5173\u73af\u5883\uff0c\u53ef\u901a\u8fc7\u5982\u4e0b\u6307\u5f15\u5b89\u88c5\uff1a<a href=\"https:\/\/www.runoob.com\/python3\/python3-install.html\">https:\/\/www.runoob.com\/python3\/python3-install.html<\/a><\/p>\n<p>MacOS\u7528\u6237\u53ef\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\u5feb\u901f\u5b89\u88c5\uff1a<\/p>\n<p>brew install python3 #\u4f1a\u81ea\u52a8\u5b89\u88c5pip3<\/p>\n<p>Ubuntu\u7528\u6237\u53ef\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\u5feb\u901f\u5b89\u88c5\uff1a<\/p>\n<p>sudo apt-get install -y python3 &amp;&amp; sudo apt install -y python3-pip<\/p>\n<p>CentOS\u7528\u6237\u53ef\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\u5feb\u901f\u5b89\u88c5\uff1a<\/p>\n<p>sudo yum -y install epel-release &amp;&amp; sudo yum install python3 &amp;&amp; yum install -y python3-setuptools &amp;&amp; easy_install pip<\/p>\n<p>\u672c\u5de5\u5177\u5c06\u4f1a\u901a\u8fc7node_vm2\u8fd0\u884c\u539f\u751fNodeJS\u4ee3\u7801\uff0c\u6545\u6211\u4eec\u63a8\u8350\u60a8\u5b89\u88c5NodeJS\u73af\u5883\uff08\u4e0d\u63a8\u8350\u5176\u4ed6JS\u8fd0\u884c\u73af\u5883\uff0c\u53ef\u80fd\u4f1a\u5bfc\u81f4\u89e3\u6790\u5931\u8d25\uff09\u3002\u82e5\u60a8\u672a\u5b89\u88c5\u76f8\u5173\u73af\u5883\uff0c\u53ef\u901a\u8fc7\u5982\u4e0b\u6307\u5f15\u5b89\u88c5\uff1a<a href=\"https:\/\/www.runoob.com\/nodejs\/nodejs-install-setup.html\">https:\/\/www.runoob.com\/nodejs\/nodejs-install-setup.html<\/a><\/p>\n<p>MacOS\u7528\u6237\u53ef\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\u5feb\u901f\u5b89\u88c5\uff1a<\/p>\n<p>brew install node<\/p>\n<p>Ubuntu\u7528\u6237\u53ef\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\u5feb\u901f\u5b89\u88c5\uff1a<\/p>\n<p>sudo apt-get install nodejs &amp;&amp; sudo apt-get install npm<\/p>\n<p>CentOS\u7528\u6237\u53ef\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\u5feb\u901f\u5b89\u88c5\uff1a<\/p>\n<p>sudo yum -y install nodejs<\/p>\n<p>\u8bf7\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\u4e00\u952e\u5b89\u88c5\u672c\u5de5\u5177\u6240\u9700\u8981\u7684Python\u8fd0\u884c\u5e93\uff1a<\/p>\n<p>pip3 install -r requirements.txt<\/p>\n<p>\u4ee5\u4e0b\u4e3awindows\u7684\u5b89\u88c5\u73af\u5883\uff1a<\/p>\n<p>1.\u5b89\u88c5python\u73af\u5883\uff0c<a href=\"https:\/\/www.python.org\/\">https:\/\/www.python.org\/<\/a><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/i0.hdslb.com\/bfs\/album\/b32f1c97f181c9be0c3d1c364ba0a44277996abe.jpg\" alt=\"img\" title=\"\u5de5\u5177\u63a8\u8350\u2014\u2014Packer-Fuzzer\u63d2\u56fe\" \/> <\/p>\n<p>2.\u5b89\u88c5nodejs\u73af\u5883\uff0c<a href=\"http:\/\/nodejs.cn\/download\/\">http:\/\/nodejs.cn\/download\/<\/a><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/i0.hdslb.com\/bfs\/album\/beda0c37fe0bc79588403f2a249522486b963bd4.jpg\" alt=\"img\" title=\"\u5de5\u5177\u63a8\u8350\u2014\u2014Packer-Fuzzer\u63d2\u56fe1\" \/> <\/p>\n<p>3.pip3 install -r requirements.txt<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/i0.hdslb.com\/bfs\/album\/313ad0560177030f34820cc4868d02e44ae6a335.jpg\" alt=\"img\" title=\"\u5de5\u5177\u63a8\u8350\u2014\u2014Packer-Fuzzer\u63d2\u56fe2\" \/> <\/p>\n<p>4.\u4f7f\u7528python PackerFuzzer.py\u5373\u53ef\u4f7f\u7528<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/i0.hdslb.com\/bfs\/album\/d3e4c3ef49de4c63919f1c77b78d3889f57bdb13.jpg\" alt=\"img\" title=\"\u5de5\u5177\u63a8\u8350\u2014\u2014Packer-Fuzzer\u63d2\u56fe3\" \/> <\/p>\n<h2><span class=\"ez-toc-section\" id=\"%e9%a1%b9%e7%9b%ae%e4%bd%9c%e8%80%85%e5%85%8d%e8%b4%a3%e5%a3%b0%e6%98%8e\"><\/span>\u9879\u76ee\u4f5c\u8005\u514d\u8d23\u58f0\u660e<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u7531\u4e8e\u4f20\u64ad\u3001\u5229\u7528Packer Fuzzer\u5de5\u5177\uff08\u4e0b\u7b80\u79f0\u672c\u5de5\u5177\uff09\u63d0\u4f9b\u7684\u68c0\u6d4b\u529f\u80fd\u800c\u9020\u6210\u7684<strong>\u4efb\u4f55\u76f4\u63a5\u6216\u8005\u95f4\u63a5\u7684\u540e\u679c\u53ca\u635f\u5931<\/strong>\uff0c\u5747\u7531\u4f7f\u7528\u8005\u672c\u4eba\u8d1f\u8d23\uff0cPacker Fuzzer\u5f00\u53d1\u56e2\u961f\uff08\u4e0b\u7b80\u79f0\u672c\u56e2\u961f\uff09<strong>\u4e0d\u4e3a\u6b64\u627f\u62c5\u4efb\u4f55\u8d23\u4efb<\/strong>\u3002<\/p>\n<p>\u672c\u5de5\u5177\u4f1a\u6839\u636e\u4f7f\u7528\u8005\u68c0\u6d4b\u7ed3\u679c<strong>\u81ea\u52a8\u751f\u6210<\/strong>\u626b\u63cf\u7ed3\u679c\u62a5\u544a\uff0c\u672c\u62a5\u544a\u5185\u5bb9\u53ca\u5176\u4ed6\u884d\u751f\u5185\u5bb9\u5747<strong>\u4e0d\u80fd\u4ee3\u8868<\/strong>\u672c\u56e2\u961f\u7684\u7acb\u573a\u53ca\u89c2\u70b9\u3002<\/p>\n<p>\u8bf7\u5728\u4f7f\u7528\u672c\u5de5\u5177\u65f6\u9075\u5faa\u4f7f\u7528\u8005\u4ee5\u53ca\u76ee\u6807\u7cfb\u7edf\u6240\u5728\u56fd\u5f53\u5730\u7684<strong>\u76f8\u5173\u6cd5\u5f8b\u6cd5\u89c4<\/strong>\uff0c\u4e00\u5207<strong>\u672a\u6388\u6743\u6d4b\u8bd5\u5747\u662f\u4e0d\u88ab\u5141\u8bb8\u7684<\/strong>\u3002\u82e5\u51fa\u73b0\u76f8\u5173\u8fdd\u6cd5\u884c\u4e3a\uff0c\u6211\u4eec\u5c06<strong>\u4fdd\u7559\u8ffd\u7a76<\/strong>\u60a8\u6cd5\u5f8b\u8d23\u4efb\u7684\u6743\u5229\uff0c\u5e76<strong>\u5168\u529b\u914d\u5408<\/strong>\u76f8\u5173\u673a\u6784\u5c55\u5f00\u8c03\u67e5\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9879\u76ee\u5730\u5740 https:\/\/github.com\/rtcatc\/Packer-Fuzzer \u76ee\u524d\u9879\u76ee\u6b63\u5728\u6301\u7eed\u66f4\u65b0 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36],"tags":[],"class_list":["post-676","post","type-post","status-publish","format-standard","hentry","category-tools"],"_links":{"self":[{"href":"https:\/\/blog.langsasec.cn\/index.php\/wp-json\/wp\/v2\/posts\/676","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.langsasec.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.langsasec.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.langsasec.cn\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.langsasec.cn\/index.php\/wp-json\/wp\/v2\/comments?post=676"}],"version-history":[{"count":3,"href":"https:\/\/blog.langsasec.cn\/index.php\/wp-json\/wp\/v2\/posts\/676\/revisions"}],"predecessor-version":[{"id":1085,"href":"https:\/\/blog.langsasec.cn\/index.php\/wp-json\/wp\/v2\/posts\/676\/revisions\/1085"}],"wp:attachment":[{"href":"https:\/\/blog.langsasec.cn\/index.php\/wp-json\/wp\/v2\/media?parent=676"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.langsasec.cn\/index.php\/wp-json\/wp\/v2\/categories?post=676"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.langsasec.cn\/index.php\/wp-json\/wp\/v2\/tags?post=676"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}