使用TOR客户端检查是否进行呼叫 [英] Check if call is made using TOR client

查看:153
本文介绍了使用TOR客户端检查是否进行呼叫的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


可能重复:

阻止TOR服务器

我想知道是否可以看到如果通过TOR客户端完成对我的PHP页面的调用(意味着呼叫通过TOR项目网络进行)。
今天我打来一堆IP地址,从 https:// check获得。 torproject.org/cgi-bin/TorBulkExitList.py ,但是如果我可以欺骗发送回窃取我的API的盗贼的数据会更有趣。

I would like to know if it is possible to see if a call to my PHP page is done by a TOR client (meaning the call comes in over the TOR project network). Today I call a bunch of IP adresses gotten from https://check.torproject.org/cgi-bin/TorBulkExitList.py, but it would be more fun if I can spoof the data send back to the thieves leaching my API.

我想不出来找出来,是可能吗?如何?

I can't think of anyway to find out, is it possible? How?

推荐答案

可能只是你需要..它检查 ip-port.exitlist.torproject。 org 在DNS信息中,并确定用户是否使用Tor网络访问站点。

The Class might be just want you need .. it check for ip-port.exitlist.torproject.org in DNS information and determine if an user is accessing a site using the Tor network.

示例

$tor = Tor::getInstance(); 

// check current users ip and 
// return true or false 
var_dump($tor->isTorActive()); 

// check ip of another user 
var_dump($tor->setTarget('1.2.3.4')->isTorActive());

查看全班

这篇关于使用TOR客户端检查是否进行呼叫的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆