Skip to content
A simple scraper that identifies passwords in public posts on pastebin.com
Python
Branch: master
Clone or download
Caleb Shortt
Caleb Shortt more cleanup
Latest commit af96472 Feb 21, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
categorization
networking
presets Added lots Oct 27, 2017
scraper
tests
utilities
.gitignore
README.rst
pastebin_scraper.py
requirements.txt
settings.py
setup.py

README.rst

Pastebin Scraper

Description

This project is a simple scraper that targets the website "pastebin". It scans through the public paste archives and looks for anything that might match a password-like pattern.

It has been designed to be easily extensible for other pages or websites.

Installation

The Pastebin Password Scraper is on pip (https://pip.pypa.io/en/latest/).

This is the easiest way to install the PBPWScraper:

pip install PBPWScraper

If you do not want to use pip you can clone the repository here.

Usage

An example is in pastebin_scraper.py:

from presets.pastebin import PastebinScraper

if __name__ == "__main__":

    pastebin_scraper = PastebinScraper()
    password_matches = pastebin_scraper.analyze()

    for pwm in password_matches:
        print pwm

Requirements

  • All requirements are listed in requirements.txt

Install them using pip at https://pip.pypa.io/en/latest/

pip install -r requirements.txt
  • The setup script will install the requirements if pip is installed.
You can’t perform that action at this time.