Pinkerton
🕵️ Python project to crawl for JavaScript files and search for secrets like API keys, authorization tokens, hardcoded credentials, etc.
Install / Use
/learn @0xdsm/PinkertonREADME
🕵️ Pinkerton
<div align="center"> <img src="https://i.imgur.com/qQXb2ha.png" width=700> </div> <br> <p align="center"> <img src="https://img.shields.io/github/license/000pp/Pinkerton?color=yellow&logo=github&style=for-the-badge"> <img src="https://img.shields.io/github/issues/000pp/Pinkerton?color=yellow&logo=github&style=for-the-badge"> <img src="https://img.shields.io/github/stars/000pp/pinkerton?color=yellow&logo=github&style=for-the-badge"> <img src="https://img.shields.io/github/forks/000pp/Pinkerton?color=yellow&logo=github&style=for-the-badge"> </p>Investigating JavaScript files since 1850
<br> <p>Python project to crawl for JavaScript files and search for secrets like API keys, authorization tokens, hardcoded passwords, or related data.</p> <br>
⚡ Getting started
<p>A quick guide on how to install and use Pinkerton. </p>- Clone the repository with:
git clone https://github.com/000pp/pinkerton.git - Install the libraries with:
pip3 install -r requirements.txt --break-system-packages - Run Pinkerton with:
python3 main.py -u https://example.com
🐳 Docker
If you want to use pinkerton in a Docker container, follow this procedure:
1. Clone the repository - git clone https://github.com/000pp/pinkerton.git
2. Build the image - sudo docker build -t pinkerton:latest .
3. Run container - sudo docker run pinkerton:latest
<br>
⚫ BlackArch
pacman -Syu pinkerton
<br><br>
🔨 Contributing
A quick guide on how to contribute to the project.
- Create a fork of the Pinkerton repository
- Clone the repository with
git clone https://github.com/your/pinkerton.git - Type
cd pinkerton/ - Create a branch and make your changes
- Commit and perform a git push
- Open a pull request
<br><br>
🙏 Credits
- m4ll0k (SecretFinder creator) for the regex patterns
- h33lit (Jubaer Alnazi) for the regex patterns
- zricethezav (GitLeaks creator) for the regex patterns
<br><br>
⚠️ Warning
- The developer is not responsible for any malicious use of this tool.
Related Skills
node-connect
336.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
82.9kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
82.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
336.5kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
