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 details)

Uploaded Source

File details

Details for the file PBPWScraper-1.0.2.tar.gz.

File metadata

  • Download URL: PBPWScraper-1.0.2.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PBPWScraper-1.0.2.tar.gz
Algorithm Hash digest
SHA256 96f25cc73fc52ddf0508c86dd59de390c467abc2b52949eeb355f83bd230fdf0
MD5 d1d97c205d939431b5d1707a0af5298d
BLAKE2b-256 e07326efdee9a7bdae85a8485404fd5d2aa511a7714bede3a6aca521ec94165a

See more details on using hashes here.

Supported by

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