.. image:: https://raw.githubusercontent.com/Nekmo/dirhunt/v0.2.0/images/dirhunt.png
|
.. image:: https://raw.githubusercontent.com/Nekmo/dirhunt/pip-rating-badge/pip-rating-badge.svg :target: https://github.com/Nekmo/dirhunt/actions/workflows/pip-rating.yml :alt: pip-rating 徽章
.. image:: https://img.shields.io/github/actions/workflow/status/Nekmo/dirhunt/test.yml?style=flat-square&maxAge=2592000&branch=develop :target: https://github.com/Nekmo/dirhunt/actions?query=workflow%3ATests :alt: 最新测试 CI 构建状态
.. image:: https://img.shields.io/pypi/v/dirhunt.svg?style=flat-square :target: https://pypi.org/project/dirhunt/ :alt: 最新 PyPI 版本
.. image:: https://img.shields.io/pypi/pyversions/dirhunt.svg?style=flat-square :target: https://pypi.org/project/dirhunt/ :alt: Python 版本
.. image:: https://img.shields.io/codeclimate/maintainability/Nekmo/dirhunt.svg?style=flat-square :target: https://codeclimate.com/github/Nekmo/dirhunt :alt: Code Climate
.. image:: https://img.shields.io/codecov/c/github/Nekmo/dirhunt/master.svg?style=flat-square :target: https://codecov.io/github/Nekmo/dirhunt :alt: 测试覆盖率
.. image:: https://img.shields.io/github/stars/Nekmo/dirhunt?style=flat-square :target: https://github.com/Nekmo/dirhunt :alt: Github 星标
Dirhunt #######
.. image:: https://asciinema.org/a/xPJXT0MhrvlZ8lJYJYkjxlice.png :target: https://asciinema.org/a/xPJXT0MhrvlZ8lJYJYkjxlice :align: center :alt: Dirhunt 演示视频
Dirhunt 是一个专为搜索和分析目录而优化的网络爬虫。如果服务器启用了 "index of" 模式,该工具可以发现有趣的内容。即使目录列表未启用,Dirhunt 也很有用。它可以检测存在假404错误的目录、为隐藏内容而创建了空索引文件的目录,以及更多情况。
.. code-block:: console
$ dirhunt http://website.com/
Dirhunt 不使用暴力破解。但它也不仅仅是一个爬虫。该工具比其他工具更快,因为它最大限度地减少了向服务器发出的请求。通常,此工具需要5-30秒,具体取决于网站和服务器。
在文档中阅读更多关于如何使用 Dirhunt 的信息 in the documentation <http://docs.nekmo.org/dirhunt/usage.html>_。
如果您系统上安装了 Pip,可以使用它来安装最新的 Dirhunt 稳定版本::
$ sudo pip3 install dirhunt
支持 Python 2.7 和 3.7-3.12,但推荐使用 Python 3.x。对于 Python2,安装时使用 pip2。
还有其他 安装方法 <http://docs.nekmo.org/dirhunt/installation.html>_ 可用。
未经许可,不得在第三方服务器上使用此软件。Dirhunt 旨在由审计团队在获得被分析网站所有者同意的情况下使用。作者不对该工具在法律范围之外的使用负责。
本软件使用 MIT 许可证。作者不提供任何保证。但欢迎提出 issues 和 pull requests。