403Webshell
Server IP : 195.130.67.5  /  Your IP : 216.73.217.127
Web Server : Microsoft-IIS/10.0
System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586
User : IUSR ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /inetpub/wwwroot/cdc/wp-content/plugins/simple-lightbox/includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /inetpub/wwwroot/cdc/wp-content/plugins/simple-lightbox/includes/class.content_handler.php
<?php

/**
 * Content Handler
 * @package Simple Lightbox
 * @subpackage Content Handlers
 * @author Archetyped
 */
class SLB_Content_Handler extends SLB_Component {
	/* Properties */

	/**
	 * Match handler
	 * @var callback
	 */
	protected $match;

	/**
	 * Custom attributes
	 * @var callback
	 */
	protected $attributes;

	/* Matching */

	/**
	 * Set matching handler
	 * @param callback $callback Handler callback
	 * @return object Current instance
	 */
	public function set_match( $callback ) {
		$this->match = ( is_callable( $callback ) ) ? $callback : null;
		return $this;
	}

	/**
	 * Retrieve match handler
	 * @return callback|null Match handler
	 */
	protected function get_match() {
		return $this->match;
	}

	/**
	 * Check if valid match set
	 */
	protected function has_match() {
		return ( is_null( $this->match ) ) ? false : true;
	}

	/**
	 * Match handler against URI
	 * @param string $uri URI to check for match
	 * @return bool TRUE if handler matches URI
	 */
	public function match( $uri, $uri_raw = null ) {
		$ret = false;
		if ( ! ! $uri && is_string( $uri ) && $this->has_match() ) {
			$ret = call_user_func( $this->get_match(), $uri, $uri_raw );
		}
		return $ret;
	}

	/* Attributes */

	public function set_attributes( $callback ) {
		$this->attributes = ( is_callable( $callback ) ) ? $callback : null;
		return $this;
	}

	public function get_attributes() {
		$ret = array();
		// Callback
		if ( ! is_null( $this->attributes ) ) {
			$ret = call_user_func( $this->attributes );
		}
		// Filter
		$hook = sprintf( 'content_handler_%s_attributes', $this->get_id() );
		$ret  = $this->util->apply_filters( $hook, $ret );
		return ( is_array( $ret ) ) ? $ret : array();
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit