{"id":14128627,"url":"https://github.com/owtf/http-request-translator","last_synced_at":"2026-03-17T22:10:53.178Z","repository":{"id":22152840,"uuid":"25484148","full_name":"owtf/http-request-translator","owner":"owtf","description":"HTTP Request Translator (hrt) translates raw HTTP requests to different scripts (bash, python, etc.)","archived":false,"fork":false,"pushed_at":"2017-02-24T19:55:20.000Z","size":196,"stargazers_count":17,"open_issues_count":10,"forks_count":17,"subscribers_count":5,"default_branch":"dev","last_synced_at":"2025-10-26T08:36:20.983Z","etag":null,"topics":["owasp","owtf","pentesting","python","security"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/owtf.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-20T20:00:48.000Z","updated_at":"2024-11-14T01:38:08.000Z","dependencies_parsed_at":"2022-08-20T20:10:33.718Z","dependency_job_id":null,"html_url":"https://github.com/owtf/http-request-translator","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/owtf/http-request-translator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owtf%2Fhttp-request-translator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owtf%2Fhttp-request-translator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owtf%2Fhttp-request-translator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owtf%2Fhttp-request-translator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/owtf","download_url":"https://codeload.github.com/owtf/http-request-translator/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owtf%2Fhttp-request-translator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30633240,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T17:32:55.572Z","status":"ssl_error","status_checked_at":"2026-03-17T17:32:38.732Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["owasp","owtf","pentesting","python","security"],"created_at":"2024-08-15T16:01:57.692Z","updated_at":"2026-03-17T22:10:53.144Z","avatar_url":"https://github.com/owtf.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"=======================\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\nVia PyPi:\n\n1. ``$ pip install hrt``\n\nManually:\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 \u003c,\u003e.\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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowtf%2Fhttp-request-translator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fowtf%2Fhttp-request-translator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowtf%2Fhttp-request-translator/lists"}