Code Monkey home page Code Monkey logo

pystemon's Introduction

pystemon

Monitoring tool for PasteBin-alike sites written in Python

Copyleft AGPLv3 - Christophe Vandeplas - [email protected]
Feel free to use the code, but please share the changes you've made

Features:

  • search for regular expressions in pasties
  • flexible design, minimal effort to add another paste* site
  • use custom download functions for complex pastie sites
  • uses multiple threads per unique site to download the pastes
  • waits a random time (within a range) before downloading the latest pastes, time customizable per site
  • (optional) only trigger on X hits in the same pastie
  • (optional) exclude matching pasties if exclusion regex matches
  • (optional) allow additional email recipients per search pattern
  • (optional) uses random User-Agents
  • (optional) uses random proxies
  • removes a proxy if it is unreliable (fails 5 times)
  • (optional) compress saved files with Gzip. (no zip to limit external dependencies)
  • can run as daemon

Python Dependencies

  • PyYAML
  • BeautifulSoup
  • PyMongo (For Optional Mongodb support)

Limitations:

  • Only HTTP proxies are allowed
  • Only HTTP urls will use proxies

Usage

Usage: pystemon.py [options]
Options:
      -h, --help            show this help message and exit  
      -c FILE, --config=FILE  
                            load configuration from file  
      -d, --daemon          runs in background as a daemon  
      -k, --kill            kill pystemon daemon
      -s, --stats           display statistics about the running threads (NOT IMPLEMENTED)    
      -v                    outputs more information  

Default configuration file: /etc/pystemon.yaml or pystemon.yaml in current directory

pystemon's People

Contributors

cvandeplas avatar deventual avatar rommelfs avatar goncalor avatar yaleman avatar rafa-dot-el avatar chervaliery avatar pclr avatar jalewis avatar desoulter avatar trolldbois avatar rafiot avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.