Read a list of JS files and look for sensitive data via regex.
go install github.com/i5nipe/nipejs@latest
Download the file "files/regex.txt"
-
You don't need to specify the regex file if you put it in
~/.nipe/regex.txt
. -
This tool has some special regex, e.g. decrypt base64 strings.
-
Automatically test the authenticity of some API keys
nipejs -u jsfile -r regex.txt
nipejs -u ~/Path/to/jsfile -s -r regex.txt
cat jsfile | nipejs -r regex.txt