Find secret keys from JS file
go install github.com/burak0x01/findsecret@latest
You can download the pre-built binaries from the releases page and run. For example:
unzip findsecret_linux_amd64.zip
mv findsecret /usr/bin
findsecret -h
Findsecret requires 2 parameters to run: -i (input), -o (output).
findsecret -i https://domain.tld
findsecret -i ./local/path/main.js
findsecret -i https://somedomain/something.js
findsecret -i https://domain.tld -o cli (default)
findsecret -i https://domain.tld -o result.txt