NipeJS
Read list of JS files and look for sensitive data via regex.
☕
Install
go get github.com/i5nipe/nipejs
☕
Regular expressions
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 and notify via telegram if valid. (
Not sure about the results yet.)- You need to set up your Telegram token in the Environment, export the following variables:
export NIPEKEY={telegram-API-Key} export NIPEJSCHAT={telegram-Chat-id}
☕
Usage examples
nipejs -urls jsfile -r regex.txt
nipejs -urls ~/Path/to/jsfile -s -r regex.txt
cat jsfile | nipejs -r regex.txt