Loading...
 

TogggDeletorPhp

VERY DANGEROUS SCRIPT TO REMOVE FILES AND FOLDERS
evilDon't let this script in your public areaevil

It's only for tiky installers not root not in apache group Tiki02777People confused
It's a very rough script, will clean only what server access.
So you need eventually to help yourself from other way FTP or shell.
A few tries side after side and you will clean everything reachable.

Copy to clipboard
80)) { $ret = "
\n"; $len = 0; } $len += $tl; return $ret.htmlentities($txt); } function lisfil($fil) { if (!is_dir($fil)) { return out(basename($fil).' '); } $ret = out($fil, TRUE) . out('', TRUE); $dh=opendir($fil); while ($subfil=readdir($dh)) { if ($subfil!="." && $subfil!="..") { $fullpath=$fil."/".$subfil; $ret .= lisfil($fullpath); } } closedir($dh); return $ret; } if (isset($_POST['fil'])) { $fil = $_POST['fil']; } else { $fil = ''; } ?> Toggg's Deletor
'); } $out = lisfil($fil); $md5 = md5($out); echo ''; if ($_POST['md5'] == $md5) { if (isset($_POST['clean']) && $_POST['clean']) { delfil($fil); $out = lisfil($fil); } else { echo ''; } } echo '
'.$out; ?>
Created by: Last Modification: Thursday 10 February 2005 22:35:55 GMT-0000 by bertrand Gugger
List Slides