403Webshell
Server IP : 65.108.144.40  /  Your IP : 216.73.217.165
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux ubuntu-8gb-hel1-1 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64
User : dev ( 1000)
PHP Version : 8.2.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/pia/wp-content/plugins/doubly/inc_php/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/pia/wp-content/plugins/doubly/inc_php/object.class.php
<?php
/**
 * @package Doubly
 * @author Unlimited Elements
 * @copyright (C) 2022 Unlimited Elements, All Rights Reserved. 
 * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 **/

if(!defined("DOUBLY_INC")) die("restricted access");

class Doubly_Object{
	
	private $type;
	private $id;
	private $object;
	
	
	/**
	 * init object by id and type
	 */
	public function init($type, $id){
		
		$objIntegrations = new Doubly_Integrations();

		$this->id = $id;
		$this->type = $type;
		
		switch($type){
			case GlobalsDOUBLY::EXPORT_TYPE_SNIPPET:
				
				$this->object = $objIntegrations->getSnippetById($id);
				
			break;
			default:
				
				$type = esc_html($type);
				$id = (int)$id;
				
				UniteFunctionsDOUBLY::throwError("Object $type with id: $id not found");
				
			break;
		}
				
		
	}
	
}

Youez - 2016 - github.com/yon3zu
LinuXploit