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

Kali Linux 2024.4 Released, What’s New?

Kali Linux 2024.4, the final release of 2024, brings a wide range of updates and…

2 days ago

Lifetime-Amsi-EtwPatch : Disabling PowerShell’s AMSI And ETW Protections

This Go program applies a lifetime patch to PowerShell to disable ETW (Event Tracing for…

2 days ago

GPOHunter – Active Directory Group Policy Security Analyzer

GPOHunter is a comprehensive tool designed to analyze and identify security misconfigurations in Active Directory…

4 days ago

2024 MITRE ATT&CK Evaluation Results – Cynet Became a Leader With 100% Detection & Protection

Across small-to-medium enterprises (SMEs) and managed service providers (MSPs), the top priority for cybersecurity leaders…

6 days ago

SecHub : Streamlining Security Across Software Development Lifecycles

The free and open-source security platform SecHub, provides a central API to test software with…

1 week ago

Hawker : The Comprehensive OSINT Toolkit For Cybersecurity Professionals

Don't worry if there are any bugs in the tool, we will try to fix…

1 week ago