{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "Intended Audience :: Information Technology", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Security" ], "description": "# DHCPwn\n\n[![Build Status](https://travis-ci.org/mschwager/dhcpwn.svg?branch=master)](https://travis-ci.org/mschwager/dhcpwn)\n[![Python Versions](https://img.shields.io/pypi/pyversions/dhcpwn.svg)](https://img.shields.io/pypi/pyversions/dhcpwn.svg)\n[![PyPI Version](https://img.shields.io/pypi/v/dhcpwn.svg)](https://img.shields.io/pypi/v/dhcpwn.svg)\n\nDHCPwn is a tool used for testing `DHCP` `IP` exhaustion attacks. It can also be\nused to sniff local `DHCP` traffic.\n\nUseful links:\n\n* [DHCP](https://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol)\n * [RFC1531](https://tools.ietf.org/html/rfc1531) (obsolete)\n * [RFC1541](https://tools.ietf.org/html/rfc1541) (obsolete)\n * [RFC2131](https://tools.ietf.org/html/rfc2131)\n* [Bootstrap Protocol](https://en.wikipedia.org/wiki/Bootstrap_Protocol)\n * [RFC951](https://tools.ietf.org/html/rfc951)\n\n# Overview\n\nThe `DHCP` protocol is connectionless and implemented via `UDP`. These two\ncharacteristics allow this attack to be performed. Since there is no actual\nconnection being made between the client and server we can quickly send many\nspoofed requests.\n\n`DHCP` servers rely on the senders `MAC` address to allocate `IP` addresses. We can\neasily spoof many requests with different, fake `MAC` addresses. This will\neventually exhaust the server's ability to assign new `IP` addresses. Depending\non the server's method of releasing `IP` addresses associated with a given `MAC`\naddress this attack will either be more, or less effective. For example, if\na server quickly releases allocations that it doesn't receive responses from,\nthe attack will be less effective.\n\nThis attack is typically considered to be a form of DoS.\n\n# Installing\n\n```\n$ pip3 install dhcpwn\n$ dhcpwn -h\n```\n\nOR\n\n```\n$ git clone https://github.com/mschwager/dhcpwn.git\n$ cd dhcpwn\n$ pip3 install -r requirements.txt\n$ python3 dhcpwn.py -h\n```\n\n# Using\n\nFlood:\n\n```\n$ dhcpwn --interface wlan0 flood --count 256\n```\n\nSniff:\n\n```\n$ dhcpwn --interface wlan0 sniff\n```\n\nHelp:\n\n```\n$ dhcpwn -h\n```\n\n\n", "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/mschwager/dhcpwn", "keywords": "", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "dhcpwn", "package_url": "https://pypi.org/project/dhcpwn/", "platform": "", "project_url": "https://pypi.org/project/dhcpwn/", "project_urls": { "Homepage": "https://github.com/mschwager/dhcpwn" }, "release_url": "https://pypi.org/project/dhcpwn/1.1.0/", "requires_dist": [ "scapy (<3.0.0,>=2.4.0)" ], "requires_python": ">=3.0", "summary": "All your IPs are belong to us.", "version": "1.1.0" }, "last_serial": 3930077, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "3ab3d10969b17b9d70dd2c70cacace74", "sha256": "1ccc8c50b24bd097be768ed8ddd062a744f69b6569ea66bd84c92af77fcf6c98" }, "downloads": -1, "filename": "dhcpwn-1.0.1-py3-none-any.whl", "has_sig": true, "md5_digest": "3ab3d10969b17b9d70dd2c70cacace74", "packagetype": "bdist_wheel", "python_version": "any", "requires_python": null, "size": 3397, "upload_time": "2016-05-12T02:10:26", "url": "https://files.pythonhosted.org/packages/11/29/446d74e0dca2c2d75a96f5cb6b20b428327fb33d5cff001c8a01c2f856b6/dhcpwn-1.0.1-py3-none-any.whl" } ], "1.0.1": [], "1.0.2": [ { "comment_text": "", "digests": { "md5": "50b4d94d5f1d342c601921367a7cff2f", "sha256": "1ccf0d9dbbed8812b7dcea7aaa8f9c1c7689165db75795c8eb85d5b010d23f18" }, "downloads": -1, "filename": "dhcpwn-1.0.2-py3-none-any.whl", "has_sig": true, "md5_digest": "50b4d94d5f1d342c601921367a7cff2f", "packagetype": "bdist_wheel", "python_version": "any", "requires_python": null, "size": 3572, "upload_time": "2017-05-18T22:24:12", "url": "https://files.pythonhosted.org/packages/66/e5/7f4437b777414f868ce22b8ff2c6b5f8751baec113e594e673bb872bfa08/dhcpwn-1.0.2-py3-none-any.whl" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "85ebf0e49e00ee3abf87179a6989d05c", "sha256": "a1ee8b17407951400f277d4500d518f30ac053cfe4c89cad9f5081c38d8bdeeb" }, "downloads": -1, "filename": "dhcpwn-1.0.3-py3-none-any.whl", "has_sig": true, "md5_digest": "85ebf0e49e00ee3abf87179a6989d05c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3609, "upload_time": "2017-09-06T02:54:51", "url": "https://files.pythonhosted.org/packages/79/98/6c7e8ee2d0f7bb640ce5126e9b678895215585bfc328e1a7df28e6552dcb/dhcpwn-1.0.3-py3-none-any.whl" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "a74eda507427b8e0061d647a58a09c3d", "sha256": "9619c02816c6eebf0cca350f7d097591621f251914b2165b64958a71f1f7510f" }, "downloads": -1, "filename": "dhcpwn-1.1.0-py3-none-any.whl", "has_sig": true, "md5_digest": "a74eda507427b8e0061d647a58a09c3d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.0", "size": 3661, "upload_time": "2018-06-04T22:02:56", "url": "https://files.pythonhosted.org/packages/e9/ea/5f6c5fbf3c8ba0c64e6270afbdaeb15b33a6796fba2da3e67f824dd6299b/dhcpwn-1.1.0-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a74eda507427b8e0061d647a58a09c3d", "sha256": "9619c02816c6eebf0cca350f7d097591621f251914b2165b64958a71f1f7510f" }, "downloads": -1, "filename": "dhcpwn-1.1.0-py3-none-any.whl", "has_sig": true, "md5_digest": "a74eda507427b8e0061d647a58a09c3d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.0", "size": 3661, "upload_time": "2018-06-04T22:02:56", "url": "https://files.pythonhosted.org/packages/e9/ea/5f6c5fbf3c8ba0c64e6270afbdaeb15b33a6796fba2da3e67f824dd6299b/dhcpwn-1.1.0-py3-none-any.whl" } ] }