Skip to main content

A simple scraper of the public posts on pastebin. It looks for passwords.

Project description

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.

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](https://pip.pypa.io/en/latest/):

pip install -r requirements.txt
  • The setup script will install the requirements if pip is installed.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PBPWScraper-1.0.2.tar.gz (3.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page