{ "info": { "author": "Yonathan Klijnsma", "author_email": "admin@0x3a.com", "bugtrack_url": null, "classifiers": [], "description": "# pydefang\nA defang/refang utility written in Python.\n\n#### Usage\n`pydefang` is installed as two command-line utilities accessible as `defang` and `refang` from the command-line.\n\nYou can use it to convert a url to a defanged version (make it safe(r) to share):\n\n```\n-$ defang 'https://www.malicious.org/legit.exe'\nhxxps[:]//www[.]malicious[.]org/legit[.]exe\n\n```\n\nor if you need to make something a 'real' url again you can refang:\n```text\n-$ refang 'hxxps[:]//www[.]malicious[.]org/legit[.]exe'\nhttps://www.malicious.org/legit.exe\n```\n\nYou can also use it programmatically:\n```python\nIn [1]: from defang import defang, refang\n\nIn [2]: defang('https://www.malicious.org/legit.exe')\nOut[2]: 'hxxps[:]//www[.]malicious[.]org/legit[.]exe'\n\nIn [3]: refang('hxxps[:]//www[.]malicious[.]org/legit[.]exe')\nOut[3]: 'https://www.malicious.org/legit.exe'\n\n```\n\n\n#### Bugs\nFeel free to report issues, this 'utility' was build out of ease as I got frustrated with manual conversion of timestamps and strings the whole time.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/0x3a/pydefang", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "pydefang", "package_url": "https://pypi.org/project/pydefang/", "platform": "", "project_url": "https://pypi.org/project/pydefang/", "project_urls": { "Homepage": "https://github.com/0x3a/pydefang" }, "release_url": "https://pypi.org/project/pydefang/0.0.1/", "requires_dist": null, "requires_python": ">=3", "summary": "A defang/refang utility written in Python.", "version": "0.0.1" }, "last_serial": 5578727, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "3b04b036dbb807e2454ef186289099e4", "sha256": "0724acfa05ec3b0105073a814e348e90c3258c2d0a0488291fbba345b7b44291" }, "downloads": -1, "filename": "pydefang-0.0.1.tar.gz", "has_sig": false, "md5_digest": "3b04b036dbb807e2454ef186289099e4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 2352, "upload_time": "2019-07-24T17:23:02", "url": "https://files.pythonhosted.org/packages/34/2c/d90cbbc41c13f2627964250a52613162c8b42772b0940666c105231849b2/pydefang-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3b04b036dbb807e2454ef186289099e4", "sha256": "0724acfa05ec3b0105073a814e348e90c3258c2d0a0488291fbba345b7b44291" }, "downloads": -1, "filename": "pydefang-0.0.1.tar.gz", "has_sig": false, "md5_digest": "3b04b036dbb807e2454ef186289099e4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 2352, "upload_time": "2019-07-24T17:23:02", "url": "https://files.pythonhosted.org/packages/34/2c/d90cbbc41c13f2627964250a52613162c8b42772b0940666c105231849b2/pydefang-0.0.1.tar.gz" } ] }