403Webshell
Server IP : 216.106.184.20  /  Your IP : 216.73.216.234
Web Server : LiteSpeed
System : Linux asmodeus.in-hell.com 5.14.0-570.58.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 29 06:24:11 EDT 2025 x86_64
User : sekoaid1 ( 1891)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/sekoaid1/www/wp-content/plugins/pop-up-pop-up/analyst/src/Http/Requests/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/sekoaid1/www/wp-content/plugins/pop-up-pop-up/analyst/src/Http/Requests/DeactivateRequest.php
<?php

namespace Analyst\Http\Requests;

use Analyst\ApiResponse;
use Analyst\Collector;
use Analyst\Contracts\RequestorContract;

/**
 * Class DeactivateRequest
 *
 * @since 0.9.10
 */
class DeactivateRequest extends AbstractLoggerRequest
{
	/**
	 * @var string
	 */
	protected $question;

	/**
	 * @var string
	 */
	protected $answer;

	/**
	 * @param Collector $collector
	 * @param $pluginId
	 * @param $path
	 * @param $question
	 * @param $answer
	 * @return static
	 */
	public static function make(Collector $collector, $pluginId, $path, $question, $answer)
	{
		return new static($collector, $pluginId, $path, $question, $answer);
	}

	public function __construct(Collector $collector, $pluginId, $path, $question, $answer)
	{
		parent::__construct($collector, $pluginId, $path);

		$this->question = $question;
		$this->answer = $answer;
	}

	public function toArray()
	{
		return array_merge(parent::toArray(), [
			'question' => $this->question,
			'answer' => $this->answer,
		]);
	}

	/**
	 * Execute the request
	 * @param RequestorContract $requestor
	 * @return ApiResponse
	 */
	public function execute(RequestorContract $requestor)
	{
		return $requestor->post('logger/deactivate', $this->toArray());
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit