{"repo":"003random/getJS","free":true,"listed":false,"github":"https://github.com/003random/getJS","clone":"git clone https://github.com/003random/getJS.git","description":"A tool to fastly get all javascript sources/files","language":"Go","stars":888,"topics":["javascript","files","parser","goquery","extract","urls","recon","reconnaissance","pentesting","bugbounty"],"license":"MIT","category":"security-tools","readme_excerpt":"JavaScript Extraction CLI & Package This is a powerful tool for extracting JavaScript sources from URLs and web pages / HTTP responses. It offers a command-line interface (CLI) for straightforward URL processing and a package interface for custom integrations, making it ideal for pentesters, bug bounty hunters, and developers needing to extract JS sources efficiently. Table of Contents - Installation - CLI Usage - Options - Examples - Package Usage - Importing the Extractor - Example - Version Information - Contributing - License Installation To install getJS , use the following command: go install github.com/003random/getJS/v2@latest CLI Usage Options getJS provides several command-line options to customize its behavior: - -url string : The URL from which JavaScript sources should be extracted. - -input string : Optional URLs input files. Each URL should be on a new line in plain text format. Can be used multiple times. - -output string : Optional output file where results are written to. Can be used multiple times. - -complete : Complete/Autofill relative URLs by adding the current origin. - -resolve : Resolve the JavaScript files. Can only be used in combination with --complete . - -threads int : The number of processing threads to spawn (default: 2). - -verbose : Print verbose runtime information and errors. - -method string : The request method used to fetch remote contents (default: \"GET\"). - -header string : Optional request headers to add to the requests. Can be used ","default_branch":null,"files":null,"tree":[],"storefront":"/r/003random","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/003random/getJS/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}