{ "info": { "author": "Tal Melamed", "author_email": "dev@appsec.it", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7" ], "description": ".. image:: https://virustotalcloud.appspot.com/static/img/logo-small.png\n\nVirusTotal API v2\n==============\n\nPython scripts to interact with the virustotal.com APIs v2:\n- https://www.virustotal.com/en/documentation/public-api/\n- https://www.virustotal.com/en/documentation/private-api/\n\n\nInstallation\n==========\n\n.. code-block:: bash\n\n $ pip install virustotal-api-v2\n\nUsage: bash \n==========\n.. code-block:: bash\n\nusage: vt.py [-h] [-k] [-sk SETKEY] [-gf GETFILE] [-gu GETURL]\n [-gi GETIP] [-gd GETDOMAIN] [-c COMMENT COMMENT]\n [-sf SCANFILE] [-su SCANURL] [-r RESCAN] [-b BEHAVIOUR]\n [-uf URLFEED] [-nt NETWORK] [-fs FILESEARCH] [-dl DOWNLOAD]\n [-o OUTPUT] [-q] [-nb]\n\noptional arguments:\n -h, --help \t\t\t\t\t | show this help message and exit\n -k, --getkey \t\t\t\t | print your VirusTotal API Key\n -sk, --setkey [api_key] | set VirusTotal API Key\n -gf, --getfile [options: path/to/file, md5] | return result of the specified file\n -gu, --geturl [url] \t\t\t\t\t\t | return result for the specified url\n -gi, --getip [ip_address] \t\t\t\t | return result for the specified IP address\n -gd, --getdomain [domain] \t\t\t\t | return result for the specified\n -c, --comment [resource] [comment] | comment on a specified resource (hash)\n -sf, --scanfile [options: path/to/file, md5] | return result for the specified file\n -su, --scanurl [url] | submit the specified url for a scan\n -r, --rescan [options: /path/to/file, hash] | request newscan for\n -b, --behaviour [options: /path/to/file, hash] | request dynamic behavioural report [Private API]\n -uf, --urlfeed [package] | request received items for time window [Private API]\n -nt, --network [options: /path/to/file, hash] | request traffic dump for file [Private API]\n -fs, --filesearch [options: /path/to/file, hash] | request file search [Private API]\n -dl, --download [options: /path/to/file, hash] | download file [Private API]\n -o, --output [options: stdout, html, json] | set the result output type. default=json\n -q, --quiet | when set, no prints to stdout \n -nb, --nobrowser \t\t\t\t\t\t | when using `html` mode, will disable automatic open of report\n\n\nUsage: python\n============\n.. code-block:: python\n\n# import\n#-------\nfron vt import VT\nvt = VT()\n\n# key management\n#-------\nvt.getkey()\nvt.setkey('___KEY___')\n\n\n# API calls: FILES\n#-------\nvt.getfile('path/to/filename.ext')\nvt.getfile('ee0fc30726c6dc1ef9ed15809c58d2bb438456ab')\nvt.scanfile('path/to/file.ext')\nvt.rescan('file.ext')\nvt.rescan('ee0fc30726c6dc1ef9ed15809c58d2bb438456ab')\n\n# API calls: NET\n#-------\nvt.geturl('https://github.com/nu11p0inter/')\nvt.scanurl('http://github.com/nu11p0inter.com')\nvt.getip('98.76.54.32')\nvt.getdomain('github.com')\n\n# API Call: Comment\n#-------\nhash = open(file, 'rb').read()\nmsg = \"#Malware @https://github.com/nu11p0inter/virustotal/\"\nvt.comment(hash, msg)\nvt.comment('path/to/filename.ext', msg)\n\n\n# Set OUTPUT method:\n#-------\nvt.out('html')\nvt.out('print')\nvt.out('json')\n\n\nAuthor\n======\nTal Melamed \n\nhttps://github.com/nu11p0inter/\n\n\nLicense\n=======\nBy using the scan API, you consent to virustotal [Terms of Service](https://www.virustotal.com/en/about/terms-of-service/)\nand allow VirusTotal to share this file with the security community. See virustotal [Privacy Policy](https://www.virustotal.com/en/about/privacy/) for details.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/nu11p0inter/virustotal", "keywords": "", "license": "GNU 3.0", "maintainer": "", "maintainer_email": "", "name": "virustotal-api-v2", "package_url": "https://pypi.org/project/virustotal-api-v2/", "platform": "", "project_url": "https://pypi.org/project/virustotal-api-v2/", "project_urls": { "Homepage": "https://github.com/nu11p0inter/virustotal" }, "release_url": "https://pypi.org/project/virustotal-api-v2/0.8/", "requires_dist": [ "requests (>=2.2.1)" ], "requires_python": "", "summary": "Python scripts to interact with the virustotal.com API", "version": "0.8" }, "last_serial": 4860313, "releases": { "0.8": [ { "comment_text": "", "digests": { "md5": "7b0bf0c3d868e77dbeb791610141b38d", "sha256": "8afe23cd7fcd2373aa453931cb697dfa3fdc0caf3abedbd68f642db11c71ea31" }, "downloads": -1, "filename": "virustotal_api_v2-0.8-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7b0bf0c3d868e77dbeb791610141b38d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8465, "upload_time": "2019-02-24T08:01:49", "url": "https://files.pythonhosted.org/packages/82/ab/4af636d78be3c6156824aa4d39751238e771a5ee881659eafb84b8a137ef/virustotal_api_v2-0.8-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7b0bf0c3d868e77dbeb791610141b38d", "sha256": "8afe23cd7fcd2373aa453931cb697dfa3fdc0caf3abedbd68f642db11c71ea31" }, "downloads": -1, "filename": "virustotal_api_v2-0.8-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7b0bf0c3d868e77dbeb791610141b38d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8465, "upload_time": "2019-02-24T08:01:49", "url": "https://files.pythonhosted.org/packages/82/ab/4af636d78be3c6156824aa4d39751238e771a5ee881659eafb84b8a137ef/virustotal_api_v2-0.8-py2.py3-none-any.whl" } ] }