Skip to content

lautarovculic/zDirb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zDirb

A Python script for enumerating directories and subdomains. Fast.

Table of Contents

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:

pip install requests
pip install alive-progress

Usage

1 - Clone this repository to your local machine:

git clone https://github.com/lautarovculic/zDirb.git

2 - Navigate to the project directory:

cd zDirb

3 - Run the script with the following command:

python3 zDirb.py -u <start_url> -w <wordlist_file>

To list subdomains you can use the parameter -s For example:

python3 zDirb.py -s -u <start_url> -w <wordlist_file>

To enumerate by any type of extension you can use -e For example:

python3 zDirb.py -u <start_url> -w <wordlist_file> -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.