Skip to content

PasteHunter is an automated tool to fetch pastes from pastebin to find leaked information, credentials, or any sensitive data in pastebin which are already crawled by Google.

License

Notifications You must be signed in to change notification settings

dibsy/pastehunter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Paste-Hunter

! Hunt those Pastes !

What is PasteHunter ?

PasteHunter is an automated tool to fetch pastes from pastebin to find leaked information, credentials, or any sensitive data in pastebin which are already crawled by Google.

So why I created pastehunter ?

So one day while playing with google dorks I ended up searching this particular dork site:pastebin.com intext:some-juicy-info From the results I learnt that I can really pull up interesting data from pastebin ( urls, emails, credentials , and many more ) . I found some of my organizational information from there and I reported them to the incident response team. So I thought why dont I automate it ? Well thats the story behind it.

Disclaimer

The author is not responsible if this tool is misused. For educational, awareness or any ethical purpose related use only!

Installation

pip3 install -r requirements.txt

Usage

In line 18 of app.py file,  change the search query to anything you wish to search
for example i am interested with anything that has smtp.sendgrid.net , so I do this 

query = "site:pastebin.com intext:smtp.sendgrid.net"

Also you can set the number of results you want by following instruction on line 45

finally save the file and run 

mkdir raw
python3 app.py

Starting digging google to find juicy information about site:pastebin.com+intext:smtp.sendgrid.net
Fetching contents of https://pastebin.com/3YrF06Nj
Fetching contents of https://pastebin.com/Vt9viAd9
Fetching contents of https://pastebin.com/87Qsrtni
Fetching contents of https://pastebin.com/Trm7GDXa
Fetching contents of https://pastebin.com/xd0vZqVq
Fetching contents of https://pastebin.com/wq747Fup
Fetching contents of https://pastebin.com/zCGmyqf2
Fetching contents of https://pastebin.com/ggYbteWH
Fetching contents of https://pastebin.com/KT0EErWQ
Fetching contents of https://pastebin.com/btJgmdZE

The pastes will be stored in the raw/ directory

About

PasteHunter is an automated tool to fetch pastes from pastebin to find leaked information, credentials, or any sensitive data in pastebin which are already crawled by Google.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages