{ "info": { "author": "Pietro Ferretti", "author_email": "me@pietroferretti.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# requestspwn\nDrop-in replacement for the `requests` library with random user agents as default. Designed for Attack/Defense CTF competitions.\n\n## Installation\n```\n$ pip install requestspwn\n```\n\n## Usage\nJust replace the import lines like this:\n\n* `import requests` to `import requestspwn as requests`\n* `from requests` to `from requestspwn`\n\nExample:\n\n```python\nfrom requestspwn import get\nr = get('https://www.example.com')\n```\n\nAdditionally, you can provide a list of user agents to choose from:\n\n```python\nfrom requestspwn import get\nuser_agents = [\n\t\"Mozilla/5.0 (Windows NT 6.3; WOW64;Trident/7.0; rv:11.0) like Gecko\",\n\t\"Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:49.0) Gecko/20100101 Firefox/49.0\"\n]\nr = get('https://www.example.com', user_agents=user_agents)\n```\n\nYou can also use one of the datasets provided by default:\n\n```python\nfrom requestspwn import get\nr = get('https://www.example.com', user_agents='ructfe2017')\n```\n\n## Additional notes\n`requestspwn` will use a random user agent as default. If you pass a custom User-Agent header in the `headers` parameter, `requestspwn` will NOT replace it.\n\n`requestspwn` wraps the `request`, `head`, `get`, `post`, `put`, `patch`, `delete`, `options` functions, and nothing else.\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/pietroferretti/requestspwn", "keywords": "ctf http", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "requestspwn", "package_url": "https://pypi.org/project/requestspwn/", "platform": "", "project_url": "https://pypi.org/project/requestspwn/", "project_urls": { "Homepage": "https://github.com/pietroferretti/requestspwn", "Source": "https://github.com/pietroferretti/requestspwn" }, "release_url": "https://pypi.org/project/requestspwn/1.0.0/", "requires_dist": [ "requests" ], "requires_python": "", "summary": "Drop-in replacement for the requests library with random user agents as default.", "version": "1.0.0" }, "last_serial": 4825752, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "cc6c6d1a76264efb62e9864a2f60f929", "sha256": "7a24ce68125bfd42d9e6067da5744c861c9fe4603c51c57b240e3efafd8904be" }, "downloads": -1, "filename": "requestspwn-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "cc6c6d1a76264efb62e9864a2f60f929", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7849, "upload_time": "2019-02-15T15:57:32", "url": "https://files.pythonhosted.org/packages/92/e3/f7ef947381b20454f833cde22f7cc14b7e017046ee318c259fc8a60caa32/requestspwn-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "25eb99289a2cc560819b2fd565ac0d0e", "sha256": "52ccbb573c6dea1093f884c18b00f24ae0d1dddb2f2b48ef21ec4a5e82fcef9f" }, "downloads": -1, "filename": "requestspwn-1.0.0.tar.gz", "has_sig": false, "md5_digest": "25eb99289a2cc560819b2fd565ac0d0e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5323, "upload_time": "2019-02-15T15:57:34", "url": "https://files.pythonhosted.org/packages/0e/51/e9b09b7bc290f3b10ae82cc70d7bdc9cee365828e866dfb98e839c82cc17/requestspwn-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cc6c6d1a76264efb62e9864a2f60f929", "sha256": "7a24ce68125bfd42d9e6067da5744c861c9fe4603c51c57b240e3efafd8904be" }, "downloads": -1, "filename": "requestspwn-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "cc6c6d1a76264efb62e9864a2f60f929", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7849, "upload_time": "2019-02-15T15:57:32", "url": "https://files.pythonhosted.org/packages/92/e3/f7ef947381b20454f833cde22f7cc14b7e017046ee318c259fc8a60caa32/requestspwn-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "25eb99289a2cc560819b2fd565ac0d0e", "sha256": "52ccbb573c6dea1093f884c18b00f24ae0d1dddb2f2b48ef21ec4a5e82fcef9f" }, "downloads": -1, "filename": "requestspwn-1.0.0.tar.gz", "has_sig": false, "md5_digest": "25eb99289a2cc560819b2fd565ac0d0e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5323, "upload_time": "2019-02-15T15:57:34", "url": "https://files.pythonhosted.org/packages/0e/51/e9b09b7bc290f3b10ae82cc70d7bdc9cee365828e866dfb98e839c82cc17/requestspwn-1.0.0.tar.gz" } ] }