﻿{"id":934,"date":"2014-06-02T17:20:10","date_gmt":"2014-06-02T09:20:10","guid":{"rendered":"http:\/\/notes.zerobox.org\/?p=934"},"modified":"2014-06-02T17:20:18","modified_gmt":"2014-06-02T09:20:18","slug":"%e5%8d%81%e5%a4%a7%e5%85%b3%e7%b3%bb%e6%95%b0%e6%8d%ae%e5%ba%93sql%e6%b3%a8%e5%85%a5%e5%b7%a5%e5%85%b7%e4%b8%80%e8%a7%88","status":"publish","type":"post","link":"http:\/\/zerobox.org\/notes\/934.html","title":{"rendered":"\u5341\u5927\u5173\u7cfb\u6570\u636e\u5e93SQL\u6ce8\u5165\u5de5\u5177\u4e00\u89c8"},"content":{"rendered":"<p>\u4f17\u6240\u5468\u77e5\uff0cSQL\u6ce8\u5165\u653b\u51fb\u662f\u6700\u4e3a\u5e38\u89c1\u7684Web\u5e94\u7528\u7a0b\u5e8f\u653b\u51fb\u6280\u672f\u3002\u540c\u65f6SQL\u6ce8\u5165\u653b\u51fb\u6240\u5e26\u6765\u7684\u5b89\u5168\u7834\u574f\u4e5f\u662f\u4e0d\u53ef\u5f25\u8865\u7684\u3002\u4ee5\u4e0b\u7f57\u5217\u768410\u6b3eSQL\u5de5\u5177\u53ef\u5e2e\u52a9\u7ba1\u7406\u5458\u53ca\u65f6\u68c0\u6d4b\u5b58\u5728\u7684\u6f0f\u6d1e\u3002<\/p>\n<p><strong>BSQL Hacker<\/strong><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/notes.zerobox.org\/wp-content\/uploads\/2014\/06\/52efb7a85e45f9da44d67286ec486b88.jpg\" alt=\"\" border=\"0\" \/><\/p>\n<p>BSQL Hacker\u662f\u7531Portcullis\u5b9e\u9a8c\u5ba4\u5f00\u53d1\u7684\uff0cBSQL Hacker \u662f\u4e00\u4e2aSQL\u81ea\u52a8\u6ce8\u5165\u5de5\u5177\uff08\u652f\u6301SQL\u76f2\u6ce8\uff09\uff0c\u5176\u8bbe\u8ba1\u7684\u76ee\u7684\u662f\u5e0c\u671b\u80fd\u5bf9\u4efb\u4f55\u7684\u6570\u636e\u5e93\u8fdb\u884cSQL\u6ea2\u51fa\u6ce8\u5165\u3002 BSQL Hacker\u7684\u9002\u7528\u7fa4\u4f53\u662f\u90a3\u4e9b\u5bf9\u6ce8\u5165\u6709\u7ecf\u9a8c\u7684\u4f7f\u7528\u8005\u548c\u90a3\u4e9b\u60f3\u8fdb\u884c\u81ea\u52a8SQL\u6ce8\u5165\u7684\u4eba\u7fa4\u3002BSQL Hacker\u53ef\u81ea\u52a8\u5bf9Oracle\u548cMySQL\u6570\u636e\u5e93\u8fdb\u884c\u653b\u51fb\uff0c\u5e76\u81ea\u52a8\u63d0\u53d6\u6570\u636e\u5e93\u7684\u6570\u636e\u548c\u67b6\u6784\u3002<\/p>\n<p><strong>The Mole<\/strong><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/notes.zerobox.org\/wp-content\/uploads\/2014\/06\/59c3500f271ac17b002299fe3b2c5477.png\" alt=\"\" border=\"0\" \/><\/p>\n<p>The Mole\u662f\u4e00\u6b3e\u5f00\u6e90\u7684\u81ea\u52a8\u5316SQL\u6ce8\u5165\u5de5\u5177\uff0c\u5176\u53ef\u7ed5\u8fc7IPS\/IDS\uff08\u5165\u4fb5\u9632\u5fa1\u7cfb\u7edf\/\u5165\u4fb5\u68c0\u6d4b\u7cfb\u7edf\uff09\u3002\u53ea\u9700\u63d0\u4f9b\u4e00\u4e2aURL\u548c\u4e00\u4e2a\u53ef\u7528\u7684\u5173\u952e\u5b57\uff0c\u5b83\u5c31\u80fd\u591f\u68c0\u6d4b\u6ce8\u5165\u70b9\u5e76\u5229\u7528\u3002The Mole\u53ef\u4ee5\u4f7f\u7528union\u6ce8\u5165\u6280\u672f\u548c\u57fa\u4e8e\u903b\u8f91\u67e5\u8be2\u7684\u6ce8\u5165\u6280\u672f\u3002The Mole\u653b\u51fb\u8303\u56f4\u5305\u62ecSQL Server\u3001MySQL\u3001Postgres\u548cOracle\u6570\u636e\u5e93\u3002<\/p>\n<p><strong>Pangolin<\/strong><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/notes.zerobox.org\/wp-content\/uploads\/2014\/06\/951819f4dbcfe2267bc2aba1ad622320.png\" alt=\"\" border=\"0\" \/><\/p>\n<p>Pangolin\u662f\u4e00\u6b3e\u5e2e\u52a9\u6e17\u900f\u6d4b\u8bd5\u4eba\u5458\u8fdb\u884cSQL\u6ce8\u5165(SQL Injeciton)\u6d4b\u8bd5\u7684\u5b89\u5168\u5de5\u5177\u3002Pangolin\u4e0eJSky\uff08Web\u5e94\u7528\u5b89\u5168\u6f0f\u6d1e\u626b\u63cf\u5668\u3001Web\u5e94\u7528\u5b89\u5168\u8bc4\u4f30\u5de5\u5177\uff09\u90fd\u662fNOSEC\u516c\u53f8\u7684\u4ea7\u54c1\u3002Pangolin\u5177\u5907\u53cb\u597d\u7684\u56fe\u5f62\u754c\u9762\u4ee5\u53ca\u652f\u6301\u6d4b\u8bd5\u51e0\u4e4e\u6240\u6709\u6570\u636e\u5e93\uff08Access\u3001MSSql\u3001MySql\u3001Oracle\u3001Informix\u3001DB2\u3001Sybase\u3001PostgreSQL\u3001Sqlite\uff09\u3002Pangolin\u80fd\u591f\u901a\u8fc7\u4e00\u7cfb\u5217\u975e\u5e38\u7b80\u5355\u7684\u64cd\u4f5c\uff0c\u8fbe\u5230\u6700\u5927\u5316\u7684\u653b\u51fb\u6d4b\u8bd5\u6548\u679c\u3002\u5b83\u4ece\u68c0\u6d4b\u6ce8\u5165\u5f00\u59cb\u5230\u6700\u540e\u63a7\u5236\u76ee\u6807\u7cfb\u7edf\u90fd\u7ed9\u51fa\u4e86\u6d4b\u8bd5\u6b65\u9aa4\u3002Pangolin\u662f\u76ee\u524d\u56fd\u5185\u4f7f\u7528\u7387\u6700\u9ad8\u7684SQL\u6ce8\u5165\u6d4b\u8bd5\u7684\u5b89\u5168\u8f6f\u4ef6\u3002<\/p>\n<p><strong>Sqlmap<\/strong><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/notes.zerobox.org\/wp-content\/uploads\/2014\/06\/8887b8ad4751caa68c2c124b4c582f87.png\" alt=\"\" border=\"0\" \/><\/p>\n<p>Sqlmap\u662f\u4e00\u4e2a\u81ea\u52a8SQL \u6ce8\u5165\u5de5\u5177\u3002\u5176\u53ef\u80dc\u4efb\u6267\u884c\u4e00\u4e2a\u5e7f\u6cdb\u7684\u6570\u636e\u5e93\u7ba1\u7406\u7cfb\u7edf\u540e\u7aef\u6307\u7eb9\uff0c<\/p>\n<p>\u68c0\u7d22DBMS\u6570\u636e\u5e93\u3001usernames\u3001\u8868\u683c\u3001\u5217\u3001\u5e76\u5217\u4e3e\u6574\u4e2aDBMS\u4fe1\u606f\u3002Sqlmap\u63d0\u4f9b\u8f6c\u50a8\u6570\u636e\u5e93\u8868\u4ee5\u53caMySQL\u3001PostgreSQL\u3001SQL Server\u670d\u52a1\u5668\u4e0b\u8f7d\u6216\u4e0a\u4f20\u4efb\u4f55\u6587\u4ef6\u5e76\u6267\u884c\u4efb\u610f\u4ee3\u7801\u7684\u80fd\u529b\u3002<\/p>\n<p><strong>Havij<\/strong><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/notes.zerobox.org\/wp-content\/uploads\/2014\/06\/47f757d8de56fff56f41774ac559f8e2.png\" alt=\"\" border=\"0\" \/><\/p>\n<p>Havij\u662f\u4e00\u6b3e\u81ea\u52a8\u5316\u7684SQL\u6ce8\u5165\u5de5\u5177\uff0c\u5b83\u80fd\u591f\u5e2e\u52a9\u6e17\u900f\u6d4b\u8bd5\u4eba\u5458\u53d1\u73b0\u548c\u5229\u7528Web\u5e94\u7528\u7a0b\u5e8f\u7684SQL\u6ce8\u5165\u6f0f\u6d1e\u3002Havij\u4e0d\u4ec5\u80fd\u591f\u81ea\u52a8\u6316\u6398\u53ef\u5229\u7528\u7684SQL \u67e5\u8be2\uff0c\u8fd8\u80fd\u591f\u8bc6\u522b\u540e\u53f0\u6570\u636e\u5e93\u7c7b\u578b\u3001\u68c0\u7d22\u6570\u636e\u7684\u7528\u6237\u540d\u548c\u5bc6\u7801hash\u3001\u8f6c\u50a8\u8868\u548c\u5217\u3001\u4ece\u6570\u636e\u5e93\u4e2d\u63d0\u53d6\u6570\u636e\uff0c\u751a\u81f3\u8bbf\u95ee\u5e95\u5c42\u6587\u4ef6\u7cfb\u7edf\u548c\u6267\u884c\u7cfb\u7edf\u547d\u4ee4\uff0c\u5f53\u7136\u524d\u63d0\u662f\u6709 \u4e00\u4e2a\u53ef\u5229\u7528\u7684SQL\u6ce8\u5165\u6f0f\u6d1e\u3002Havij\u652f\u6301\u5e7f\u6cdb\u7684\u6570\u636e\u5e93\u7cfb\u7edf\uff0c\u5982 MsSQL, MySQL, MSAccess and Oracle\u3002 Havij\u652f\u6301\u53c2\u6570\u914d\u7f6e\u4ee5\u8eb2\u907fIDS\uff0c\u652f\u6301\u4ee3\u7406\uff0c\u540e\u53f0\u767b\u9646\u5730\u5740\u626b\u63cf\u3002<\/p>\n<p><strong>Enema SQLi<\/strong><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/notes.zerobox.org\/wp-content\/uploads\/2014\/06\/80b56b70eba005f2cd6284086f270293.png\" alt=\"\" border=\"0\" \/><\/p>\n<p>Enema SQLi\u4e0e\u5176\u4ed6 SQL\u6ce8\u5165\u5de5\u5177\u4e0d\u540c\u7684\u662f\uff0cEnema SQLi\u4e0d\u662f\u81ea\u52a8\u7684\uff0c\u60f3\u8981\u4f7f\u7528Enema SQLi\u9700\u8981\u4e00\u5b9a\u7684\u76f8\u5173\u77e5\u8bc6\u3002Enema SQLi\u80fd\u591f\u4f7f\u7528\u7528\u6237\u81ea\u5b9a\u4e49\u7684\u67e5\u8be2\u4ee5\u53ca\u63d2\u4ef6\u5bf9SQL Server\u548cMySQL\u6570\u636e\u5e93\u8fdb\u884c\u653b\u51fb\u3002\u652f\u6301\u57fa\u4e8eerror-based\u3001Union-based\u548cblind time-based\u7684\u6ce8\u5165\u653b\u51fb\u3002<\/p>\n<p><strong>SQLninja<\/strong><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/notes.zerobox.org\/wp-content\/uploads\/2014\/06\/790b6b9ff9b05ca80b0ebf2ee4cbf892.jpg\" alt=\"\" border=\"0\" \/><\/p>\n<p>SQLninja\u8f6f\u4ef6\u7528Perl\u7f16\u5199\uff0c\u7b26\u5408GPLv2\u6807\u51c6\u3002SQLninja\u7684\u76ee\u7684\u662f\u5229\u7528Web\u5e94\u7528\u7a0b\u5e8f\u4e2d\u7684SQL\u6ce8\u5165\u5f0f\u6f0f\u6d1e\uff0c\u5b83\u4f9d\u9760\u5fae\u8f6f\u7684SQL Server\u4f5c\u4e3a\u540e\u7aef\u652f\u6301\u3002\u5176\u4e3b\u8981\u7684\u76ee\u6807\u662f\u5728\u5b58\u5728\u7740\u6f0f\u6d1e\u7684\u6570\u636e\u5e93\u670d\u52a1\u5668\u4e0a\u63d0\u4f9b\u4e00\u4e2a\u8fdc\u7a0b\u7684\u5916\u58f3\uff0c\u751a\u81f3\u5728\u4e00\u4e2a\u6709\u7740\u4e25\u683c\u7684\u9632\u8303\u63aa\u65bd\u7684\u73af\u5883\u4e2d\u4e5f\u80fd\u5982\u6b64\u3002\u5728\u4e00\u4e2aSQL\u6ce8\u5165\u5f0f\u6f0f\u6d1e\u88ab\u53d1\u73b0\u4ee5\u540e\uff0c\u4f01\u4e1a\u7684\u7ba1\u7406\u5458\u7279\u522b\u662f\u6e17\u900f\u653b\u51fb\u7684\u6d4b\u8bd5\u4eba\u5458\u5e94\u5f53\u4f7f\u7528\u5b83\uff0c\u5b83\u80fd\u81ea\u52a8\u5730\u63a5\u7ba1\u6570\u636e\u5e93\u670d\u52a1\u5668\u3002\u73b0\u5728\u5e02\u573a\u4e0a\u6709\u8bb8\u591a\u5176\u5b83\u7684SQL\u6ce8\u5165\u5f0f\u6f0f\u6d1e\u5de5\u5177\uff0c\u4f46SQLninja\u4e0e\u5176\u5b83\u5de5\u5177\u4e0d\u540c\uff0c\u5b83\u65e0\u9700\u62bd\u53d6\u6570\u636e\uff0c\u800c\u7740\u91cd\u4e8e\u5728\u8fdc\u7a0b\u6570\u636e\u5e93\u670d\u52a1\u5668\u4e0a\u83b7\u5f97\u4e00\u4e2a\u4ea4\u4e92\u5f0f\u7684\u5916\u58f3\uff0c\u5e76\u5c06\u5b83\u7528\u4f5c\u76ee\u6807\u7f51\u7edc\u4e2d\u7684\u4e00\u4e2a\u7acb\u8db3\u70b9\u3002<\/p>\n<p><strong>sqlsus<\/strong><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/notes.zerobox.org\/wp-content\/uploads\/2014\/06\/beb58e7a77f627ea728a1e6eb4383aac.png\" alt=\"\" border=\"0\" \/><\/p>\n<p>sqlsus\u662f\u4e00\u4e2a\u5f00\u653e\u6e90\u4ee3\u7801\u7684MySQL\u6ce8\u5165\u548c\u63a5\u7ba1\u5de5\u5177\uff0csqlsus\u4f7f\u7528perl\u7f16\u5199\u5e76\u57fa\u4e8e\u547d\u4ee4\u884c\u754c\u9762\u3002sqlsus\u53ef\u4ee5\u83b7\u53d6\u6570\u636e\u5e93\u7ed3\u6784\uff0c\u6ce8\u5165\u4f60\u81ea\u5df1\u7684SQL\u8bed\u53e5\uff0c\u4ece\u670d\u52a1\u5668\u4e0b\u8f7d\u6587\u4ef6\uff0c\u722c\u884cweb\u7ad9\u70b9\u53ef\u5199\u76ee\u5f55\uff0c\u4e0a\u4f20\u548c\u63a7\u5236\u540e\u95e8\uff0c\u514b\u9686\u6570\u636e\u5e93\u7b49\u3002<\/p>\n<p><strong>Safe3 SQL Injector<\/strong><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/notes.zerobox.org\/wp-content\/uploads\/2014\/06\/14856c886475ec0a51acb56e8213c50d.jpg\" alt=\"\" border=\"0\" \/><\/p>\n<p>Safe3 SQL Injector\u662f\u4e00\u4e2a\u6700\u5f3a\u5927\u548c\u6700\u6613\u4f7f\u7528\u7684\u6e17\u900f\u6d4b\u8bd5\u5de5\u5177\uff0c\u5b83\u53ef\u4ee5\u81ea\u52a8\u68c0\u6d4b\u548c\u5229\u7528SQL\u6ce8\u5165\u6f0f\u6d1e\u548c\u6570\u636e\u5e93\u670d\u52a1\u5668\u7684\u8fc7\u7a0b\u4e2d\u3002Safe3 SQL Injector\u5177\u5907\u8bfb\u53d6MySQL\u3001Oracle\u3001PostgreSQL\u3001SQL Server\u3001Access\u3001SQLite\u3001Firebird\u3001Sybase\u3001SAP MaxDB\u7b49\u6570\u636e\u5e93\u7684\u80fd\u529b\u3002\u540c\u65f6\u652f\u6301\u5411MySQL\u3001SQL Server\u5199\u5165\u6587\u4ef6\uff0c\u4ee5\u53caSQL Server\u548cOracle\u4e2d\u6267\u884c\u4efb\u610f\u547d\u4ee4\u3002Safe3 SQL Injector\u4e5f\u652f\u6301\u652f\u6301\u57fa\u4e8eerror-based\u3001Union-based\u548cblind time-based\u7684\u6ce8\u5165\u653b\u51fb\u3002<\/p>\n<p><strong>SQL Poizon<\/strong><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/notes.zerobox.org\/wp-content\/uploads\/2014\/06\/0c2a8d93748ae8e84dfc10d2602e2361.png\" alt=\"\" border=\"0\" \/><\/p>\n<p>SQL Poizon\u7684\u56fe\u5f62\u754c\u9762\u4f7f\u7528\u6237\u65e0\u9700\u6df1\u539a\u7684\u4e13\u4e1a\u77e5\u8bc6\u4fbf\u80fd\u591f\u8fdb\u884c\u653b\u51fb\uff0cSQL Poizon\u626b\u63cf\u6ce8\u5165\u5de5\u5177\u5185\u7f6e\u6d4f\u89c8\u5668\u53ef\u5e2e\u52a9\u67e5\u770b\u6ce8\u5165\u653b\u51fb\u5e26\u6765\u7684\u5f71\u54cd\u3002SQL Poizon\u5145\u5206\u5229\u7528\u641c\u7d22\u5f15\u64ce\u201cdorks\u201d\u626b\u63cf\u4e92\u8054\u7f51\u4e2d\u5b58\u5728SQL\u6ce8\u5165\u6f0f\u6d1e\u7684\u7f51\u7ad9\u3002<\/p>\n<p>\u539f\u6587\u94fe\u63a5\uff1a<a style=\"color: #0066cc;\" href=\"http:\/\/www.darkreading.com\/galleries\/security\/news\/232900180\/slide-show-10-sql-injection-tools-for-database-pwnage.html?pgno=10\" target=\"_blank\">darkreading<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f17\u6240\u5468\u77e5\uff0cSQL\u6ce8\u5165\u653b\u51fb\u662f\u6700\u4e3a\u5e38\u89c1\u7684Web\u5e94\u7528\u7a0b\u5e8f\u653b\u51fb\u6280\u672f\u3002\u540c\u65f6SQL\u6ce8\u5165\u653b\u51fb\u6240 &hellip;<\/p>\n<p class=\"read-more\"><a href=\"http:\/\/zerobox.org\/notes\/934.html\">\u7ee7\u7eed\u9605\u8bfb &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[137],"class_list":["post-934","post","type-post","status-publish","format-standard","hentry","tag-sql"],"views":2387,"_links":{"self":[{"href":"http:\/\/zerobox.org\/notes\/wp-json\/wp\/v2\/posts\/934","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/zerobox.org\/notes\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/zerobox.org\/notes\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/zerobox.org\/notes\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/zerobox.org\/notes\/wp-json\/wp\/v2\/comments?post=934"}],"version-history":[{"count":0,"href":"http:\/\/zerobox.org\/notes\/wp-json\/wp\/v2\/posts\/934\/revisions"}],"wp:attachment":[{"href":"http:\/\/zerobox.org\/notes\/wp-json\/wp\/v2\/media?parent=934"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/zerobox.org\/notes\/wp-json\/wp\/v2\/categories?post=934"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/zerobox.org\/notes\/wp-json\/wp\/v2\/tags?post=934"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}