{ "info": { "author": "Ramana Subramanyam, Arun Sori, cjdupreez", "author_email": "owasp_owtf_developers@lists.owasp.org", "bugtrack_url": null, "classifiers": [], "description": "=======================\nHTTP Request Translator\n=======================\n\n.. image:: https://travis-ci.org/owtf/http-request-translator.svg?branch=dev\n :target: https://travis-ci.org/owtf/http-request-translator\n\nHTTP Request Translator is a python standalone tool that will help you\ntranslate any raw HTTP requests into the language of your choice.\n\nIt supports the following languages:\n\n+ Bash\n+ PHP\n+ Python\n+ Ruby\n\nHTTP Request Translator can be used via its CLI or be imported from your own\npython project (actively supported version 2.7 and 3.3+).\n\n============\nInstallation\n============\n\n1. ``$ git clone https://github.com/owtf/http-request-translator``\n2. ``$ cd ./http-request-translator/``\n3. ``$ make install``\n\n*Note*: The last step might require root privileges.\n\n=====\nUsage\n=====\n\nCommand Line Interface\n======================\n\nHTTP Request Translator provides a complete command line interface (CLI) to\nmake it easy for you to use it.\n\n.. code-block:: bash\n\n usage: hrt [-h] [--language LANGUAGE] [--proxy [PROXY]]\n [--search_string SEARCH_STRING | --search_regex SEARCH_REGEX]\n [--interactive] [--data DATA]\n [--request REQUEST | --file FILE]\n\n Request Translator is a standalone tool that can translate raw HTTP requests\n into bash/python/php/ruby scripts\n\n optional arguments:\n -h, --help show this help message and exit\n --language LANGUAGE, -l LANGUAGE\n Generates a script in language 'language' for given\n HTTP request. If you want to generate multiple\n scripts, separate the script's name with a <,>.\n Available languages: bash, php, python, ruby\n --proxy [PROXY], -p [PROXY]\n Generates command/script with relevant, specified\n proxy\n --search_string SEARCH_STRING, -ss SEARCH_STRING\n Sends the request and searches for the required string\n in the response (i.e literal match)\n --search_regex SEARCH_REGEX, -se SEARCH_REGEX\n Sends the request and searches for the required regex\n in the response (i.e regex match)\n --interactive, -i Interactive mode: read raw HTTP request from keyboard,\n hit enter when ready. Type 'Ctrl+D' or 'Ctrl+C'to exit\n from the interactive mode.\n --data DATA, -d DATA Add the data that you want to send along with the\n header\n --request REQUEST, -r REQUEST\n Input the HTTP request\n --file FILE, -f FILE Input file for HTTP request\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/owtf/http-request-translator/", "keywords": null, "license": "3-clause BSD", "maintainer": null, "maintainer_email": null, "name": "hrt", "package_url": "https://pypi.org/project/hrt/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/hrt/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/owtf/http-request-translator/" }, "release_url": "https://pypi.org/project/hrt/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "Translates raw HTTP requests to Python,Ruby,Php and Bash scripts", "version": "0.1.0" }, "last_serial": 2666517, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "02cccdc25305a96474f4c411af6fe514", "sha256": "cf6ec31fe73efd3530a4a98127bd447de0ef742b34da55cb49677faa3f774789" }, "downloads": -1, "filename": "hrt-0.1.0.tar.gz", "has_sig": false, "md5_digest": "02cccdc25305a96474f4c411af6fe514", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12109, "upload_time": "2017-02-24T19:53:54", "url": "https://files.pythonhosted.org/packages/44/54/4fb9f092f28f1cafe7472a78494adf7c1ed2b59586ca51427b4510346243/hrt-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "02cccdc25305a96474f4c411af6fe514", "sha256": "cf6ec31fe73efd3530a4a98127bd447de0ef742b34da55cb49677faa3f774789" }, "downloads": -1, "filename": "hrt-0.1.0.tar.gz", "has_sig": false, "md5_digest": "02cccdc25305a96474f4c411af6fe514", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12109, "upload_time": "2017-02-24T19:53:54", "url": "https://files.pythonhosted.org/packages/44/54/4fb9f092f28f1cafe7472a78494adf7c1ed2b59586ca51427b4510346243/hrt-0.1.0.tar.gz" } ] }