command
module
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: Dec 14, 2025
License: MIT
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
ΒΆ
π·οΈ jsfuzzer β Fast JS Link Fuzzer for Secrets, IPs, Keys & Endpoints
jsfuzzer is a fast, concurrency-enabled CLI tool written in Go that scans JavaScript files for:
- π API keys, tokens, secrets
- π Endpoints and paths
- π§ Interesting strings (IPs, JWTs, etc.)
π Features
- β
Scan a single URL or a list of URLs
- β
Read URLs from piped input
- β
Extract secrets and endpoints using built-in regex
- β
Custom regex support with
-regex
- β
Add custom HTTP headers (e.g., Authorization)
- β
Prepend base URLs to relative endpoints
- β
Return Email Adress
- β
Seaarch for 3rd party links (Google API, Stripe, Sentry, etc)
- β
Output to file or stdout
- β
Fully deduplicated output, easy to pipe to
anew, notify, etc.
π οΈ Installation
From Source (requires Go 1.18+)
go install github.com/byteoverride/jsfuzzer@latest
π¦ Usage
jsfuzzer [flags]
| Task |
Command Example |
| Scan single JS URL |
jsfuzzer -u https://site.com/main.js |
| Scan from file |
jsfuzzer -l jsurls.txt |
| Scan with piped input |
cat jsurls.txt | jsfuzzer |
| Use custom regex |
jsfuzzer -u https://site.com/main.js -r '^/api/' |
| Add custom headers |
jsfuzzer -u https://site.com/js --headers "Authorization:Bearer X,User-Agent:Hacker" |
| Prepend base to endpoints |
jsfuzzer -u https://site.com/js --base https://site.com |
| Save results to file |
jsfuzzer -u https://site.com/main.js -o results.txt |
NOTE
- The --base is used to append the base url to the endpoint output
- Take the IPs found with a grain of Salt its regex isnt perfect verfy the IP by searching it in the JS and confirm
πFlags
| Flag |
Description |
-u, --url |
Single JavaScript URL to scan |
-l, --list |
File containing list of JS URLs |
-o, --output |
Output file to write results |
-r, --regex |
Custom regex to filter output (e.g. ^/api/) |
--headers |
Custom HTTP headers: Header1:Value1,Header2:Value2 |
--base |
Base URL to prepend to relative endpoints |
-h, --help |
Show help message |
Documentation
ΒΆ
There is no documentation for this package.
Source Files
ΒΆ
Click to show internal directories.
Click to hide internal directories.