Skip to content

JScripter is a Python script designed to scrape and save unique JavaScript files from a list of URLs or a single URL.

License

Notifications You must be signed in to change notification settings

ifconfig-me/JScripter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

JScripter - A Noob-Friendly JavaScript Scraper!

JScripter is a Python script designed to scrape and save unique JavaScript files from a list of URLs or a single URL.

Disclaimer

This tool is intended only for educational purposes and for testing in corporate environments. https://twitter.com/nav1n0x/ and https://github.com/ifconfig-me take no responsibility for the misuse of this code. Use it at your own risk. Do not attack a target you don't have permission to engage with.

Feelfee to fork and make this script your own :)

Features

  • Scrape JavaScript files from multiple URLs concurrently using threading.
  • Save unique JavaScript files to a specified directory and - Print confirmation.
  • Removed duplicate JSFiles
  • Display detailed progress information, including the number of URLs processed, elapsed time, and approximate remaining time.
  • Silent mode for minimal output.

Screenshots

Single URL Mode:

image

Multi-urls Mode

image

Deduplicates Automativally:

image

Requirements

  • Python 3.x
  • requests library
  • beautifulsoup4 library
  • colorama library
  • tqdm library

You can install the required libraries using pip:

pip install requests beautifulsoup4 colorama tqdm

Installation

  1. Clone the repository:

  2. Ensure that GAU, hakrawler, and FFUF are installed and accessible from the command line.

Usage

From a List of URLs

  1. Create a file containing the list of target URLs (e.g., urls.txt).
  2. Run the script:

python JScripter.py -f urls.txt -d saved_js_files -t 10

From a Single URL

  1. Run the script with a single URL: python JScripter.py -u https://example.com -d saved_js_files -t 10

Command-Line Arguments

  • -f, --file: File containing list of target URLs.
  • -u, --url: Single target URL.
  • -d, --directory: Directory to save unique JavaScript files (required).
  • -s, --silent: Silent mode. No banner, no progress, only URLs.
  • -t, --threads: Number of threads to use for concurrent processing (default is 5).

About

JScripter is a Python script designed to scrape and save unique JavaScript files from a list of URLs or a single URL.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages