{"id":19310634,"url":"https://github.com/sepppenner/easytorhiddenservicepython","last_synced_at":"2025-10-29T22:41:46.319Z","repository":{"id":82868645,"uuid":"164311956","full_name":"SeppPenner/EasyTorHiddenServicePython","owner":"SeppPenner","description":"EasyTorHiddenServicePython is a project to run a simple Python webserver to serve files on the darknet. The project was written and tested in Python 3.","archived":false,"fork":false,"pushed_at":"2023-07-03T17:44:48.000Z","size":20,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-06T02:10:56.547Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SeppPenner.png","metadata":{"files":{"readme":"Readme.md","changelog":"Changelog.md","contributing":null,"funding":null,"license":"License.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-06T13:54:56.000Z","updated_at":"2023-11-19T02:11:41.000Z","dependencies_parsed_at":"2023-08-01T06:16:04.349Z","dependency_job_id":null,"html_url":"https://github.com/SeppPenner/EasyTorHiddenServicePython","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeppPenner%2FEasyTorHiddenServicePython","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeppPenner%2FEasyTorHiddenServicePython/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeppPenner%2FEasyTorHiddenServicePython/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeppPenner%2FEasyTorHiddenServicePython/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SeppPenner","download_url":"https://codeload.github.com/SeppPenner/EasyTorHiddenServicePython/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240411731,"owners_count":19797138,"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-11-10T00:25:11.363Z","updated_at":"2025-10-29T22:41:46.228Z","avatar_url":"https://github.com/SeppPenner.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"EasyTorHiddenServicePython\n====================================\n\nEasyTorHiddenServicePython is a project to run a simple Python webserver to serve files on the darknet. The project was written and tested in Python 3.\n\n[![Build status](https://ci.appveyor.com/api/projects/status/of7tpw39qss9qpb8?svg=true)](https://ci.appveyor.com/project/SeppPenner/easytorhiddenservicepython)\n[![GitHub issues](https://img.shields.io/github/issues/SeppPenner/EasyTorHiddenServicePython.svg)](https://github.com/SeppPenner/EasyTorHiddenServicePython/issues)\n[![GitHub forks](https://img.shields.io/github/forks/SeppPenner/EasyTorHiddenServicePython.svg)](https://github.com/SeppPenner/EasyTorHiddenServicePython/network)\n[![GitHub stars](https://img.shields.io/github/stars/SeppPenner/EasyTorHiddenServicePython.svg)](https://github.com/SeppPenner/EasyTorHiddenServicePython/stargazers)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://raw.githubusercontent.com/SeppPenner/EasyTorHiddenServicePython/master/License.txt)\n[![Known Vulnerabilities](https://snyk.io/test/github/SeppPenner/EasyTorHiddenServicePython/badge.svg)](https://snyk.io/test/github/SeppPenner/EasyTorHiddenServicePython) \n\n## Setup:\n1. Clone this project to a directory, e.g. /home/{username}/hidden-service/.\n2. Install Python and Tor using e.g.\n\n```bash\nsudo apt-get install tor python3-pip python-pip\n```\n\n3. Install all required pip package dependencies with:\n\n```bash\npip install -r requirements.txt\n```\n\n4. Add\n\n```bash\nHiddenServiceDir /home/{username}/hidden-service/\nHiddenServicePort 80 127.0.0.1:8000\n```\nto the `/etc/tor/torrc` file (Change the directory of course) using\n\n```bash\nnano /etc/tor/torrc\n```\n\n5. Set the execute flags:\n\n```bash\nchmod +x install.sh\nchmod +x run.sh\nchmod +x restartTor.sh\nchmod +x startTor.sh\nchmod +x stopTor.sh\nchmod +x statusTor.sh\n```\n\n6. Set the rights to the directory properly:\n\n```bash\nchmod 700 /home/{username}/hidden-service/\n```\n\n7. Add files to the web subfolder of your service to serve them.\n8. Restart tor using\n\n```bash\nsudo service tor restart\n```\n\n9. Get your tor hostname from your service directory:\n\n```bash\ncat /home/{username}/hidden-service/hostname\n```\n\n10. Check that your firewall(s) do not block incoming traffic.\n11. Access your hidden service over the hostname with the [Tor Browser](https://www.torproject.org/projects/torbrowser.html)\n\n## Further Links:\n* https://github.com/whackashoe/tor-hidden-service-setup/blob/master/setting-up-webserver.md\n* https://github.com/whackashoe/tor-hidden-service-setup\n* https://jordan-wright.com/blog/2014/10/06/creating-tor-hidden-services-with-python/\n* https://robindoherty.com/tor/hidden-service.html\n* https://robindoherty.com/tor/fancy-dot-onion.html\n* https://stackoverflow.com/questions/7943751/what-is-the-python-3-equivalent-of-python-m-simplehttpserver\n\nChange history\n--------------\n\nSee the [Changelog](https://github.com/SeppPenner/EasyTorHiddenServicePython/blob/master/Changelog.md).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsepppenner%2Feasytorhiddenservicepython","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsepppenner%2Feasytorhiddenservicepython","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsepppenner%2Feasytorhiddenservicepython/lists"}