https://github.com/streaak/pastebin-scraper
Pastebin-scraper tool leverages the API of https://psbdmp.ws/ to find emails/domains dumped in pastebin.
https://github.com/streaak/pastebin-scraper
Last synced: 3 months ago
JSON representation
Pastebin-scraper tool leverages the API of https://psbdmp.ws/ to find emails/domains dumped in pastebin.
- Host: GitHub
- URL: https://github.com/streaak/pastebin-scraper
- Owner: streaak
- Created: 2018-04-03T12:09:29.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-04-03T03:10:07.000Z (11 months ago)
- Last Synced: 2024-11-05T20:47:01.193Z (4 months ago)
- Language: Shell
- Homepage:
- Size: 33.2 KB
- Stars: 116
- Watchers: 6
- Forks: 22
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
## Acknowledgments
* [Tomnomnom](https://twitter.com/tomnomnom)
* [Ed](https://twitter.com/edoverflow)
* [CaptainFreak](https://twitter.com/0xcaptainfreak)