Current Path: > home > ivftiowh > greeceivf.com > wp-content > plugins > > jetpack
Operation : Linux premium88.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64 Software : Apache Server IP : 185.61.154.216 | Your IP: 216.73.216.44 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
3rd-party | Directory | - | - | |
_inc | Directory | - | - | |
css | Directory | - | - | |
images | Directory | - | - | |
json-endpoints | Directory | - | - | |
languages | Directory | - | - | |
modules | Directory | - | - | |
scss | Directory | - | - | |
views | Directory | - | - | |
.svnignore | File | 151 bytes | October 14 2024 11:06:00. | |
changelog.txt | File | 100323 bytes | October 14 2024 11:06:00. | |
class.jetpack-admin.php | File | 8636 bytes | October 14 2024 11:06:00. | |
class.jetpack-autoupdate.php | File | 6955 bytes | October 14 2024 11:06:00. | |
class.jetpack-bbpress-json-api-compat.php | File | 3271 bytes | October 14 2024 11:06:00. | |
class.jetpack-cli.php | File | 21094 bytes | October 14 2024 11:06:00. | |
class.jetpack-client-server.php | File | 7569 bytes | October 14 2024 11:06:00. | |
class.jetpack-client.php | File | 8998 bytes | October 14 2024 11:06:00. | |
class.jetpack-data-https.php | File | 26683 bytes | October 14 2024 11:06:00. | |
class.jetpack-data.php | File | 4100 bytes | October 14 2024 11:06:00. | |
class.jetpack-debugger.php | File | 17013 bytes | October 14 2024 11:06:00. | |
class.jetpack-error.php | File | 47 bytes | October 14 2024 11:06:00. | |
class.jetpack-heartbeat.php | File | 4692 bytes | October 14 2024 11:06:00. | |
class.jetpack-ixr-client.php | File | 3213 bytes | October 14 2024 11:06:00. | |
class.jetpack-jitm.php | File | 18931 bytes | October 14 2024 11:06:00. | |
class.jetpack-modules-list-table.php | File | 12097 bytes | October 14 2024 11:06:00. | |
class.jetpack-network-sites-list-table.php | File | 3956 bytes | October 14 2024 11:06:00. | |
class.jetpack-network.php | File | 22982 bytes | October 14 2024 11:06:00. | |
class.jetpack-options.php | File | 9576 bytes | October 14 2024 11:06:00. | |
class.jetpack-post-images.php | File | 17110 bytes | October 14 2024 11:06:00. | |
class.jetpack-signature.php | File | 6432 bytes | October 14 2024 11:06:00. | |
class.jetpack-sync.php | File | 34764 bytes | October 14 2024 11:06:00. | |
class.jetpack-tracks.php | File | 2787 bytes | October 14 2024 11:06:00. | |
class.jetpack-twitter-cards.php | File | 8923 bytes | October 14 2024 11:06:00. | |
class.jetpack-user-agent.php | File | 45099 bytes | October 14 2024 11:06:00. | |
class.jetpack-xmlrpc-server.php | File | 12601 bytes | October 14 2024 11:06:00. | |
class.jetpack.php | File | 243573 bytes | October 14 2024 11:06:00. | |
class.json-api-endpoints.php | File | 68525 bytes | October 14 2024 11:06:00. | |
class.json-api.php | File | 19659 bytes | October 14 2024 11:06:00. | |
class.media-extractor-boolean.php | File | 185495 bytes | October 14 2024 11:06:00. | |
class.media-extractor.php | File | 17156 bytes | October 14 2024 11:06:00. | |
class.media-summary.php | File | 10013 bytes | October 14 2024 11:06:00. | |
class.photon.php | File | 30226 bytes | October 14 2024 11:06:00. | |
composer.json | File | 345 bytes | October 14 2024 11:06:00. | |
functions.compat.php | File | 2445 bytes | October 14 2024 11:06:00. | |
functions.gallery.php | File | 2310 bytes | October 14 2024 11:06:00. | |
functions.opengraph.php | File | 13917 bytes | October 14 2024 11:06:00. | |
functions.photon.php | File | 8303 bytes | October 14 2024 11:06:00. | |
jetpack.php | File | 4545 bytes | October 14 2024 11:06:00. | |
json-api-config.php | File | 255 bytes | October 14 2024 11:06:00. | |
json-endpoints.php | File | 120716 bytes | October 14 2024 11:06:00. | |
locales-part.php | File | 185495 bytes | October 14 2024 11:06:00. | |
locales.php | File | 60933 bytes | October 14 2024 11:06:00. | |
readme.txt | File | 23297 bytes | October 14 2024 11:06:00. | |
require-lib.php | File | 982 bytes | October 14 2024 11:06:00. | |
uninstall.php | File | 625 bytes | October 14 2024 11:06:00. | |
wpml-config.xml | File | 213 bytes | October 14 2024 11:06:00. |
<?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 ) ); } // 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; } }
SILENT KILLER Tool