Giter Club home page Giter Club logo

zdirb's Introduction

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.

zdirb's People

Contributors

lautarovculic avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.