========
.. image:: https://img.shields.io/pypi/v/havocbot.svg
:target: https://pypi.python.org/pypi/havocbot
HavocBot is an extensible chat bot that works across any number of chat programs
Features
--------
- Connect to multiple chat systems simultaneously
- Plugin system designed to work across all integrated chat clients
- New chat integrations can be dropped into file system for new functionality
- Plugin focus will be on helpful DevOps integrations and work distractions
- More coming soon...
Supported Chat Integrations
---------------
Out of the box, the following chat integrations are supported::
- Slack
- XMPP
- HipChat
- Skype (see note below)
Contributors are encouraged to create their own chat integrations not listed above and to provide them back to the community!
Installation
------------
Install the latest version from pip:
.. code:: bash
pip install havocbot
Copy the example `main.py`_ and `settings.ini`_ files into a new directory on your machine. Modify the settings.ini to include the neccessary API tokens and server settings for the chat clients that the bot should connect to.
Make sure the chat client is also listed in the 'clients_enabled' field in settings.ini
Open terminal and navigate to the directory where main.py and settings.ini is located
Run the following in terminal:
.. code:: bash
python main.py
HavocBot should connect to the chat clients if valid credentials were provided
Writing a Plugin
----------------
Coming soon...
Skype Support
-------------
Microsoft has said that support for the Skype API will be dropped at some point in the future so support will be minimal. Skype integration requires some special setup as stated below.
- Skype support is only available in python 2.6 and 2.7 (Skype4Py does not support python 3)
- The Skype desktop application must be running and logged in prior to starting HavocBot and must be ran alongside HavocBot to work.
- If using OSX, 32-bit support through Skype4Py must be forced via:
.. code:: bash
arch -i386 pip install Skype4Py
- HavocBot must also be forced to run in 32-bit mode on OSX via:
.. code:: bash
arch -i386 python main.py
Python 2.6 Legacy Compatibility
-------------------------------
- XMPP, HipCHat are compatible out of the box
- Skype support requires an extra pip module to be installed. See `Skype Support` above
- Slack requires an extra pip module to be installed to support python 2.6. SlackClient v0.18.0 depends on 'requests' which requires 'ndg-httpsclient' to enable TLS SNI (See https://github.com/kennethreitz/requests/issues/749#issuecomment-19187417)
.. code:: bash
pip install ndg-httpsclient
Credits
-------
Mark Perdue (https://github.com/markperdue, https://www.righteousbanana.com)
.. _`main.py`: https://github.com/markperdue/havocbot/tree/master/src/havocbot/examples/main.py
.. _`settings.ini`: https://github.com/markperdue/havocbot/tree/master/src/havocbot/examples/settings.ini
Metadata
Release files for havocbot 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| havocbot-0.2.0.tar.gz | 27.5 kB | Without provenance | Details for havocbot-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| havocbot-0.2.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for havocbot-0.2.0-py2.py3-none-any.whl |
Total release size: 67.1 kB
Release files / havocbot-0.2.0.tar.gz
| Download URL | havocbot-0.2.0.tar.gz |
|---|---|
| Size | 27.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ccf47b24b90a582df28e42b785d5303f69d9befa1608d0bf6cc48ae06af165b5
|
|
BLAKE2b-256 checksum How to use checksums |
c72747a3d33f41bb4eb0d18ae997d3578dcbd56fce261469b260724f763f70f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / havocbot-0.2.0-py2.py3-none-any.whl
| Download URL | havocbot-0.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 39.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
e572cc4911eaf5c360bc910a4e4094f4149bd94e5864912d1961a7904230899d
|
|
BLAKE2b-256 checksum How to use checksums |
128e0b95d5eb9a57f3abd9dc9e26683fcb65c2066fa7cb9abb62f4fc8e9e3fef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for havocbot 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.