pastebin-scraper
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.
Usage
$ ./scrape.sh
Usage:
Search for domains - ./script.sh -d domain.com
Search for emails - ./script.sh -e [email protected]
General search - ./script.sh -g foobar
Example
$ ./scrape.sh -d facebook.com
Searching pastebin...
Task completed. Output present in ./output/domain/facebook.com/
Installation
$ 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/
Output
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.
TODO
- Add more features