Crawling pastebin to find specific pastedump


In this post we will crawl into pastebin.com to find specific pastebin dump. For example if we want to find paste for specific keyword like "password" we can get all the paste containing that keyword.

Preparing the Attack

Usually some sites don't allow web crawling and by doing so you may get banned from accessing that site, which will also make this method vain. 
So before doing this i recommend you to use THIS tool to anonymize all your traffic so that if we get banned we can switch our IP address immediately. 


Start the Attack
STEP 1 Clone into this URL by typing https://github.com/kahunalu/pwnbin.git


STEP 2 Now type python pwnbin.py -k pass -n 10 -m 10 here "-k" is the keyword you want to search for "-n" is the number of paste you want to crawl and "-m" number of keywords matches you want.


 As we can see above we have found a match and it's now saved to log.txt file so it's time to see the dump content.

STEP 3 Now just type less log.txt in the same directory to view the dump paste link.


And then we will get the result 

So by using this we can check for data dump through pastebin site.
For more stuff you can follow us on : Facebook
And you can also follow our Page  



Comments

Popular posts from this blog

USB forensic : Find the history of every connected USB device on your computer

Hack WinRAR password by using Brute force attack

Fileless malware Analysis with Cuckoo sandbox

Web application penetration testing: Tools and Techniques for web security auditing