0xTeles / jsleak

a Go code to detect leaks in JS files via regex patterns
MIT License
138 stars 26 forks source link

[ New Feature ] Add json/yaml input #13

Open 0xTeles opened 3 years ago

0xTeles commented 3 years ago

Add a json or yaml entry to make the tool more "usable":

Example in json:


{
 "regex": {
   "AWS":["AWS S3 Regex", "AWS Secret Key Regex" ]
 }
}

Output example:

[+] Url: http://localhost/index.js
[+] Match: AWS
[+] Result: s3.amazonaws.com