Pinkerton: JavaScript file crawler and secret finder
Pinkerton
Pinkerton is a Python tool created to crawl JavaScript files and search for secrets.
Features
- Works with ProxyChains
- Fast scan
- Low RAM and CPU usage
- Open-Source
- Python ❤️
To-Do
- Add more secrets regex pattern
- Improve the JavaScript file extract function
- Improve pattern match system
- Add pass list file method
Installing / Getting Started
A quick guide on how to install and use Pinkerton.
1. Clone the repository with git clone https://github.com/oppsec/pinkerton.git
2. Install the libraries with pip3 install -r requirements.txt
3. Run Pinkerton with python3 main.py -u https://example.com
Docker
If you want to use Pinkerton in a Docker container, follow these commands:
1. Clone the repository – git clone https://github.com/oppsec/pinkerton.git
2. Build the image – sudo docker build -t pinkerton:latest .
3. Run container – sudo docker run pinkerton:latest
Copyright (c) 2022 oppsec
Source: https://github.com/oppsec/