CheckMD5 (md5sumforphp ).? Php *************************************** * ************************** CheckMD5 (md5sumforphp) 2008-11-09amxku.net verifies the file accuracy. after the website is infiltrated, check the file
Php
/*************************************** ***************************
Check MD5 (md5sumPhp)
2008-11-09
Amxku.net
Verify the accuracy of the file.
After the website is infiltrated, check the file accuracy.
* In UIX, md5sum *> md5sum can be used to obtain the md5 value of all files.
MD5 value for comparison.
InCodeCheck is a little useful, and nothing else can be used.
**************************************** **************************/
Echo ;
EchoCheck MD5 (md5sum for <U> php </U>);
Check_md5(".");
FunctionCheck_md5($ Directory){
$ Check_md5_dir= @Opendir($ Directory);
Echo
;
While ( $ File = @ Readdir ( $ Check_md5_dir )){
If ( $ File ! = "." && $ File ! = ".." ){
If ( Is_dir ( "$ Directory/$ file" )){
Echo
- .$ File.
;
Tree ( "$ Directory/$ file" );
} Else {
Echo
- .$ File.==>.Md5_file("$ Directory/$ file").
;
}
}
}
Echo
;
Closedir($ Check_md5_dir);
}
?>
Http://www.bkjia.com/PHPjc/508528.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/508528.htmlTechArticle? Php /************************************** * *************************** CheckMD5 (md5sumfor php) amxku.net verifies the accuracy of the file. after the website is infiltrated, check the file...