Skip to content

Script to monitor pastebin.com's public pastes for sensitive data leakage

License

Notifications You must be signed in to change notification settings

OdinF13/Monitor-pastebin-leaks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Monitor-pastebin-leaks

Script to monitor pastebin.com's public pastes for sensitive data leakage.

It "greps" raw data against regular expressions,

if matches

  1. downloads file to /opt/pastebin/ directory
  2. gives you alert
  3. saves message in log

NOTE: Script is tested only for root user.

Usage

How to run?

bash MONITOR_pastebin.sh

How to add to cron?

crontab -l | { cat; echo "*/5 * * * * bash /root/Desktop/dev/sh/MONITOR_pastebin.sh"; } | crontab -

Screenshots

When nothing changed after the last run

When nothing changed after the last run

When something changed after the last run

When something changed after the last run

When script finds something

When script finds something

Data downloaded in /opt/pastebin

Data downloaded in /opt/pastebin

About

Script to monitor pastebin.com's public pastes for sensitive data leakage

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages