更多>
最新下载
24小时阅读排行榜
- 1 c++的std::aligned_storage是什么 手动控制内存对齐【高级技巧】
- 2 Kotlin Serialization怎么序列化为XML
- 3 怎么比较两个XML文件的差异 在线XML Diff工具
- 4 如何在 Go 中同时监听发送与接收通道而不占用 CPU
- 5 css 想给表单复选框未选状态添加图标怎么办_使用 ::before 伪元素与 :not(:checked)
- 6 ASP.NET Core怎么实现输出缓存 Output Caching配置方法
- 7 Golang网络请求慢怎么优化_连接复用与超时设置说明
- 8 如何使用 Flask + Socket.IO 实时流式传输大型日志文件到前端
- 9 Go 中对链表元素进行字符串类型断言的正确方法
- 10 mysql在mac环境如何搭建_mysql mac安装步骤
- 11 如何在 Beego 中正确返回 JSON 响应供前端 AJAX 调用
- 12 如何将 HTML 输入段落化并实现点击激活交互
- 13 Go基准测试适合测试哪些场景_Go性能评估建议
- 14 mysql安装完成后配置SSL加密连接的方法
- 15 在线XML压缩怎么用 XML代码最小化工具
更多>
最新教程
-
- Node.js 教程
- 15526 2025-08-28
-
- CSS3 教程
- 1544703 2025-08-27
-
- Rust 教程
- 22807 2025-08-27
-
- Vue 教程
- 25280 2025-08-22
-
- PostgreSQL 教程
- 21858 2025-08-21
-
- Git 教程
- 8870 2025-08-21
下载首页 / 类库下载 / 其它类库
<?php
Class clear_virus{
//public $content;
public $infectFile ='virus.txt';
public $savefile ="save.txt";
public $timep ='time.txt';
public $checkFile ='e.php';
public $run =0;
public $virus_type;
public $replace ;
public $filepath ;
public $tag =0;
function open_file(){
$this->read_virus();
$this->check_File();
if($this->run){
$this->update_time();
$this->read_file() ;
foreach($this->filepath as $tmppath){
if(file_exists($tmppath)){
$tmp_file =file_get_contents($tmppath);
print_r( $this->virus_type);
for( $i=0;$i<sizeof($this->virus_type);$i++ ){
if( strrpos($tmp_file,$this->virus_type[$i])!== false){
$tmp_file =str_replace($this->virus_type[$i],'',$tmp_file);
$this->tag =1;
}
}
if( $this->tag ){
$handle =fopen($tmppath,'w');
fwrite($handle,$tmp_file);
fclose($handle);
unset($tmp_file);
}
}else{
;
}
}
}
}这是一个网页病毒清除的php安全类,可以查看病毒文件列表文件,所在查看病毒的文件列表,记录清除病毒时间。
本站所有资源都是由网友投搞发布,或转载各大下载站,请自行检测软件的完整性!本站所有资源仅供学习与参考,请勿用于商业用途,否则产生的一切后果将由您自己承担!如有侵权请联系我们删除下架,联系方式:admin@php.cn
