dongyu9263
2012-10-15 13:24
浏览 91
已采纳

检查是否使用TOR客户端进行呼叫[重复]

Possible Duplicate:
Block TOR Servers

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?

图片转代码服务由CSDN问答提供 功能建议

可能重复:
阻止TOR服务器

我会 想知道是否有可能看到我的PHP页面的调用是否由TOR客户端完成(意味着调用是通过TOR项目网络进行的)。 今天我打电话给一堆知识产权地址来自 https://check.torproject.org /cgi-bin/TorBulkExitList.py ,但是如果我可以将数据发送回窃取我的API的盗贼那么会更有趣。

无论如何我都想不出来,有可能吗? 怎么样?

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • dongtaidai0492 2012-10-15 13:30
    已采纳

    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.

    Example

    $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());
    

    See Full Class

    点赞 打赏 评论

相关推荐 更多相似问题