Uname:Linux server.rehabsharif.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64

Base Dir : /home/nobi37te/public_html

User : nobi37te


403WebShell
403Webshell
Server IP : 172.67.134.116  /  Your IP : 216.73.217.54
Web Server : Apache
System : Linux server.rehabsharif.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User : nobi37te ( 1003)
PHP Version : 8.2.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/nobi37te/public_html/wp-content/plugins/woocommerce-multi-currency/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/nobi37te/public_html/wp-content/plugins/woocommerce-multi-currency/admin/system.php
<?php

/*
Class Name: WOOMULTI_CURRENCY_Admin_System
Author: Andy Ha (support@villatheme.com)
Author URI: http://villatheme.com
Copyright 2015-2017 villatheme.com. All rights reserved.
*/
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

class WOOMULTI_CURRENCY_Admin_System {


	public function __construct() {
		add_action( 'admin_menu', array( $this, 'menu_page' ) ,15);
	}

	public function page_callback() { ?>
        <h2><?php esc_html_e( 'System Status', 'woocommerce-multi-currency' ) ?></h2>
        <table cellspacing="0" id="status" class="widefat">
            <tbody>
            <tr>
                <td data-export-label="file_get_contents">file_get_contents</td>
                <td>
					<?php
					if ( function_exists( 'file_get_contents' ) ) {
						echo '<mark class="yes">&#10004; <code class="private"></code></mark> ';
					} else {
						echo '<mark class="error">&#10005; </mark>';
					}
					?>
                </td>
            </tr>
            <tr>
                <td data-export-label="file_put_contents">file_put_contents</td>
                <td>
					<?php
					if ( function_exists( 'file_put_contents' ) ) {
						echo '<mark class="yes">&#10004; <code class="private"></code></mark> ';
					} else {
						echo '<mark class="error">&#10005; </mark>';
					}
					?>

                </td>
            </tr>

            <tr>
                <td data-export-label="<?php esc_html_e( 'PHP Time Limit', 'woocommerce-multi-currency' ) ?>"><?php esc_html_e( 'PHP Time Limit', 'woocommerce-multi-currency' ) ?></td>
                <td><?php echo ini_get( 'max_execution_time' ); ?></td>
            </tr>
            <tr>
                <td data-export-label="<?php esc_html_e( 'PHP Max Input Vars', 'woocommerce-multi-currency' ) ?>"><?php esc_html_e( 'PHP Max Input Vars', 'woocommerce-multi-currency' ) ?></td>

                <td><?php echo ini_get( 'max_input_vars' ); ?></td>
            </tr>
            <tr>
                <td data-export-label="<?php esc_html_e( 'Memory Limit', 'woocommerce-multi-currency' ) ?>"><?php esc_html_e( 'Memory Limit', 'woocommerce-multi-currency' ) ?></td>

                <td><?php echo ini_get( 'memory_limit' ); ?></td>
            </tr>
            <tr>
                <td data-export-label="<?php esc_html_e( 'Allow URL Open', 'woocommerce-multi-currency' ) ?>"><?php esc_html_e( 'Allow URL Open', 'woocommerce-multi-currency' ) ?></td>
                <td>
					<?php
					if ( ini_get( 'allow_url_fopen' ) ) {
						echo '<mark class="yes">&#10004; <code class="private"></code></mark> ';
					} else {
						echo '<mark class="error">&#10005; </mark>';
					}
					?>
                </td>
            </tr>
            <tr>
                <td data-export-label="<?php esc_html_e( 'Session path', 'woocommerce-multi-currency' ) ?>"><?php esc_html_e( 'Session path', 'woocommerce-multi-currency' ) ?></td>
                <td><?php
					$check_session = @fopen( session_save_path() . 'test-log.log', 'a' ) ? true : false;
					if ( $check_session ) {
						echo '<mark class="yes"><span class="dashicons dashicons-yes"></span> <code class="private">' . esc_html( session_save_path() ) . '</code></mark> ';
					} else {
						echo '<mark class="error"><span class="dashicons dashicons-warning"></span> ' . sprintf( __( 'To allow logging, make %1$s writable.', 'woocommerce-multi-currency' ), '<code>' . session_save_path() . '</code>' ) . '</mark>';
					}
					?></td>
            </tr>
            <tr>
                <td data-export-label="<?php esc_html_e( 'Your IP', 'woocommerce-multi-currency' ) ?>"><?php esc_html_e( 'Your IP', 'woocommerce-multi-currency' ) ?></td>
                <td>
                    <ul>
                        <li><strong>
								<?php
								$ip = new WC_Geolocation();
								esc_html_e( '[WooCommerce] Your IP', 'woocommerce-multi-currency' )
								?> : <?php echo $ip->get_ip_address() ?>
                            </strong>
                        </li>
                        <li><strong>
								<?php
								esc_html_e( '[WooCommerce] Your GEO IP', 'woocommerce-multi-currency' )
								?> : <?php echo json_encode( $ip->geolocate_ip() ) ?>
                            </strong>
                        </li>
                        <li><h3>
								<?php
								esc_html_e( '_SERVER system', 'woocommerce-multi-currency' )
								?></h3>
                            <pre><?php print_r( $_SERVER ) ?></pre>
                        </li>
                    </ul>
                </td>
            </tr>
            </tbody>
        </table>
	<?php }

	/**
	 * Register a custom menu page.
	 */
	public function menu_page() {
		add_submenu_page(
			'woocommerce-multi-currency', esc_html__( 'System Status', 'woocommerce-multi-currency' ), esc_html__( 'System Status', 'woocommerce-multi-currency' ), 'manage_options', 'woocommerce-multi-currency-system-status', array(
				$this,
				'page_callback'
			)
		);

	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit