Kali Linux

PasteMonitor : Scrape Pastebin API To Collect Daily Pastes, Setup A Wordlist And Be Alerted By Email When You Have A Match

PasteMonitor is a Scrape Pastebin API to collect daily pastes, setup a wordlist and be alerted by email when you have a match.

Description

The PasteMonitor tool allows you to perform two main actions (for educational purposes only):

  • Download daily new public pastes
Average number of pastes per day: 1000-3000 (filetype: .txt)Average number of pastes per day: 1000-3000 (filetype: .txt)
  • Send automatic email alert

You can setup a wordlist and be alerted by email when you have a match

If your paste is no longer online, you can find it on your computer/server via the ID of your paste (here ID is “WJq2YxPg”)

Before start

Before starting the tool, make sure to:

  • Get a Pastebin PRO account
  • Enter the IP address of your machine in the “Your Account & Whitelisted IP” section
  • Activate a mail account that can authorize a third party application (here we use a Gmail account)
  • Enable 2-step verification
  • Generate app password (for more help, see this tutorial)

Then, add to the code “pastemonitor.py”:

  • Email credentials (“email”, “password”)
  • Email alert recipient (“receiver”)

Wordlist

In the “wordlist.txt” file, add your keywords line by line.

Prerequisite

pip3 install -r requirements.txt

Usage

python3 pastemonitor.py

R K

Recent Posts

Set Up Nginx Server Blocks on Ubuntu 18.04: Host Multiple Sites

Nginx server blocks let you run more than one website on a single server. Each block…

10 hours ago

Install Tor Browser on Ubuntu 18.04: Anonymous Browsing Guide

Tor Browser is a modified version of Firefox that routes all your web traffic through the Tor…

10 hours ago

Install Vagrant on Ubuntu 18.04: Complete Setup Guide for Developers

Vagrant is a command-line tool that makes it easy to build and manage virtual machine environments.…

11 hours ago

Install VMware Tools on Ubuntu 18.04: Open VM Tools and ISO Guide

VMware Tools is a set of drivers and services that improves the performance of an Ubuntu…

12 hours ago

Install Apache Maven on Ubuntu 18.04: Stable or Latest Version

Java developers use project management tools to automate building their applications. Apache Maven is an open source…

12 hours ago

Install Mono on Ubuntu 18.04: C# Compiler and Runtime Guide

Running programs built for Microsoft's framework on a Linux system is easier than you think. Mono is…

1 day ago