Done ! 403WebShell
403Webshell
Server IP : 46.105.57.169  /  Your IP : 216.73.216.67
Web Server : Apache
System : Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : verseaumee ( 152031)
PHP Version : 8.5.7
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/verseaumee/maze/wp-content/plugins/packlink-pro-shipping/Controllers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/verseaumee/maze/wp-content/plugins/packlink-pro-shipping/Controllers/class-packlink-index.php
<?php
/**
 * Packlink PRO Shipping WooCommerce Integration.
 *
 * @package Packlink
 */

namespace Packlink\WooCommerce\Controllers;

/**
 * Class Packlink_Index
 *
 * @package Packlink\WooCommerce\Controllers
 */
class Packlink_Index extends Packlink_Base_Controller {
	/**
	 * Controller index action.
	 */
	public function index() {
		$controller_name = $this->get_param( 'packlink_pro_controller' );

		$class_name = '\Packlink\WooCommerce\Controllers\Packlink_' . $controller_name . '_Controller';
		if ( ! $this->validate_controller_name( $controller_name ) || ! class_exists( $class_name ) ) {
			status_header( 404 );
			nocache_headers();

			require get_404_template();

			exit();
		}

		/**
		 * Controller instance.
		 *
		 * @var Packlink_Base_Controller $controller
		 */
		$controller = new $class_name();
		$controller->process();
	}

	/**
	 * Validates controller name by checking whether it exists in the list of known controller names.
	 *
	 * @param string $controller_name Controller name from request input.
	 *
	 * @return bool
	 */
	private function validate_controller_name( $controller_name ) {
		$allowed_controllers = array(
			'Web_Hook',
			'Integration_Registration_Webhook',
			'Integration_Status',
			'Frontend',
			'Order_Overview',
			'Checkout',
			'Order_Details',
			'Debug',
			'Auto_Test',
			'Auto_Configure',
			'Module_State',
			'Login',
			'Regions',
			'Register',
			'Onboarding_State',
			'Parcel',
			'Warehouse',
			'My_Shipping_Services',
			'Shop_Shipping_Methods',
			'Configuration',
			'Order_Status',
			'Shipping_Service',
			'System_Info',
			'Edit_Service',
			'Shipping_Zones',
			'Support',
			'Manual_Sync',
			'Manual_Refresh_Service',
            'Cash_On_Delivery',
		);

		return in_array( $controller_name, $allowed_controllers, true );
	}
}

$controller = new Packlink_Index();
$controller->index();

Youez - 2016 - github.com/yon3zu
LinuXploit