Skip to main content
https://raw.githubusercontent.com/Nekmo/dirhunt/v0.2.0/images/dirhunt.png

pip-rating badge Latest Tests CI build status Latest PyPI version Python versions Code Climate Test coverage Github stars

Dirhunt

Dirhunt Demo Video

Dirhunt is a web crawler optimize for search and analyze directories. This tool can find interesting things if the server has the “index of” mode enabled. Dirhunt is also useful if the directory listing is not enabled. It detects directories with false 404 errors, directories where an empty index file has been created to hide things and much more.

$ dirhunt http://website.com/

Dirhunt does not use brute force. But neither is it just a crawler. This tool is faster than others because it minimizes requests to the server. Generally, this tool takes between 5-30 seconds, depending on the website and the server.

Read more about how to use Dirhunt in the documentation.

Features

  • Process one or multiple sites at a time.

  • Process ‘Index Of’ pages and report interesting files.

  • Detect redirectors.

  • Detect blank index file created on directory to hide things.

  • Process some html files in search of new directories.

  • 404 error pages and detect fake 404 errors.

  • Filter results by flags.

  • Analyze results at end. It also processes date & size of the Index Pages.

  • Get new directories using robots.txt, VirusTotal, Google, CommonCrawl (NEW!), SSL Certificate (NEW!), Crt.sh (NEW!) & Wayback (NEW!).

  • Delay between requests.

  • One or multiple proxies option. It can also search for free proxies.

  • Save the results to a JSON file

  • Resume the aborted scans

Install

If you have Pip installed on your system, you can use it to install the latest Dirhunt stable version:

$ sudo pip3 install dirhunt

Python 2.7 & 3.7-3.12 are supported but Python 3.x is recommended. Use pip2 on install for Python2.

There are other installation methods available.

Disclaimer

This software must not be used on third-party servers without permission. Dirhunt has been created to be used by audit teams with the consent of the owners of the website analyzed. The author is not responsible for the use of this tool outside the law.

This software is under the MIT license. The author does not provide any warranty. But issues and pull requests are welcome.

Metadata

Release files for dirhunt 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dirhunt 1.0.0
File Size Uploaded
dirhunt-1.0.0.tar.gz 42.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dirhunt 1.0.0
File Interpreter ABI Platform
dirhunt-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 92.4 kB

Release files / dirhunt-1.0.0.tar.gz

Download URL dirhunt-1.0.0.tar.gz
Size 42.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f5a3907489f35deebf9f9a5647a635fa6c0a337a9e269393396a79dc41f7cd8d
BLAKE2b-256 checksum
How to use checksums
86303c86db522860b04d67a12ae7a66a57e31bfb26688f122b8a8b498f198a18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / dirhunt-1.0.0-py3-none-any.whl

Download URL dirhunt-1.0.0-py3-none-any.whl
Size 49.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
61b25f86f401ebcd7f15fe19889ac11fd032e064c4b8dd001283b18d4281050a
BLAKE2b-256 checksum
How to use checksums
b5bc61c124df56042d89f8a0512f2501a6bd491d1c9f522a5b34343ce426d991
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.9.0

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.0

1 release file

0.6.0

1 release file

0.5.1

1 release file

0.5.0

1 release file

0.4.2

1 release file

0.4.1

1 release file

0.4.0

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page