jsfuzzer

command module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2025 License: MIT Imports: 13 Imported by: 0

README ΒΆ

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 ΒΆ

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL