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 creating a Python virtual environment, installing the requirements from test_requirements.txt

pip install -r requirements.txt -r test_requirements.txt

Then:

python pytest -v

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.1
Filename, size File type Python version Upload date Hashes
Filename, size anyrun-0.1-py2.py3-none-any.whl (9.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size anyrun-0.1.tar.gz (4.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page