{ "info": { "author": "Yevgeny Pats", "author_email": "yp@phish.ai", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.5" ], "description": "phish-ai-api\n============\n.. image:: https://img.shields.io/badge/License-MIT-blue.svg \n.. image:: https://img.shields.io/badge/python-2.7%2B%203.5%2B-blue.svg\n\nSummary\n-------\nOfficial python API for Phish.AI public and private API to detect zero-day phishing websites\n\nHow it Works (TLDR)\n-------------------\nEssentially we have a very big computer vision database of known websites and their legitimate domains.\nThe API surf to a given website takes a screenshots of the website and then compare it with our database and if we detect that it is similar to a known website but hosted we classify it as malicious and classify the targeted brand (which website this site tries to mimic).\n\nThe Engine is in beta and doesn't protect all brands yet. we make the database bigger every day, if you believe your brand is not in our database and you want us to crawl it, just drop me a line at yp@phish.ai\n\nPrivacy Policy\n--------------\nThe full privacy policy is at: https://www.phish.ai/phish-ai-privacy-policy/. By using the Public API you agree to our Privacy Policy and allow us to share your submission with the security community. If you want a Private API Key please contact us at info@phish.ai.\n\nUseful resources\n----------------\n* UI Version: https://app.phish.ai\n* Raw API Documentation: https://app.phish.ai/ (under documentation, \"Thanks PyPi for not allowing minimum-cash sign\")\n* Official website: https://www.phish.ai\n* Blog: https://www.phish.ai/blog\n\nInstallation\n------------\n\n\n.. code-block:: bash\n\n $ pip install phish-ai-api\n\n\nUsage\n-----\n\n\n.. code-block:: python\n\n from __future__ import print_function\n from phish_ai_api import API\n\n ph = API(api_key='None or private api key you can request at info@phish.ai')\n res = ph.scan_url('https://google.com')\n print(res)\n print(ph.get_report(res['scan_id']))\n\n\nOutput\n------\n\n\n.. code-block:: json\n\n {\"scan_id\": \"pQz7bGMwxgzGboNyX8cy\"}\n\n\n.. code-block:: json\n\n {\"domain\": \"google.com\",\n \"ip_address\": \"74.125.124.113\",\n \"iso_code\": \"US\",\n \"status\": \"completed\",\n \"target\": \"Google\",\n \"time\": \"2018-04-15T07:27:37.860Z\",\n \"title\": \"google\",\n \"tld\": \"com\",\n \"url\": \"http://google.com\",\n \"user_agent\": \"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/67.0.3391.0 Safari/537.36\",\n \"user_email\": \"api\",\n \"verdict\": \"clean\"}\n\nIssues & Contributing\n---------------------\nFound a Bug/Have a feature request feel free to open an Issue and we will look into it. Cheers.\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/phishai/phish-ai-api", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "phish-ai-api", "package_url": "https://pypi.org/project/phish-ai-api/", "platform": "", "project_url": "https://pypi.org/project/phish-ai-api/", "project_urls": { "Homepage": "https://github.com/phishai/phish-ai-api" }, "release_url": "https://pypi.org/project/phish-ai-api/1.7/", "requires_dist": null, "requires_python": "", "summary": "Phish.AI API wrapper", "version": "1.7" }, "last_serial": 3766285, "releases": { "1.7": [ { "comment_text": "", "digests": { "md5": "fef03f544662d7fba1ae3d15421cb57d", "sha256": "777e198a0e57dd8ebc3b4d53781c9fffe59e78cbc9c753f0e6b93f3ff58e7064" }, "downloads": -1, "filename": "phish_ai_api-1.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "fef03f544662d7fba1ae3d15421cb57d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 2866, "upload_time": "2018-04-15T10:47:34", "url": "https://files.pythonhosted.org/packages/7c/1c/5e841ef7774c8aed5b5dbb50cb92024374a8430e6a2b384219039615f628/phish_ai_api-1.7-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5dc33aae9d2b85f6359900210a551195", "sha256": "e690ab5b5a5bcbfeab7ad4e4f6ec48478f1f269e388d528ba365bf50afb6b9f6" }, "downloads": -1, "filename": "phish-ai-api-1.7.tar.gz", "has_sig": false, "md5_digest": "5dc33aae9d2b85f6359900210a551195", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2758, "upload_time": "2018-04-15T10:47:35", "url": "https://files.pythonhosted.org/packages/dc/c8/a69dd2b1459ebef54c9b203a47d867b2507b080adaded3890f5384a932ef/phish-ai-api-1.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fef03f544662d7fba1ae3d15421cb57d", "sha256": "777e198a0e57dd8ebc3b4d53781c9fffe59e78cbc9c753f0e6b93f3ff58e7064" }, "downloads": -1, "filename": "phish_ai_api-1.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "fef03f544662d7fba1ae3d15421cb57d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 2866, "upload_time": "2018-04-15T10:47:34", "url": "https://files.pythonhosted.org/packages/7c/1c/5e841ef7774c8aed5b5dbb50cb92024374a8430e6a2b384219039615f628/phish_ai_api-1.7-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5dc33aae9d2b85f6359900210a551195", "sha256": "e690ab5b5a5bcbfeab7ad4e4f6ec48478f1f269e388d528ba365bf50afb6b9f6" }, "downloads": -1, "filename": "phish-ai-api-1.7.tar.gz", "has_sig": false, "md5_digest": "5dc33aae9d2b85f6359900210a551195", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2758, "upload_time": "2018-04-15T10:47:35", "url": "https://files.pythonhosted.org/packages/dc/c8/a69dd2b1459ebef54c9b203a47d867b2507b080adaded3890f5384a932ef/phish-ai-api-1.7.tar.gz" } ] }