403Webshell
Server IP : 185.252.147.100  /  Your IP : 216.73.217.33
Web Server : nginx/1.27.3
System : Linux mitrofanov.ru 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64
User : mitr ( 1000)
PHP Version : 8.2.29
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /www/html/east-point.site/public/wp-content/plugins/tools4wp/addons/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/html/east-point.site/public/wp-content/plugins/tools4wp/addons/ninja_activator.php
<?php



defined( 'ABSPATH' ) || exit;



// $options = get_option('tools4wp_options');

// if (isset($options['ninja']) == 1) {

	// if (

	// 	activator_admin_notice_ignored()

	// 	|| activator_admin_notice_plugin_install( 'ninjascanner/index.php', 'ninjascanner', 'NinjaScanner', NINJA_SCANNER_ACTIVATOR_NAME, NINJA_SCANNER_ACTIVATOR_DOMAIN )

	// 	|| activator_admin_notice_plugin_activate( 'ninjascanner/index.php', NINJA_SCANNER_ACTIVATOR_NAME, NINJA_SCANNER_ACTIVATOR_DOMAIN )

	// )

	// 	return;

	

	$nscan_options = get_option( 'nscan_options' );

	if ( $nscan_options ) {

		$nscan_options['exp']   = date( 'Y-m-d', strtotime( '+1000 year' ) );

		$nscan_options  ['key'] = 'free4all-free4all-free4all-free4all-free4all';

		update_option( 'nscan_options', $nscan_options );

	}

	add_filter( 'pre_http_request', function ( $pre, $parsed_args, $url ) {

		$target = defined( 'NSCAN_SIGNATURES_URL' ) ? NSCAN_SIGNATURES_URL : 'https://ninjascanner.nintechnet.com/index.php';

		switch ( $url ) {

			case $target:

				switch ( $parsed_args['body']['action'] ?? null ) {

					case 'check_license':

						return activator_json_response( [

							'checked' => true,

							'exp'     => date( 'Y-m-d', strtotime( '+1000 year' ) ),

						] );

				}

				break;

		}



		return $pre;

	}, 99, 3 );



	// if (

	// 	activator_admin_notice_ignored()

	// 	|| activator_admin_notice_plugin_install( 'ninjafirewall/index.php', 'ninjafirewall', 'NinjaFirewall', NINJA_FIREWALL_ACTIVATOR_NAME, NINJA_FIREWALL_ACTIVATOR_DOMAIN )

	// 	|| activator_admin_notice_plugin_activate( 'ninjafirewall/index.php', NINJA_FIREWALL_ACTIVATOR_NAME, NINJA_FIREWALL_ACTIVATOR_DOMAIN )

	// )

	// 	return;

	

	$nfire_options = get_option( 'nfire_options' );

	if ( $nfire_options ) {

		$nfire_options['exp']   = date( 'Y-m-d', strtotime( '+1000 year' ) );

		$nfire_options  ['key'] = 'free4all-free4all-free4all-free4all-free4all';

		update_option( 'nfire_options', $nfire_options );

	}

	add_filter( 'pre_http_request', function ( $pre, $parsed_args, $url ) {

		$target = defined( 'NFIRE_SIGNATURES_URL' ) ? NFIRE_SIGNATURES_URL : 'https://ninjafirewall.nintechnet.com/index.php';

		switch ( $url ) {

			case $target:

				switch ( $parsed_args['body']['action'] ?? null ) {

					case 'check_license':

						return activator_json_response( [

							'checked' => true,

							'exp'     => date( 'Y-m-d', strtotime( '+1000 year' ) ),

						] );

				}

				break;

		}



		return $pre;

	}, 99, 3 );

// }

Youez - 2016 - github.com/yon3zu
LinuXploit