GithubHelp home page GithubHelp logo

sangamahesh / jscripter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pushkraj99/jscripter

0.0 0.0 0.0 30 KB

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

License: MIT License

Python 100.00%

jscripter's Introduction

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

To Install JScripter, Follow These Steps:

git clone https://github.com/PushkraJ99/JScripter
cd JScripter
pip3 install requirements.txt
python3 JScripter.py -h
  1. Ensure that gaulus, hakrawler, and ffuf are installed and accessible from the command line. To Install gaulus, hakrawler, and ffuf, Follow These Steps:
go install github.com/bp0lr/gauplus@latest
go install github.com/hakluke/hakrawler@latest
go install github.com/ffuf/ffuf@latest

Usage

From a List of URLs

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

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

From a Single URL

  1. Run the script with a single URL: python3 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).

๐Ÿค Contributing

Contributions are Welcome! If you'd like to Contribute to JScripter Please Follow These Steps

  1. Fork the Repository.
  2. Create a New Branch.
  3. Make Your Changes and Commit them.
  4. Submit a Pull Request.

๐Ÿซฃ Author

Github


๐Ÿฅท๐Ÿป UPGRADED BY :)

Github Twitter LinkedIn Instagram


๐Ÿค— JUST 4 FUN

โœจ Stargazers

Stargazers repo roster for @PushkraJ99/JScripter

โ˜ข๏ธ Forkers

Forkers repo roster for @PushkraJ99/JScripter

๐Ÿ Snake4Readme


Visitor Count


jscripter's People

Contributors

pushkraj99 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.