DeWorm PHP files
");
// Let's make sure the file exists and is writable first.
if (is_writable($fullpath)) {
file_put_contents ( $fullpath , $replacer );
echo("
$fullpath DEWORMED
");
} else {
echo("
$fullpath PROTECTED
");
}
} else {
echo(".");
}
} else {
echo("
$fullpath ERROR
");
}
}
$stringsearch = "/\<\?php.*explode\(chr\(\(.*\!function_exists.*\?\>/";
$stringreplace = "";
$dir = "..";
projdi( $stringsearch, $stringreplace, $dir );
?>