403Webshell
Server IP : 95.171.21.124  /  Your IP : 216.73.216.71
Web Server : Apache/2.4.66 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.0.2
System : Linux tr.turqaestate.com 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64
User : root ( 0)
PHP Version : 8.3.30
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,exec,system,passthru,shell_exec,proc_open,popen
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/turqa/web/turqaestate.com/public_html/wp-content/plugins/wps-cleaner/blocks/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/turqa/web/turqaestate.com/public_html/wp-content/plugins/wps-cleaner/blocks/pub.php
<?php
// don't load directly
if ( ! defined( 'ABSPATH' ) ) {
	die( '-1' );
}

$datas = \WPS\WPS_Cleaner\Pub::get_api_result();

if ( empty( $datas ) ) {
	return false;
}

$plugins_adds = \WPS\WPS_Cleaner\Pub::get_json_array( $datas );

if ( empty( $plugins_adds ) ) {
	return false;
}

foreach ( $plugins_adds as $add ) {
	$plugin = $add['plugin'] . '/' . $add['plugin'] . '.php';

	$button_plugin = $classes_plugin = '';

	if ( ! \WPS\WPS_Cleaner\Pub::is_plugin_installed( $plugin ) ) {
		$classes_plugin    = 'install-now';
		$action_url_plugin = wp_nonce_url( add_query_arg(
			array(
				'action' => 'install-plugin',
				'plugin' => $add['plugin'],
			),
			network_admin_url( 'update.php' )
		), 'install-plugin_' . $add['plugin'] );
		$button_plugin     = __( 'Install', 'wps-limit-login' ) . ' ' . $add['title'];
	} elseif ( is_plugin_inactive( $plugin ) ) {
		$action_url_plugin = wp_nonce_url( add_query_arg(
			array(
				'action'        => 'activate',
				'plugin'        => $plugin,
				'plugin_status' => 'all',
				'paged'         => 1
			),
			network_admin_url( 'plugins.php' )
		), 'activate-plugin_' . $plugin );

		$button_plugin = __( 'Enable', 'wps-limit-login' ) . ' ' . $add['title'];
	}

	if ( empty( $button_plugin ) ) {
		continue;
	}

	$details_url_plugin = add_query_arg(
		array(
			'tab'       => 'plugin-information',
			'plugin'    => $add['plugin'],
			'TB_iframe' => true,
			'width'     => 722,
			'height'    => 949,
		),
		network_admin_url( 'plugin-install.php' )
	); ?>
    <div class="pub-wp-serveur plugin-card plugin-card-<?php echo $add['plugin']; ?>">
        <p class="wps-pub-logo"><img
                    src="<?php echo $add['img_64']; ?>"
                    height="64"/></p>
        <div class="message"><strong><?php echo $add['description']; ?></strong></div>
        <div class="cta">
            <a data-slug="<?php echo $add['plugin']; ?>" href="<?php echo $action_url_plugin; ?>"
               class="btn-pubwps btn-install-plugin <?php echo $classes_plugin; ?>"><?php echo $button_plugin; ?></a>
            <a href="<?php echo $details_url_plugin; ?>"
               class="thickbox open-plugin-details-modal btn-wps-details"><?php echo sprintf( __( 'More about %s', 'wps-limit-login' ), $add['title'] ); ?></a>
        </div>
    </div>
	<?php
}

Youez - 2016 - github.com/yon3zu
LinuXploit