yasapurnama/php-shellrotation
最新稳定版本:v1.0.0
Composer 安装命令:
composer require yasapurnama/php-shellrotation
包简介
PHP shell rotation
README 文档
README
This package can easily determine which php shell function available to be execute.
Why?
Mostly web hosting nowadays will disable various php shell function like system(), exec(), shell_exec(), passthru(). This package will help to find which php shell function that still exist then use it to execute shell command.
Installation
Install php-shellrotation via composer
$ composer require yasapurnama/php-shellrotation
Shell Function
The package will use these functions if they are exist and can be used:
Basic Usage
use Yasapurnama\PhpShellRotation\Shell; $shell = new Shell(); $output = $shell->exec('ls -lah'); print_r($output);
Contributing
Contributions are always welcome!
License
Licensed under the MIT License, see LICENSE for more information.
统计信息
- 总下载量: 1.21k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 2
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-01-25
