bafoed / php-tor-control
用于操作tor的PHP库
dev-master
2016-05-11 06:21 UTC
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2024-09-20 20:00:45 UTC
README
安装
通过Composer
$ composer require bafoed/php-tor-control
用法
您可以在 example.php 中看到用法示例。
可用方法有
<?php
$torControl->changeIP(); // creates new tor identity
$torControl->getVersion(); // returns tord version
$torControl->getAddress(); // returns IP address of server
$torControl->getUser(); // returns username of tord user
$torControl->getAccountingStats(); // return some network stats if accounting is enabled
$torControl->_getInfo('circuit-status'); // call other tord functions (look for GETINFO docs)
变更日志
请查看 CHANGELOG 了解最近的变化。
贡献
请查看 CONTRIBUTING 和 CONDUCT 了解详情。
安全性
如果您发现任何与安全性相关的问题,请发送电子邮件至 bafoed@bafoed.ru,而不是使用问题跟踪器。
致谢
许可证
MIT许可证(MIT)。请参阅 许可证文件 了解更多信息。