[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.147.89.48: ~ $
<?php

if (!defined('ABSPATH')) exit;
if (!class_exists('BVActLogCallback')) :
	
require_once dirname( __FILE__ ) . '/../../wp_actlog.php';

class BVActLogCallback extends BVCallbackBase {
	public $db;
	public $settings;

	const ACTLOG_WING_VERSION = 1.0;

	public function __construct($callback_handler) {
		$this->db = $callback_handler->db;
		$this->settings = $callback_handler->settings;
	}

	public function dropActLogTable() {
		return $this->db->dropBVTable(BVWPActLog::$actlog_table);
	}

	public function createActLogTable($usedbdelta = false) {
		$db = $this->db;
		$charset_collate = $db->getCharsetCollate();
		$table = $this->db->getBVTable(BVWPActLog::$actlog_table);
		$query = "CREATE TABLE $table (
			id bigint(20) NOT NULL AUTO_INCREMENT,
			site_id int NOT NULL,
			user_id int DEFAULT 0,
			username text DEFAULT '',
			request_id text DEFAULT '',
			ip varchar(20) DEFAULT '',
			event_type varchar(40) NOT NULL DEFAULT '',
			event_data mediumtext NOT NULL,
			time int,
			PRIMARY KEY (id)
		) $charset_collate;";
		return $db->createTable($query, BVWPActLog::$actlog_table, $usedbdelta);
	}

	public function process($request) {
		$settings = $this->settings;
		$params = $request->params;
		switch ($request->method) {
		case "truncactlogtable":
			$resp = array("status" => $this->db->truncateBVTable(BVWPActLog::$actlog_table));
			break;
		case "dropactlogtable":
			$resp = array("status" => $this->dropActLogTable());
			break;
		case "createactlogtable":
			$usedbdelta = array_key_exists('usedbdelta', $params);
			$resp = array("status" => $this->createActLogTable($usedbdelta));
			break;
		default:
			$resp = false;
		}
		return $resp;
	}
}
endif;

Filemanager

Name Type Size Permission Actions
account.php File 2.71 KB 0644
actlog.php File 1.65 KB 0644
brand.php File 1.27 KB 0644
bv_upgrader_skin.php File 2.23 KB 0644
db.php File 11.76 KB 0644
dynsync.php File 2.57 KB 0644
fs.php File 11.87 KB 0644
fs_write.php File 11.56 KB 0644
info.php File 17.77 KB 0644
ipstore.php File 4.03 KB 0644
manage.php File 27.51 KB 0644
misc.php File 8.17 KB 0644
protect.php File 3.2 KB 0644
security.php File 5.36 KB 0644
watch.php File 10.43 KB 0644