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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file anyrun-0.3.tar.gz.

File metadata

  • Download URL: anyrun-0.3.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5

File hashes

Hashes for anyrun-0.3.tar.gz
Algorithm Hash digest
SHA256 999936df9ffb2b03db7646d876deaad3558d38aa96bff26db16878a288c7d674
MD5 6868d84064eb41068dc6379d721bb5f8
BLAKE2b-256 d0d15c4e505758e0b5b1226bb2aaf06aed990dc446ba84e1500c94d9d01c4efd

See more details on using hashes here.

File details

Details for the file anyrun-0.3-py2.py3-none-any.whl.

File metadata

  • Download URL: anyrun-0.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5

File hashes

Hashes for anyrun-0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 65a9ec1fafe8e849f5f930553c984200c0bb6c5022b77b0ff7829b8d833df291
MD5 8252b24ff876ded809c157789a54c91d
BLAKE2b-256 95f93879cffd8ed0564c23bce76d0091f48a4c80345b358689411b289894e07c

See more details on using hashes here.

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