Saturday, June 17, 2017

PwnBin – Python Pastebin Search Tool

7:26 AM Leave a Reply
PwnBin – Python Pastebin Search Tool
PwnBin is a webcrawler or Pastebin search tool which searches public pastebins for specified keywords. All pastes are then returned after sending completion signal CTRL+C.

PwnBin - Python Pastebin Search Tool

Apart from being a great tool for developers, Pastebins are often used by hackers to leak stolen credentials or d0x people. This tool can help you search pastebins for your API keys, SSH keys, tokens and anything else sensitive to check for leaks.

There are other tools that can help with this and similar tasks like – Scumblr by Netflix – Automatically Scan For Leaks.




Features

Currently only supports Pastebin.com
Searches by default for:
SSH Credentials
Passwords
API Keys
Tokens
Usage

Basic command:


python pwnbin.py -k ,"example substring",..... -o
1
python pwnbin.py -k ,"example substring",..... -o
Both the keyword and outputfile arguments are optional and default to


-k ssh,pass,key,token
-o log.txt
1
2
-k ssh,pass,key,token
-o log.txt
Optional commands:


-a, Append to file instead of overwriting file.
-t <time>, Run for time in seconds.
-n , Run for number of pastes.
-m , Run for number of matches.</time>
1
2
3
4
-a, Append to file instead of overwriting file.
-t <time>, Run for time in seconds.
-n , Run for number of pastes.
-m , Run for number of matches.</time>
You can download PwnBin here: