Hey guyz, In this blog i am going to tell you how to run jsberg on the list of hosts to gather all the links

  • What is the jsberg ?

JSBerg

JSBerg is a fast and efficient URL scraper that extracts links, JavaScript files, CSS files, images, and inline URLs from a list of websites.

Features

  • Follows redirects and extracts final destination URLs.
  • Scrapes URLs from <a>, <script>, <link>, and <img> tags.
  • Extracts inline URLs from JavaScript and CSS.
  • Uses multithreading for faster processing.
  • Saves results in links.txt.

Installation

“`bash

git clone https://github.com/xitmakes/jsberg.git

cd jsberg
pip install -r requirements.txt

Methodology – enum domains

  • Enumerate the list of subdomains using =
  • subfinder -d $domain -all | tee subs.txt
  • then run httporbe on it
  • cat subs.txt | httprobe -c 50 | tee hosts

Js berg host

  • run = python3 jsberg.py hosts

Now all the links will be saved on links.txt