/err-cracksh

Errbot plugin interface for crack.sh

Primary LanguagePythonApache License 2.0Apache-2.0

err-cracksh

Errbot plugin to query https://crack.sh's API.

Prerequisites

  • Python 3+

Installation

  • !repos install https://github.com/frozenfoxx/err-cracksh
  • !plugin config CrackSh {'api_url': 'https://crack.sh/api', 'customer_id': '', 'email': ''}

Configuration

Default configuration:

  • !plugin config CrackSh {'api_url': 'https://crack.sh/api', 'customer_id': '', 'email': ''}

You can customize your installation with the following keys:

  • customer_id: your customer ID if a paying customer.
  • email: your email address for status updates.
  • api_url: the API URL for https://crack.sh.

Email and Customer ID can be overriden per-command if desired using --email and --customerid respectively.

Usage

  • Submit a token for work: !cracksh submit [format] [sometoken]
  • Submit a token with an email override: !cracksh submit --email [user]@[domain] [format] [sometoken]
  • Submit a token for a customer with ASAP priority: !cracksh submit --customerid [customer ID] --asap 1 [format] [sometoken]
  • Check status of a job: !cracksh status [reference]