https://github.com/lautarovculic/zdirb
Basic and fast directory enumerator.
https://github.com/lautarovculic/zdirb
dirb dirbuster enumeration light python
Last synced: 11 months ago
JSON representation
Basic and fast directory enumerator.
- Host: GitHub
- URL: https://github.com/lautarovculic/zdirb
- Owner: lautarovculic
- License: wtfpl
- Created: 2023-10-18T23:39:36.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-25T14:43:35.000Z (almost 2 years ago)
- Last Synced: 2025-01-28T10:44:23.778Z (over 1 year ago)
- Topics: dirb, dirbuster, enumeration, light, python
- Language: Python
- Homepage:
- Size: 65.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zDirb
A Python script for enumerating directories and subdomains. Fast.
## Table of Contents
- [Description](#description)
- [Prerequisites](#prerequisites)
- [Usage](#usage)
- [Customization](#customization)
## Description
This Python script allows you to enumerate directories based on a provided URL and count the words in files located in those directories using a wordlist. It includes progress tracking with an interactive progress bar.
In addition, you will be able to list subdomains and also by specific extensions.
## Prerequisites
- Python 3.x
- Required libraries:
- `requests`
- `alive-progress`
You can install the required libraries using `pip`. For example:
```bash
pip install requests
pip install alive-progress
```
## Usage
1 - Clone this repository to your local machine:
```bash
git clone https://github.com/lautarovculic/zDirb.git
```
2 - Navigate to the project directory:
```bash
cd zDirb
```
3 - Run the script with the following command:
```bash
python3 zDirb.py -u -w
```
To list subdomains you can use the parameter -s
For example:
```bash
python3 zDirb.py -s -u -w
```
To enumerate by any type of extension you can use -e
For example:
```bash
python3 zDirb.py -u -w -e .php
```
If you don't provide the -u or -w arguments, the script will prompt you to enter the URL and wordlist file paths.
The script will automatically add "http://" or "https://" to the URL if missing.
## Customization
You can customize the script as needed. For example, you can modify the code to change the number of concurrent threads or customize the progress bar appearance.
### NOTE
If you increase the number of threads, it may skip directories or it may be enumerated multiple times. A range of 5 to 15 is recommended.