GithubHelp home page GithubHelp logo

devildog13 / subscraper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cillian-collins/subscraper

0.0 0.0 0.0 77 KB

Reconnaissance tool which scans Javascript files for subdomain names and proceeds to recursively iterate through other Javascript files hosted on subsequent subdomains, enumerating all subdomains for a given URL.

Python 100.00%

subscraper's Introduction


SUBSCRAPER

Reconnaissance tool which scans javascript files for subdomains and then iterates over all javascript files hosted on subsequent subdomains to enumerate a list of subdomains for a given URL.

Features

  • Scans a domain and identifies all subdomains in javascript files.
  • Scans subdomains and identifies all subdomains in subsequent files.
  • Continues until no new subdomains are identified.

Install

To install you should first clone this repository and then open the command line in the cloned directory and run the install command below.

pip install -r requirements.txt

Parameters

Syntax:
    $ python subscraper.py -u youtube.com -o output.txt
    $ python subscraper.py -u youtube.com -v
    $ python subscraper.py -u youtube.com -o output.txt -v

Options:
  -h, --help  show this help message and exit
  -u          URL of the website to scan.
  -o          Output file (for results).
  -v          Enables verbosity

Contributions

There's a lot of work left to do here, specifically relating to the whitelisting of which javascript files we scan and which we ignore. Generally speaking, for a domain youtube.com we would look to check any files which are relative script.js and /scripts/script.js. We should also look to include all javascript files hosted on *.youtube.com and if possible, even include these subdomains in our output, assuming they are not already included in our output. This can often happen if CDNs are hosting javascript files so it's important not to miss anything.

subscraper's People

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.