A tool for scanning javascript files for interesting tidbits.
Depends on Elixir which is available from package managers or I recommend getting the latest version using: asdf
sudo apt-get install elixir # easy method
# or using asdf for the latest version
asdf plugin add erlang
asdf plugin add elixir
asdf install erlang 26.2.1
asdf install elixir 1.18.0-otp-26
# test it works
iex
# install dependencies
cd ./jslurk
mix deps.get
mix escript.build
./jslurk -h
./jslurk -d ./js_files.txt
cat ./js_files.txt | ./jslurk
cat ../js_files.txt | ./jslurk --download ./d --output ./out.json
./jslurk https://example.com/app.js
# your a wizard harry...
katana -em js -jc -d 5 -c 50 -silent -u https://harrypotter.com | ./jslurk
- waybackurls
- gau
Works ok...
But it truncates results to stop huge minified JS from sneeking through but I'm going to fix this.
I'm also going to improve each module so that it returns better results.
This tool is work in progress... so come back soon : )
You can add the folder to your PATH for now. This will be improved in future.