{"id":25203726,"url":"https://github.com/threatcode/docker-tor","last_synced_at":"2025-08-10T07:13:15.127Z","repository":{"id":215597333,"uuid":"739331573","full_name":"threatcode/docker-tor","owner":"threatcode","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-05T10:08:45.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T22:44:00.682Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/threatcode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2024-01-05T10:05:40.000Z","updated_at":"2024-01-05T10:06:06.000Z","dependencies_parsed_at":"2024-01-05T11:36:05.127Z","dependency_job_id":"6141f8a0-1d37-4057-935a-d2c6010939f8","html_url":"https://github.com/threatcode/docker-tor","commit_stats":null,"previous_names":["threatcode/docker-tor"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/threatcode/docker-tor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threatcode%2Fdocker-tor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threatcode%2Fdocker-tor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threatcode%2Fdocker-tor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threatcode%2Fdocker-tor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/threatcode","download_url":"https://codeload.github.com/threatcode/docker-tor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threatcode%2Fdocker-tor/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269689801,"owners_count":24459712,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-02-10T07:18:28.328Z","updated_at":"2025-08-10T07:13:15.071Z","avatar_url":"https://github.com/threatcode.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TOR in a Container\n[![Docker\nPulls](https://img.shields.io/docker/pulls/threatcode/tor.svg?style=plastic)](https://hub.docker.com/r/threatcode/tor/)\n![License](https://img.shields.io/badge/License-GPL-blue.svg?style=plastic)\n\nTOR (The Onion Router) in a container. Easy, simple and fast way to publish\ncustom hidden services in the deepweb.\n\n# Variables\n\n- `PRIVATE_KEY` - Private key to be used by the hidden service.\n- `LISTEN_PORT` - Port that the hidden service will listen to\n- `REDIRECT` - To where the Tor will redirect the traffic (your server), in the\n  format `host:port`.\n- `PROXY_PORT` - If you want to enable Tor Proxy Socks, use this variable to set\n  which port you want tor listening to.\n\n# Generating a private key\n\nTo generate your private key run the following command:\n\n```\ndocker run -it --rm --entrypoint shallot threatcode/tor-hiddenservice-nginx \u003cpattern\u003e\n```\n\nThe `pattern` argument above is a regular expression of your desired address.\n\n``` shellsession\n$docker run -it --rm --entrypoint shallot threatcode/tor-hiddenservice-nginx ^hid\n--------------------------------------------------------------\nFound matching domain after 5519 tries: hidwuvo75a7aqm35.onion\n--------------------------------------------------------------\n-----BEGIN RSA PRIVATE KEY-----\nMIICXQIBAAKBgQDSqBzjGxL+UFdrFJSdc+LJn3RrXiaZ7k6kgSw8KqOCSRgIr2qO\nXZrCa3YHE+PqsfbDVF0GO0Xy3A9fsIxRFMUo3K++3BaVJslUbqK2TH9fJt5Ji1b6\nN5UzXsEzf73atXwMF63hgVFZFLhfSWH8jGE1svwDXn0YQWP88PVX34SrWQIDASsd\nAoGAUWdd+/m9TrTQyqK0IbzIr0fYQ5gDq4mv1GLEYjR4SWF8pSCxL1yOBsmQ02sj\nBSS2Vw4dpFfloCrRw2ipM8ac4kdLGCoYefQHwW2Kfdf9raVfPDP7vcxrs37sOgOh\n2rSXCOOrmcoMrEka2/OTGW15jaNUEEoWacS3YL1Fj0Bi6g0CQQD4ZmBiF6qu2XnT\n8lMr1Asdz3K8fYiyfl6CzHItUubAbQ8ipv12q8CerJqk3dO98V+w8llAsQ7BT5wq\n8AZOPQR3AkEA2RobnACDvb2Jw+dYSFsqrHyIDojKsrNiDEFedkiFijRFqme+nrif\nkJ4yTnSiphC+rSSBbvYMawsqiWBA7UPSrwJBAKXSVQClxNUpJ2PZt91HZAtuipRt\nt8suGIY4mot1iDRN0XdiNN8TNZ3qLag7wUU4or+Yn/3Xae1euHpyftTxmYsCQQCd\noJxsGotYx62ULxPqz0um7yEWOU6hUAy8MB3X3FcTCjGO0PPKpfJ2ntXo0Ajcp5ci\nmsi81/e9DTnF9mPjtsY9AkAUG6heBlETMFzyka9FHPgu9aN2kRwvJ3QZDHuPxYG4\nVZwljLxstlx57+N74D0aj6wrJw+iBH2BI+b+ZpnLXyy7\n-----END RSA PRIVATE KEY-----\n```\n\n# Example `docker-compose` file\n\n```yml\nversion: '3'\n\nservices:\n  tor:\n    image: threatcode/tor\n    restart: always\n    depends_on:\n      - backend\n    environment:\n        LISTEN_PORT: \"80\"\n        REDIRECT: \"backend:80\"\n        PRIVATE_KEY: |\n          -----BEGIN RSA PRIVATE KEY-----\n          MIICXQIBAAKBgQDSqBzjGxL+UFdrFJSdc+LJn3RrXiaZ7k6kgSw8KqOCSRgIr2qO\n          XZrCa3YHE+PqsfbDVF0GO0Xy3A9fsIxRFMUo3K++3BaVJslUbqK2TH9fJt5Ji1b6\n          N5UzXsEzf73atXwMF63hgVFZFLhfSWH8jGE1svwDXn0YQWP88PVX34SrWQIDASsd\n          AoGAUWdd+/m9TrTQyqK0IbzIr0fYQ5gDq4mv1GLEYjR4SWF8pSCxL1yOBsmQ02sj\n          BSS2Vw4dpFfloCrRw2ipM8ac4kdLGCoYefQHwW2Kfdf9raVfPDP7vcxrs37sOgOh\n          2rSXCOOrmcoMrEka2/OTGW15jaNUEEoWacS3YL1Fj0Bi6g0CQQD4ZmBiF6qu2XnT\n          8lMr1Asdz3K8fYiyfl6CzHItUubAbQ8ipv12q8CerJqk3dO98V+w8llAsQ7BT5wq\n          8AZOPQR3AkEA2RobnACDvb2Jw+dYSFsqrHyIDojKsrNiDEFedkiFijRFqme+nrif\n          kJ4yTnSiphC+rSSBbvYMawsqiWBA7UPSrwJBAKXSVQClxNUpJ2PZt91HZAtuipRt\n          t8suGIY4mot1iDRN0XdiNN8TNZ3qLag7wUU4or+Yn/3Xae1euHpyftTxmYsCQQCd\n          oJxsGotYx62ULxPqz0um7yEWOU6hUAy8MB3X3FcTCjGO0PPKpfJ2ntXo0Ajcp5ci\n          msi81/e9DTnF9mPjtsY9AkAUG6heBlETMFzyka9FHPgu9aN2kRwvJ3QZDHuPxYG4\n          VZwljLxstlx57+N74D0aj6wrJw+iBH2BI+b+ZpnLXyy7\n          -----END RSA PRIVATE KEY-----\n```\n\n### Disclaimer\n\nThis or previous program is for Educational purpose ONLY. Do not use it without\npermission. The usual disclaimer applies, especially the fact that me (opsxcq)\nis not liable for any damages caused by direct or indirect use of the\ninformation or functionality provided by these programs. The author or any\nInternet provider bears NO responsibility for content or misuse of these\nprograms or any derivatives thereof. By using these programs you accept the fact\nthat any damage (dataloss, system crash, system compromise, etc.) caused by the\nuse of these programs is not opsxcq's responsibility.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthreatcode%2Fdocker-tor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthreatcode%2Fdocker-tor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthreatcode%2Fdocker-tor/lists"}