How to develop an application that uses the Tor network? [closed]

£可爱£侵袭症+ 提交于 2019-12-21 09:21:14

问题


I want to develop an application which allows users to also communicate over the Tor network. I have done some Googling but I can't seem to find an API or SDK. How does one develop a Tor application? Are there any libraries out there?

EDIT: I see there are no libraries or API's available to use Tor. What would I need to know in order to write this Tor application?


回答1:


This is how:

https://stem.torproject.org/

from https://stem.torproject.org/faq.html#what-is-stem

"Stem is a Python controller library that you can use to interact with Tor. With it you can write scripts and applications with capabilities similar to Vidalia and arm.

From a technical standpoint, Stem is a Python implementation of Tor's directory and control specifications. To get started see our tutorials!"




回答2:


To my knowledge Tor does not have an actual API or SDK.

Tor does come with a SOCKS interface though. So the simplest way of making an app work over the Tor network is to use a SOCKS proxy with the default Tor installation on a user's computer.

For an example using Go, check out Pond.



来源:https://stackoverflow.com/questions/22970206/how-to-develop-an-application-that-uses-the-tor-network

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!