Skip to main content

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.

Source Distribution

anyrun-0.3.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

anyrun-0.3-py2.py3-none-any.whl (9.0 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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