Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

app.any.run malware submissions client

Project description

APP.ANY.RUN CLIENT Build Status codecov License PyPI version

This is a package that allows downloading and searching malware analysis from public submissions from app.any.run. It is built as a websocket client application

Features

  • Register to all public submissions

  • Requirements

    • websocket_client==0.56.0
    • Python 3.5, 3.6, 3.7

Installation

You can install django-celery-results either via the Python Package Index (PyPI) or from source.

To install using pip,::

$ pip install -U anyrun

QuickStart

from anyrun import AnyRunClient


def callback(msg: dict) -> None:
    print(msg)


if __name__ == "__main__":
    client = AnyRunClient(
        on_message_cb=callback,
        enable_trace=False
    )
    client.connect()
    client.run_forever()

And as a response you should get

...
...
{'msg': 'added', 'collection': 'tasks', 'id': '5cf6d8005ed7525c25fe5660', 'fields': ... }
...
...

Settings

param description
enable_trace enables debug trace logs, default: False

Testing

You can run the tests by using tox.

pip install tox

Then:

tox

TODO

  • Add support for search.
  • More examples.

Project details


Download files

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

Files for anyrun, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size anyrun-0.2-py2.py3-none-any.whl (9.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size anyrun-0.2.tar.gz (4.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page