An open API service indexing awesome lists of open source software.

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.

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)