{"id":123,"date":"2021-12-22T14:17:41","date_gmt":"2021-12-22T06:17:41","guid":{"rendered":"http:\/\/aaaahui.top\/?p=123"},"modified":"2022-08-13T21:32:14","modified_gmt":"2022-08-13T13:32:14","slug":"hgather","status":"publish","type":"post","link":"https:\/\/ahui.blog\/index.php\/2021\/12\/22\/hgather\/","title":{"rendered":"\u8d44\u4ea7\u6536\u96c6\u5de5\u5177-HGather"},"content":{"rendered":"<h3>\u5de5\u5177\u7b80\u8ff0\uff1a<\/h3>\n<p><strong>\u8d44\u4ea7\u6536\u96c6+C\u6bb5\u6574\u7406\u4e8c\u5408\u4e00<\/strong><\/p>\n<p>\u57fa\u4e8efofa\u8d44\u4ea7\u641c\u7d22\u5f15\u64ce\u8fdb\u884c\u8d44\u4ea7\u6536\u96c6\uff0c\u5feb\u901f\u68c0\u7d22\u76ee\u6807\u6761\u4ef6\u4e0b\u7684IP\uff0cURL\u4ee5\u53ca\u6807\u9898\uff0c\u9002\u7528\u4e8e\u8d44\u4ea7\u8f83\u591a\u65f6\u5bf9\u6a21\u7cca\u8d44\u4ea7\u7684\u5feb\u901f\u68c0\u7d22\uff0c\u65b0\u589eC\u6bb5\u6574\u7406\u529f\u80fd\uff0c\u6574\u7406\u51fa\u8d44\u4ea7\u5904\u4e8e\u7684IPC\u6bb5\u5e76\u7edf\u8ba1\u3002<\/p>\n<h3>\u4f7f\u7528\u65b9\u6cd5\uff1a<\/h3>\n<p>\u4f7f\u7528\u73af\u5883\uff1a<strong>python2<\/strong><\/p>\n<p>\u4f7f\u7528\u524d\u9700\u7f51\u9875\u7aef\u767b\u5f55fofa\u83b7\u53d6cookie\u4e2d\u7684fofa-token\u503c\u5e76\u5b58\u4e3a\u540c\u76ee\u5f55\u4e0bconfig.txt<br \/>\n<img decoding=\"async\" src=\"https:\/\/ahui.blog\/wp-content\/uploads\/2021\/12\/image-20210804200535786.png\" alt=\"\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/ahui.blog\/wp-content\/uploads\/2021\/12\/image-20210804200632981.png\" alt=\"\" \/><br \/>\n<strong>\u53c2\u6570\uff1a<\/strong><\/p>\n<pre><code>  -h, --help            show this help message and exit\n  -q QUERY STRING, --qstr QUERY STRING\n                        \u6307\u5b9aFOFA\u4e2d\u7684\u641c\u7d22\u6761\u4ef6\uff0c\u5fc5\u987b\u7b26\u5408fofa\u8bed\u6cd5(\u8bed\u53e5\u4e2d\u4e0d\u7528\u5e26\u5f15\u53f7\uff0cfofa\u8bed\u53e5\u4e2d\u6709\u7a7a\u683c\u5219\u9700\u8981\u7528\u5f15\u53f7\u5305\u88f9q\u53c2\u6570)\n  -i IP, --ip IP        \u6307\u5b9a\u8981\u641c\u7d22\u7684IP\u6216IP\u6bb5\uff0c\u4f8b\u5982\uff1a-i 192.168.0.1\/24\n  -o OUT, --out OUT     \u6307\u5b9a\u8981\u5bfc\u51fa\u7684\u6587\u4ef6\u540d\uff0c\u4f8b\u5982\uff1a-o test.txt<\/code><\/pre>\n<p><strong>Example Usages\uff1a<\/strong><\/p>\n<h5>\u5c06\u7b26\u5408FOFA\u8bed\u6cd5\u7684\u8bed\u53e5\u8f93\u5165\u5373\u53ef\uff1a<\/h5>\n<pre><code>python2 HGather.py -q title=\u817e\u8baf\npython2 HGather.py -q domain=tencent.com -o result.txt\npython2 HGather.py -q &quot;domain=tencent.com &amp;&amp; is_domain=true&quot;<\/code><\/pre>\n<h5>\u76f4\u63a5\u6307\u5b9aIP\u6216IP\u6bb5\uff1a<\/h5>\n<pre><code>python2 HGather.py -i 220.181.111.113\npython2 HGather.py -i 220.181.111.113\/16\npython2 HGather.py -i 220.181.111.113\/24 -o result.txt<\/code><\/pre>\n<p>\u6267\u884c\u7ed3\u679c\u56fe\u5982\u4e0b\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/ahui.blog\/wp-content\/uploads\/2021\/12\/image-20211014163404740.png\" alt=\"\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/ahui.blog\/wp-content\/uploads\/2021\/12\/image-20211014164447843.png\" alt=\"\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5de5\u5177\u7b80\u8ff0\uff1a \u8d44\u4ea7\u6536\u96c6+C\u6bb5\u6574\u7406\u4e8c\u5408\u4e00 \u57fa\u4e8efofa\u8d44\u4ea7\u641c\u7d22\u5f15\u64ce\u8fdb\u884c\u8d44\u4ea7\u6536\u96c6\uff0c\u5feb\u901f\u68c0\u7d22\u76ee\u6807\u6761\u4ef6\u4e0b\u7684IP\uff0cURL\u4ee5 &#8230; <a title=\"\u8d44\u4ea7\u6536\u96c6\u5de5\u5177-HGather\" class=\"read-more\" href=\"https:\/\/ahui.blog\/index.php\/2021\/12\/22\/hgather\/\" aria-label=\"\u7ee7\u7eed\u9605\u8bfb\u8d44\u4ea7\u6536\u96c6\u5de5\u5177-HGather\">\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[24],"class_list":["post-123","post","type-post","status-publish","format-standard","hentry","category-tools","tag-tools"],"_links":{"self":[{"href":"https:\/\/ahui.blog\/index.php\/wp-json\/wp\/v2\/posts\/123","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ahui.blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ahui.blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ahui.blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ahui.blog\/index.php\/wp-json\/wp\/v2\/comments?post=123"}],"version-history":[{"count":4,"href":"https:\/\/ahui.blog\/index.php\/wp-json\/wp\/v2\/posts\/123\/revisions"}],"predecessor-version":[{"id":151,"href":"https:\/\/ahui.blog\/index.php\/wp-json\/wp\/v2\/posts\/123\/revisions\/151"}],"wp:attachment":[{"href":"https:\/\/ahui.blog\/index.php\/wp-json\/wp\/v2\/media?parent=123"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ahui.blog\/index.php\/wp-json\/wp\/v2\/categories?post=123"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ahui.blog\/index.php\/wp-json\/wp\/v2\/tags?post=123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}