403Webshell
Server IP : 104.21.94.62  /  Your IP : 216.73.216.97
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/ei/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /proc/self/root/usr/local/ei/wp.php
<?php

/* Wordpress post-installation optimization script */

/* Include the rquired files to use the WP API and functions such as install() and activate_plugin() */
$path = getcwd();
require_once ("wp-load.php");
require_once ("wp-admin/includes/plugin.php");
require_once ("wp-admin/includes/plugin-install.php");
require_once ("wp-admin/includes/class-wp-upgrader.php");
require_once ("wp-admin/includes/file.php");
require_once ("wp-admin/includes/misc.php");

/*
$api = plugins_api("plugin_information", array( "slug" => "Anti-spam" ));
$object = new Plugin_Upgrader();
$object -> install ($api -> download_link);
$result = activate_plugin("$path/wp-content/plugins/anti-spam/anti-spam.php"); 
*/

$api = plugins_api('plugin_information', array('slug' => 'wpvulnerability'));
$object = new Plugin_Upgrader();
$object -> install($api->download_link);
$result = activate_plugin("$path/wp-content/plugins/wpvulnerability/wpvulnerability.php"); 

unlink("wp-content/plugins/hello.php");         /* Delete the useless Hello Dolly plugin */


$buffer = file_get_contents("wp-config.php");
$replacement = "/**#@-*/ \ndefine('WP_AUTO_UPDATE_CORE', true );\n";            /*Enable automatic WP core updates*/
$replace = preg_replace("/\/\*\*\#\@\-\*\//", $replacement, $buffer, 1);
file_put_contents("wp-config.php", $replace);

/*
if (!file_exists('.htaccess')) {
	file_put_contents('.htaccess', '# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /wordpress/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wordpress/index.php [L]
</IfModule>

# END WordPress');
}
*/

Youez - 2016 - github.com/yon3zu
LinuXploit