Skip to content

security-geeks/Pinkerton

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🕵️ Pinkerton

Investigating JavaScript files since 1850




Python project to crawl for JavaScript files and search for secrets like API keys, authorization tokens, hardcoded passwords, or related data.


⚡ Getting started

A quick guide on how to install and use Pinkerton.

  1. Clone the repository with: git clone https://github.com/000pp/pinkerton.git
  2. Install the libraries with: pip3 install -r requirements.txt --break-system-packages
  3. 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

⚫ BlackArch

pacman -Syu pinkerton



🔨 Contributing

A quick guide on how to contribute to the project.

  1. Create a fork of the Pinkerton repository
  2. Clone the repository with git clone https://github.com/your/pinkerton.git
  3. Type cd pinkerton/
  4. Create a branch and make your changes
  5. Commit and perform a git push
  6. Open a pull request



🙏 Credits



⚠️ Warning

  • The developer is not responsible for any malicious use of this tool.

About

🕵️ Pinkerton is an JavaScript file crawler and secret finder developed in Python

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Python 97.0%
  • Dockerfile 3.0%