A tool that leverages the API of https://psbdmp.ws/ to find emails and domains dumped in pastebin which could lead to finding some juicy information.
$ ./scrape.sh
Usage:
Search for domains - ./script.sh -d domain.com
Search for emails - ./script.sh -e foo@bar.com
General search - ./script.sh -g foobar
$ ./scrape.sh -d facebook.com
Searching pastebin...
Task completed. Output present in ./output/domain/facebook.com/
$ git clone https://github.com/streaak/pastebin-scraper.git
$ cd pastebin-scraper
$ sudo chmod +x ./scrape.sh
$ sudo apt-get install jq
$ mkdir -p output/domain/ output/email/ output/general/
Outputs will either be stored in ./output/domain
, ./output/email
or ./output/general depending
depending on what you search for. The output will contain 2 files, output.json
and urls.txt
. output.json
will contain the original json returned by the API in a beautified format and urls.txt
will contain the URLs returned by the API in text format.
- Add more features