findsecret
Find secret keys from JS file
Installation
From Source
- Install Go on your system (min v17.0.0 and GO111MODULE env should be "on")
go install github.com/burak0x01/findsecret@latest
From Binary
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
Usage
Findsecret requires 2 parameters to run: -i (input), -o (output).
Input
findsecret -i https://domain.tld
findsecret -i ./local/path/main.js
findsecret -i https://somedomain/something.js
Output
findsecret -i https://domain.tld -o cli (default)
findsecret -i https://domain.tld -o result.txt