An open API service indexing awesome lists of open source software.

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.

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.