{"id":329,"date":"2014-07-01T17:08:04","date_gmt":"2014-07-01T17:08:04","guid":{"rendered":"http:\/\/ixyzero.com\/blog\/?p=329"},"modified":"2014-07-01T17:08:04","modified_gmt":"2014-07-01T17:08:04","slug":"wooyun%e7%9f%a5%e8%af%86%e5%ba%93%e6%96%87%e7%ab%a0%e7%9a%84%e6%89%b9%e9%87%8f%e4%b8%8b%e8%bd%bd%e8%84%9a%e6%9c%ac","status":"publish","type":"post","link":"https:\/\/ixyzero.com\/blog\/archives\/329.html","title":{"rendered":"WooYun\u77e5\u8bc6\u5e93\u6587\u7ae0\u7684\u6279\u91cf\u4e0b\u8f7d\u811a\u672c"},"content":{"rendered":"<p>\u4ece\u4e00\u4e2a\u5927\u725b\u7684blog\u4e2d\u770b\u5230\u7684\u601d\u8def{<a href=\"http:\/\/www.leesec.com\/archives\/416\" target=\"_blank\">http:\/\/www.leesec.com\/archives\/416<\/a>}\uff0c\u81ea\u5df1\u6539\u7528\u4e86sed\u6765\u5904\u7406\uff08\u5e76\u4e14\u662f\u6309\u7167\u6587\u7ae0\u6807\u9898\u6765\u547d\u540dHTML\u6587\u4ef6\uff09\uff0c\u7136\u540e\u6ca1\u6709\u8f6c\u6210pdf\uff0c\u89c9\u5f97HTML\u6587\u4ef6\u66f4\u9002\u5408\u89c2\u770b\uff0cHTML\u6587\u4ef6\u7684\u6548\u679c\u5982\u4e0b\uff1a<\/p>\n<p><a href=\"http:\/\/ixyzero.com\/blog\/wp-content\/uploads\/2014\/07\/drops_effect.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-426\" src=\"http:\/\/ixyzero.com\/blog\/wp-content\/uploads\/2014\/07\/drops_effect-245x300.png\" alt=\"drops_effect\" width=\"245\" height=\"300\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Bash\u811a\u672c\u5982\u4e0b\uff1a<\/p>\n<pre class=\"lang:sh decode:true\">#!\/bin\/bash\n\necho '&lt;html xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" dir=\"ltr\" lang=\"zh-CN\"&gt;&lt;head profile=\"http:\/\/gmpg.org\/xfn\/11\"&gt;\n    &lt;meta http-equiv=\"content-type\" content=\"text\/html; charset=UTF-8\"&gt;\n    &lt;title&gt;CRLF Injection\u6f0f\u6d1e\u7684\u5229\u7528\u4e0e\u5b9e\u4f8b\u5206\u6790 | WooYun\u77e5\u8bc6\u5e93&lt;\/title&gt;\n    &lt;link rel=\"stylesheet\" type=\"text\/css\" href=\"http:\/\/drops.wooyun.org\/wp-content\/themes\/GZai\/style.css\"&gt;\n    &lt;link rel=\"alternate\" type=\"application\/rss+xml\" href=\"http:\/\/drops.wooyun.org\/feed\" title=\"WooYun\u77e5\u8bc6\u5e93 RSS Feed\"&gt;\n    &lt;link rel=\"pingback\" href=\"http:\/\/drops.wooyun.org\/xmlrpc.php\"&gt;\n    &lt;meta name=\"keywords\" content=\"\"&gt;\n&lt;link rel=\"stylesheet\" id=\"wp-easyarchives-css\" href=\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/wp-easyarchives\/css\/wp-easyarchives.css?ver=3.1\" type=\"text\/css\" media=\"screen\"&gt;\n&lt;link rel=\"stylesheet\" id=\"wp-recentcomments-css\" href=\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/wp-recentcomments\/css\/wp-recentcomments.css?ver=2.2.5\" type=\"text\/css\" media=\"screen\"&gt;\n&lt;link rel=\"stylesheet\" id=\"wp-pagenavi-css\" href=\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/wp-pagenavi\/pagenavi-css.css?ver=2.70\" type=\"text\/css\" media=\"all\"&gt;\n&lt;script type=\"text\/javascript\" src=\"http:\/\/drops.wooyun.org\/wp-includes\/js\/jquery\/jquery.js?ver=1.7.2\"&gt;&lt;\/script&gt;\n&lt;script type=\"text\/javascript\" src=\"http:\/\/drops.wooyun.org\/wp-includes\/js\/comment-reply.js?ver=3.4.1\"&gt;&lt;\/script&gt;\n&lt;link rel=\"prev\" title=\"\u7528Burpsuite \u6765\u5904\u7406csrf token\" href=\"http:\/\/drops.wooyun.org\/tips\/2460\"&gt;\n&lt;link rel=\"next\" title=\"Shodan\u641c\u7d22\u5f15\u64ce\u4ecb\u7ecd\" href=\"http:\/\/drops.wooyun.org\/tips\/2469\"&gt;\n&lt;link rel=\"canonical\" href=\"http:\/\/drops.wooyun.org\/papers\/2466\"&gt;\n&lt;link rel=\"shortlink\" href=\"http:\/\/drops.wooyun.org\/?p=2466\"&gt;\n&lt;script type=\"text\/javascript\"&gt;\n\twindow._wp_rp_static_base_url = 'http:\/\/dtmvdvtzf8rz0.cloudfront.net\/static\/';\n\twindow._wp_rp_wp_ajax_url = \"http:\/\/drops.wooyun.org\/wp-admin\/admin-ajax.php\";\n\twindow._wp_rp_plugin_version = '2.7';\n\twindow._wp_rp_post_id = '2466';\n\twindow._wp_rp_num_rel_posts = '6';\n&lt;\/script&gt;\n&lt;link rel=\"stylesheet\" href=\"http:\/\/dtmvdvtzf8rz0.cloudfront.net\/static\/wp-rp-css\/plain.css?version=2.7\"&gt;\n&lt;style type=\"text\/css\"&gt;\n.related_post_title {\n}\nul.related_post {\n}\nul.related_post li {\n}\nul.related_post li a {\n}\nul.related_post li img {\n}&lt;\/style&gt;\n&lt;style type=\"text\/css\" media=\"all\"&gt;\n\/* &lt;![CDATA[ *\/\n@import url(\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/wp-table-reloaded\/css\/plugin.css?ver=1.9.4\");\n@import url(\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/wp-table-reloaded\/css\/datatables.css?ver=1.9.4\");\n\/* ]]&gt; *\/\n&lt;\/style&gt;\n\t&lt;!-- Clean Archives Reloaded v3.2.0 | http:\/\/www.viper007bond.com\/wordpress-plugins\/clean-archives-reloaded\/ --&gt;\n\t&lt;style type=\"text\/css\"&gt;.car-collapse .car-yearmonth { cursor: s-resize; } &lt;\/style&gt;\n\t&lt;script type=\"text\/javascript\"&gt;\n\t\t\/* &lt;![CDATA[ *\/\n\t\t\tjQuery(document).ready(function() {\n\t\t\t\tjQuery('.car-collapse').find('.car-monthlisting').hide();\n\t\t\t\tjQuery('.car-collapse').find('.car-monthlisting:first').show();\n\t\t\t\tjQuery('.car-collapse').find('.car-yearmonth').click(function() {\n\t\t\t\t\tjQuery(this).next('ul').slideToggle('fast');\n\t\t\t\t});\n\t\t\t\tjQuery('.car-collapse').find('.car-toggler').click(function() {\n\t\t\t\t\tif ( '\u5c55\u5f00\u6240\u6709\u6708\u4efd' == jQuery(this).text() ) {\n\t\t\t\t\t\tjQuery(this).parent('.car-container').find('.car-monthlisting').show();\n\t\t\t\t\t\tjQuery(this).text('\u6298\u53e0\u6240\u6709\u6708\u4efd');\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tjQuery(this).parent('.car-container').find('.car-monthlisting').hide();\n\t\t\t\t\t\tjQuery(this).text('\u5c55\u5f00\u6240\u6709\u6708\u4efd');\n\t\t\t\t\t}\n\t\t\t\t\treturn false;\n\t\t\t\t});\n\t\t\t});\n\t\t\/* ]]&gt; *\/\n\t&lt;\/script&gt;\n\n&lt;link rel=\"stylesheet\" type=\"text\/css\" href=\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/syntaxhighlighter\/syntaxhighlighter3\/styles\/shCore.css?ver=3.0.83c\"&gt;&lt;link rel=\"stylesheet\" type=\"text\/css\" href=\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/syntaxhighlighter\/syntaxhighlighter3\/styles\/shThemeDefault.css?ver=3.0.83c\"&gt;&lt;style type=\"text\/css\" id=\"syntaxhighlighteranchor\"&gt;&lt;\/style&gt;\n&lt;script src=\"http:\/\/bdimg.share.baidu.com\/static\/js\/logger.js?cdnversion=390049\"&gt;&lt;\/script&gt;&lt;link href=\"http:\/\/bdimg.share.baidu.com\/static\/css\/bdsstyle.css?cdnversion=20131219\" rel=\"stylesheet\" type=\"text\/css\"&gt;&lt;\/head&gt;\n&lt;body&gt;\n&lt;div id=\"wrapper\"&gt;\n    &lt;div id=\"header\"&gt;\n        &lt;div id=\"header-top\"&gt;\n        &lt;h1 id=\"blog-title\"&gt;\n        &lt;a href=\"http:\/\/drops.wooyun.org\/\" title=\"WooYun\u77e5\u8bc6\u5e93\" rel=\"home\" style=\"float:left;\"&gt;WooYun\u77e5\u8bc6\u5e93&lt;\/a&gt;\n        &lt;\/h1&gt;\n        &lt;\/div&gt;&lt;!-- #header-top  --&gt;\n    &lt;div id=\"wp-search-box\"&gt;\n&lt;form method=\"get\" id=\"searchform\" action=\"http:\/\/drops.wooyun.org\/\"&gt;\n    &lt;input type=\"text\" class=\"textfield\" size=\"25\" name=\"s\" id=\"s\" placeholder=\"\u8f93\u5165\u5173\u952e\u5b57\u8fdb\u884c\u641c\u7d22\"&gt;\n    &lt;input type=\"submit\" class=\"button\" name=\"submit\" id=\"searchbutton\" value=\"\u641c\u7d22\"&gt;\n&lt;\/form&gt;    &lt;\/div&gt;\n        &lt;div id=\"blog-description\"&gt;\u50cf\u4e00\u6735\u4e4c\u4e91\u4e00\u6837\u6210\u957f        &lt;\/div&gt;\n        &lt;div class=\"fixed\"&gt;&lt;\/div&gt;\n    &lt;\/div&gt;&lt;!--  #header --&gt;\n\n    &lt;div id=\"menubar\"&gt;\n    &lt;ul class=\"menu\"&gt;\n    &lt;li class=\"\"&gt;&lt;a href=\"http:\/\/drops.wooyun.org\/\" title=\"WooYun\u77e5\u8bc6\u5e93\"&gt;\u9996\u9875&lt;\/a&gt;\n    &lt;\/li&gt;\n    &lt;li class=\"page_item\"&gt;&lt;a href=\"http:\/\/www.wooyun.org\"&gt;WooYun&lt;\/a&gt;&lt;\/li&gt;\n    &lt;li class=\"page_item\"&gt;&lt;a href=\"http:\/\/zone.wooyun.org\"&gt;Zone&lt;\/a&gt;&lt;\/li&gt;\n    &lt;li class=\"page_item page-item-7\"&gt;&lt;a href=\"http:\/\/drops.wooyun.org\/newsend\"&gt;\u6295\u7a3f&lt;\/a&gt;&lt;\/li&gt;\n    &lt;\/ul&gt;\n    &lt;\/div&gt;&lt;!--  #menubar --&gt;\n&lt;div id=\"container\"&gt;'&gt;\/tmp\/top.html 2&gt;\/dev\/null\n\necho '            &lt;div class=\"desc-share\"&gt;\n\t            &lt;p style=\"float:left\"&gt;\u7248\u6743\u58f0\u660e\uff1a&lt;span style=\"color:red\"&gt;\u672a\u7ecf\u6388\u6743\u7981\u6b62\u8f6c\u8f7d&lt;\/span&gt; &lt;a href=\"http:\/\/drops.wooyun.org\/author\/\u7231\u5c0f\u72d0\u72f8\u7684\u5c0f\u8783\u87f9\" title=\"\u7531 \u7231\u5c0f\u72d0\u72f8\u7684\u5c0f\u8783\u87f9 \u53d1\u5e03\" rel=\"author\"&gt;\u7231\u5c0f\u72d0\u72f8\u7684\u5c0f\u8783\u87f9&lt;\/a&gt;@&lt;a href=\"http:\/\/drops.wooyun.org\"&gt;\u4e4c\u4e91\u77e5\u8bc6\u5e93&lt;\/a&gt;&lt;\/p&gt;\n\t\t\t\t &lt;\/div&gt;\n\n            &lt;div id=\"nav-below\"&gt;\n                &lt;div class=\"nav-previous\"&gt;\u4e0a\u4e00\u7bc7:&lt;a href=\"http:\/\/drops.wooyun.org\/tips\/2443\" rel=\"prev\"&gt;Mimikatz ON Metasploit&lt;\/a&gt;&lt;\/div&gt;\n                &lt;div class=\"nav-next\"&gt;\u4e0b\u4e00\u7bc7:&lt;a href=\"http:\/\/drops.wooyun.org\/tips\/2451\" rel=\"next\"&gt;\u9006\u5411\u57fa\u7840\uff08\u516b\uff09&lt;\/a&gt;&lt;\/div&gt;\n            &lt;\/div&gt;\n&lt;\/div&gt;&lt;!-- container --&gt;\n&lt;\/div&gt;&lt;!-- #wrapper --&gt;\n&lt;script&gt;\n\/* &lt;![CDATA[ *\/\nvar rcGlobal = {\n\tserverUrl\t\t:\"http:\/\/drops.wooyun.org\",\n\tinfoTemp\t\t:\"%REVIEWER% \u5728 %POST%\",\n\tloadingText\t\t:\"\u6b63\u5728\u52a0\u8f7d\",\n\tnoCommentsText\t:\"\u6ca1\u6709\u4efb\u4f55\u8bc4\u8bba\",\n\tnewestText\t\t:\"&amp;laquo; \u6700\u65b0\u7684\",\n\tnewerText\t\t:\"&amp;laquo; \u4e0a\u4e00\u9875\",\n\tolderText\t\t:\"\u4e0b\u4e00\u9875 &amp;raquo;\",\n\tshowContent\t\t:\"1\",\n\texternal\t\t:\"1\",\n\tavatarSize\t\t:\"32\",\n\tavatarPosition\t:\"left\",\n\tanonymous\t\t:\"\u533f\u540d\"\n};\n\/* ]]&gt; *\/\n&lt;\/script&gt;\n&lt;script type=\"text\/javascript\" src=\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/syntaxhighlighter\/syntaxhighlighter3\/scripts\/shCore.js?ver=3.0.83c\"&gt;&lt;\/script&gt;\n&lt;script type=\"text\/javascript\" src=\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/syntaxhighlighter\/syntaxhighlighter3\/scripts\/shBrushAS3.js?ver=3.0.83c\"&gt;&lt;\/script&gt;\n&lt;script type=\"text\/javascript\" src=\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/syntaxhighlighter\/syntaxhighlighter3\/scripts\/shBrushBash.js?ver=3.0.83c\"&gt;&lt;\/script&gt;\n&lt;script type=\"text\/javascript\" src=\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/syntaxhighlighter\/syntaxhighlighter3\/scripts\/shBrushColdFusion.js?ver=3.0.83c\"&gt;&lt;\/script&gt;\n&lt;script type=\"text\/javascript\" src=\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/syntaxhighlighter\/third-party-brushes\/shBrushClojure.js?ver=20090602\"&gt;&lt;\/script&gt;\n&lt;script type=\"text\/javascript\" src=\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/syntaxhighlighter\/syntaxhighlighter3\/scripts\/shBrushCpp.js?ver=3.0.83c\"&gt;&lt;\/script&gt;\n&lt;script type=\"text\/javascript\" src=\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/syntaxhighlighter\/syntaxhighlighter3\/scripts\/shBrushCSharp.js?ver=3.0.83c\"&gt;&lt;\/script&gt;\n&lt;script type=\"text\/javascript\" src=\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/syntaxhighlighter\/syntaxhighlighter3\/scripts\/shBrushCss.js?ver=3.0.83c\"&gt;&lt;\/script&gt;\n&lt;script type=\"text\/javascript\" src=\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/syntaxhighlighter\/syntaxhighlighter3\/scripts\/shBrushDelphi.js?ver=3.0.83c\"&gt;&lt;\/script&gt;\n&lt;script type=\"text\/javascript\" src=\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/syntaxhighlighter\/syntaxhighlighter3\/scripts\/shBrushDiff.js?ver=3.0.83c\"&gt;&lt;\/script&gt;\n&lt;script type=\"text\/javascript\" src=\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/syntaxhighlighter\/syntaxhighlighter3\/scripts\/shBrushErlang.js?ver=3.0.83c\"&gt;&lt;\/script&gt;\n&lt;script type=\"text\/javascript\" src=\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/syntaxhighlighter\/third-party-brushes\/shBrushFSharp.js?ver=20091003\"&gt;&lt;\/script&gt;\n&lt;script type=\"text\/javascript\" src=\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/syntaxhighlighter\/syntaxhighlighter3\/scripts\/shBrushGroovy.js?ver=3.0.83c\"&gt;&lt;\/script&gt;\n&lt;script type=\"text\/javascript\" src=\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/syntaxhighlighter\/syntaxhighlighter3\/scripts\/shBrushJava.js?ver=3.0.83c\"&gt;&lt;\/script&gt;\n&lt;script type=\"text\/javascript\" src=\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/syntaxhighlighter\/syntaxhighlighter3\/scripts\/shBrushJavaFX.js?ver=3.0.83c\"&gt;&lt;\/script&gt;\n&lt;script type=\"text\/javascript\" src=\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/syntaxhighlighter\/syntaxhighlighter3\/scripts\/shBrushJScript.js?ver=3.0.83c\"&gt;&lt;\/script&gt;\n&lt;script type=\"text\/javascript\" src=\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/syntaxhighlighter\/third-party-brushes\/shBrushLatex.js?ver=20090613\"&gt;&lt;\/script&gt;\n&lt;script type=\"text\/javascript\" src=\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/syntaxhighlighter\/third-party-brushes\/shBrushMatlabKey.js?ver=20091209\"&gt;&lt;\/script&gt;\n&lt;script type=\"text\/javascript\" src=\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/syntaxhighlighter\/third-party-brushes\/shBrushObjC.js?ver=20091207\"&gt;&lt;\/script&gt;\n&lt;script type=\"text\/javascript\" src=\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/syntaxhighlighter\/syntaxhighlighter3\/scripts\/shBrushPerl.js?ver=3.0.83c\"&gt;&lt;\/script&gt;\n&lt;script type=\"text\/javascript\" src=\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/syntaxhighlighter\/syntaxhighlighter3\/scripts\/shBrushPhp.js?ver=3.0.83c\"&gt;&lt;\/script&gt;\n&lt;script type=\"text\/javascript\" src=\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/syntaxhighlighter\/syntaxhighlighter3\/scripts\/shBrushPlain.js?ver=3.0.83c\"&gt;&lt;\/script&gt;\n&lt;script type=\"text\/javascript\" src=\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/syntaxhighlighter\/syntaxhighlighter3\/scripts\/shBrushPowerShell.js?ver=3.0.83c\"&gt;&lt;\/script&gt;\n&lt;script type=\"text\/javascript\" src=\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/syntaxhighlighter\/syntaxhighlighter3\/scripts\/shBrushPython.js?ver=3.0.83c\"&gt;&lt;\/script&gt;\n&lt;script type=\"text\/javascript\" src=\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/syntaxhighlighter\/third-party-brushes\/shBrushR.js?ver=20100919\"&gt;&lt;\/script&gt;\n&lt;script type=\"text\/javascript\" src=\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/syntaxhighlighter\/syntaxhighlighter3\/scripts\/shBrushRuby.js?ver=3.0.83c\"&gt;&lt;\/script&gt;\n&lt;script type=\"text\/javascript\" src=\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/syntaxhighlighter\/syntaxhighlighter3\/scripts\/shBrushScala.js?ver=3.0.83c\"&gt;&lt;\/script&gt;\n&lt;script type=\"text\/javascript\" src=\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/syntaxhighlighter\/syntaxhighlighter3\/scripts\/shBrushSql.js?ver=3.0.83c\"&gt;&lt;\/script&gt;\n&lt;script type=\"text\/javascript\" src=\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/syntaxhighlighter\/syntaxhighlighter3\/scripts\/shBrushVb.js?ver=3.0.83c\"&gt;&lt;\/script&gt;\n&lt;script type=\"text\/javascript\" src=\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/syntaxhighlighter\/syntaxhighlighter3\/scripts\/shBrushXml.js?ver=3.0.83c\"&gt;&lt;\/script&gt;\n&lt;script type=\"text\/javascript\"&gt;\n\t(function(){\n\t\tvar corecss = document.createElement(\"link\");\n\t\tvar themecss = document.createElement(\"link\");\n\t\tvar corecssurl = \"http:\/\/drops.wooyun.org\/wp-content\/plugins\/syntaxhighlighter\/syntaxhighlighter3\/styles\/shCore.css?ver=3.0.83c\";\n\t\tif ( corecss.setAttribute ) {\n\t\t\t\tcorecss.setAttribute( \"rel\", \"stylesheet\" );\n\t\t\t\tcorecss.setAttribute( \"type\", \"text\/css\" );\n\t\t\t\tcorecss.setAttribute( \"href\", corecssurl );\n\t\t} else {\n\t\t\t\tcorecss.rel = \"stylesheet\";\n\t\t\t\tcorecss.href = corecssurl;\n\t\t}\n\t\tdocument.getElementsByTagName(\"head\")[0].insertBefore( corecss, document.getElementById(\"syntaxhighlighteranchor\") );\n\t\tvar themecssurl = \"http:\/\/drops.wooyun.org\/wp-content\/plugins\/syntaxhighlighter\/syntaxhighlighter3\/styles\/shThemeDefault.css?ver=3.0.83c\";\n\t\tif ( themecss.setAttribute ) {\n\t\t\t\tthemecss.setAttribute( \"rel\", \"stylesheet\" );\n\t\t\t\tthemecss.setAttribute( \"type\", \"text\/css\" );\n\t\t\t\tthemecss.setAttribute( \"href\", themecssurl );\n\t\t} else {\n\t\t\t\tthemecss.rel = \"stylesheet\";\n\t\t\t\tthemecss.href = themecssurl;\n\t\t}\n\t\t\/\/document.getElementById(\"syntaxhighlighteranchor\").appendChild(themecss);\n\t\tdocument.getElementsByTagName(\"head\")[0].insertBefore( themecss, document.getElementById(\"syntaxhighlighteranchor\") );\n\t})();\n\tSyntaxHighlighter.config.strings.expandSource = \"+ expand source\";\n\tSyntaxHighlighter.config.strings.help = \"\u5e2e\u52a9\";\n\tSyntaxHighlighter.config.strings.alert = \"SyntaxHighlighternn\";\n\tSyntaxHighlighter.config.strings.noBrush = \"\u65e0\u6cd5\u627e\u5230Brush\uff1a\";\n\tSyntaxHighlighter.config.strings.brushNotHtmlScript = \"Brush\u4e0d\u80fd\u8bbe\u7f6e html-script\u9009\u9879\";\n\tSyntaxHighlighter.defaults[\"auto-links\"] = false;\n\tSyntaxHighlighter.defaults[\"pad-line-numbers\"] = false;\n\tSyntaxHighlighter.defaults[\"toolbar\"] = false;\n\tSyntaxHighlighter.all();\n&lt;\/script&gt;\n&lt;script type=\"text\/javascript\" src=\"http:\/\/drops.wooyun.org\/wp-content\/plugins\/wp-recentcomments\/js\/wp-recentcomments.js?ver=2.2.5\"&gt;&lt;\/script&gt;\n&lt;\/div&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;'&gt;\/tmp\/bottom.html 2&gt;\/dev\/null\n\nrm \/tmp\/drops.txt\ndir=(papers tips tools news web pentesting database binary '%e8%bf%90%e7%bb%b4%e5%ae%89%e5%85%a8')\ndir_num=${#dir[@]}\nfor((i=0;i&lt;$dir_num;i++))\ndo\n\tfor j in $(seq 1 15)\n\tdo\n\tif [ \"$j\" == 1 ]\n\tthen\n\t\tcurl http:\/\/drops.wooyun.org\/category\/${dir[i]} | grep entry-title | perl -pe 's\/.*href..(.+?)\".*&gt;(.*)..a&gt;.*\/$1 $2\/g' &gt;&gt;\/tmp\/drops.txt\n\telse\n\t\tcurl http:\/\/drops.wooyun.org\/category\/${dir[i]}\/page\/$j | grep entry-title | perl -pe 's\/.*href..(.+?)\".*&gt;(.*)..a&gt;.*\/$1 $2\/g' &gt;&gt;\/tmp\/drops.txt\n\tfi\n\tdone\ndone\n\nwait\n\ncat \/tmp\/drops.txt | while read url title\ndo\n\ttitle=$(echo $title | tr ' &lt;\/' '_')\n\tcurl -s $url | sed -n '\/&lt;div id=\"content\"&gt;\/,\/entry-tags\/p' &gt;\/tmp\/tmp.html\n\tcat \/tmp\/top.html \/tmp\/tmp.html \/tmp\/bottom.html &gt;\/tmp\/$title.html\ndone\n\nrm \/tmp\/tmp.html<\/pre>\n<p>\u5bf9\u4e86\uff0c\u6709\u51e0\u70b9\u9700\u8981\u6ce8\u610f\u7684\u5c31\u662f\uff1a\u6587\u4ef6\u540d\u8981\u4eceUTF-8\u7f16\u7801\u8f6c\u6362\u6210GBK\u7f16\u7801\uff0c\u56e0\u4e3aWindows\u4e0a\u4f1a\u663e\u793a\u4e3a\u4e71\u7801\uff0c\u4f46\u5728Linux\u4e0a\u662fOK\u7684\uff0c\u6240\u4ee5\u9700\u8981convmv\u547d\u4ee4\u7684\u5e2e\u52a9\uff08\u53ef\u4ee5\u5c06\u6240\u6709\u7684HTML\u6587\u4ef6\u653e\u5728\u4e00\u4e2a\u65b0\u5efa\u7684\u76ee\u5f55\u4e2d\uff0c\u4e00\u4e2aconvmv\u547d\u4ee4\u5c31\u884c\uff0c\u90fd\u4e0d\u7528for\u5faa\u73af\uff09\uff1b<\/p>\n<p>\u5982\u679c\u8981\u8f6c\u6362\u6210pdf\u6587\u4ef6\u7684\u8bdd\uff0c\u53ef\u4ee5\u501f\u52a9wkhtmltopdf\u8fd9\u4e2a\u5de5\u5177\u5c06\u4e0b\u8f7d\u7684HTML\u6587\u4ef6\u8f6c\u6362\u6210pdf\u6587\u4ef6\uff08\u5728shell\u811a\u672c\u7684\u6700\u540e\u6dfb\u52a0\u4e00\u4e2afor\u5faa\u73af\u5c31\u53ef\u4ee5\u4e86\uff09\uff1b<\/p>\n<p>\u8fd8\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u9700\u8981\uff0c\u5728\u811a\u672c\u7684\u6700\u540e\u52a0\u4e00\u4e2a\u6253\u5305\u547d\u4ee4\u5c06HTML\u6587\u4ef6\u6253\u4e2a\u5305\u53d1\u5230\u81ea\u5df1\u90ae\u7bb1\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ece\u4e00\u4e2a\u5927\u725b\u7684blog\u4e2d\u770b\u5230\u7684\u601d\u8def{http:\/\/www.leesec.com\/archives\/416}\uff0c\u81ea\u5df1 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,7,12],"tags":[156,84,78,157],"class_list":["post-329","post","type-post","status-publish","format-standard","hentry","category-linux","category-programing","category-tools","tag-convmv","tag-curl","tag-sed","tag-wooyun"],"views":8650,"_links":{"self":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts\/329","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/comments?post=329"}],"version-history":[{"count":0,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts\/329\/revisions"}],"wp:attachment":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/media?parent=329"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/categories?post=329"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/tags?post=329"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}