jscraper

command module
v0.0.0-...-329e2cf Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2023 License: MIT Imports: 7 Imported by: 0

README

JScraper

JScraper is a Go tool that collects links to JavaScript files from stdin.

Installation
go get github.com/eternyle/JScraper
Usage
cat subdomain.txt | JScraper | sort -u
Output
https://cdn.cookielaw.org/scripttemplates/otSDKStub.js
https://cdn.azizhakim.com/static/js/vendor.883ed9a0.js
https://cdn.azizhakim.com/static/js/retailer.0431142c.en.js
https://cdn.cookielaw.org/consent/12e743c7-ebdb-4c47-b445-d37bcd22ba62/OtAutoBlock.js
https://cdn.cookielaw.org/scripttemplates/otSDKStub.js
https://cdn.azizhakim.com/static/js/vendor.883ed9a0.js
https://cdn.azizhakim.com/static/js/retailer.0431142c.en.js
https://cdn.cookielaw.org/consent/12e743c7-ebdb-4c47-b445-d37bcd22ba62/OtAutoBlock.js
  • subdomain.txt
https://abc.azizhakim.com
https://xyz.azizhakim.com
https://hello.azizhakim.com

JScraper + Linkfinder

cat subdomain.txt | JScraper | sort -u | grep "domain" | tee jsfile.txt
while read line; do python3 ~/tools/linkfinder.py -i $line -o cli ; done < jsfile.txt

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