cleantalk/spbct-signatures-analyser
Composer 安装命令:
composer require cleantalk/spbct-signatures-analyser
包简介
CleanTalk SPBCT Signatures Analyser classes
README 文档
README
Install
composer require cleantalk/spbct-signatures-analyser
Using
<?php // Require composer autoloader require_once 'vendor/autoload.php'; use CleantalkSP\Common\Scanner\SignaturesAnalyser\Controller; use CleantalkSP\Common\Scanner\SignaturesAnalyser\Structures\FileInfo; $file_path = '/bad/index.php'; $root_dir_patn = __DIR__; $sigantures = []; // Get signatures from the cloud // Instantiate the scanner module $signatures_scanner = new Controller(); // Prepare files information $file_to_check = new FileInfo( $file_path, 'full_hash' ); // $res will contain the scanning result $res = $signatures_scanner->scanFile($file_to_check, $root_dir_patn, $sigantures); var_dump($res); // $res will contain the scanning result
统计信息
- 总下载量: 3.91k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2023-01-26