GithubHelp home page GithubHelp logo

anandvelango / subhawk Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 116 KB

Subdomain enumerator that utilises asynchronous techniques for bug bounty hunters & penetration testers.

Python 100.00%
bugbounty penetration-testing pentesting python3 subdomain-bruteforcing subdomain-enumeration subdomain-finder subdomain-scanner

subhawk's Introduction

Subhawk

image

Subhawk is a python worlist-based tool that is used for discovering subdomains associated with a target domain in a fast efficient manner by utilising asynchronous programming techniques. SubHawk enumerates subdomains by reading through a wordlist file line by line, combining each entry with the target domain and it then sends asynchronous HTTP requests to each subdomain. This assists bug bounty hunters and penetration tester

Features

  • Asynchronous (fast results and customisable)
  • Capable of using large wordlist files
  • Option for outputting the results in a .txt file

Installation

  1. Clone the repository:
git clone https://github.com/anandvelango/SubHawk.git
  1. Change directory:
cd SubHawk
  1. Install all the required modules
pip3 install -r requirements.txt

Python Version Required

SubHawk supports at least Python 3.6.x so make sure you have at least Python 3.6.x installed on your system.

Modules

  • asyncio
  • httpx
  • time
  • argparse
  • colorama

Wordlist file

You can use our current sample wordlist file wordlists/subdomains.txt from our repository but you can also use wordlists from your Kali machine or download some from internet. Use whichever you need.

Usage

Short form Long form Description
-d --domain Domain in which you want to enumerate subdomains
-w --wordlist-file Path to wordlist file
-o --output Output the results in a .txt file
-s --semaphores Adjust the semaphores (speed) if required (by default it's set to 100 but change it accordingly)
-h --help Show this help message and exit

Examples

image

  • To get help about the tool:
python3 subhawk.py -h
  • To find subdomains (always requires a wordlist file)
python3 subhawk.py -d example.com -w <path to wordlist file>
  • Save the results in a file
python3 subhawk.py -d example.com -w <path to file> -o <file>.txt
  • Adjust the semaphores (speed)
python3 subhawk.py -d example.com -w <path to file> -s <semaphores: int>

Update Plans

  • find URLs for cloud storage services like S3
  • add more smaller and larger subdomain wordlists

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.