Linux websever 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 192.168.3.70 | : 192.168.1.99
Cant Read [ /etc/named.conf ]
8.1.2-1ubuntu2.23
urlab
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
cilab /
wp-content /
plugins /
jetpack /
[ HOME SHELL ]
Name
Size
Permission
Action
3rd-party
[ DIR ]
drwxr-xr-x
_inc
[ DIR ]
drwxr-xr-x
css
[ DIR ]
drwxr-xr-x
extensions
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
jetpack_vendor
[ DIR ]
drwxr-xr-x
json-endpoints
[ DIR ]
drwxr-xr-x
modules
[ DIR ]
drwxr-xr-x
sal
[ DIR ]
drwxr-xr-x
src
[ DIR ]
drwxr-xr-x
vendor
[ DIR ]
drwxr-xr-x
views
[ DIR ]
drwxr-xr-x
CHANGELOG.md
650.24
KB
-rw-r--r--
LICENSE.txt
17.98
KB
-rw-r--r--
SECURITY.md
2.45
KB
-rw-r--r--
class-jetpack-connection-statu...
728
B
-rw-r--r--
class-jetpack-gallery-settings...
3.38
KB
-rw-r--r--
class-jetpack-pre-connection-j...
2.34
KB
-rw-r--r--
class-jetpack-stats-dashboard-...
7.77
KB
-rw-r--r--
class-jetpack-xmlrpc-methods.p...
8.33
KB
-rw-r--r--
class.frame-nonce-preview.php
3.22
KB
-rw-r--r--
class.jetpack-admin.php
20.13
KB
-rw-r--r--
class.jetpack-affiliate.php
205
B
-rw-r--r--
class.jetpack-autoupdate.php
9.74
KB
-rw-r--r--
class.jetpack-bbpress-json-api...
220
B
-rw-r--r--
class.jetpack-cli.php
71.8
KB
-rw-r--r--
class.jetpack-client-server.ph...
2.62
KB
-rw-r--r--
class.jetpack-gutenberg.php
42.38
KB
-rw-r--r--
class.jetpack-heartbeat.php
4.55
KB
-rw-r--r--
class.jetpack-modules-list-tab...
14.79
KB
-rw-r--r--
class.jetpack-network-sites-li...
5.98
KB
-rw-r--r--
class.jetpack-network.php
21.05
KB
-rw-r--r--
class.jetpack-plan.php
4.09
KB
-rw-r--r--
class.jetpack-post-images.php
33.83
KB
-rw-r--r--
class.jetpack-twitter-cards.ph...
12.92
KB
-rw-r--r--
class.jetpack-user-agent.php
25.3
KB
-rw-r--r--
class.jetpack.php
211.39
KB
-rw-r--r--
class.json-api-endpoints.php
82.84
KB
-rw-r--r--
class.json-api.php
34.47
KB
-rw-r--r--
class.photon.php
1.74
KB
-rw-r--r--
composer.json
3.83
KB
-rw-r--r--
enhanced-open-graph.php
4.35
KB
-rw-r--r--
functions.compat.php
4.28
KB
-rw-r--r--
functions.cookies.php
2.04
KB
-rw-r--r--
functions.global.php
15.21
KB
-rw-r--r--
functions.is-mobile.php
2.47
KB
-rw-r--r--
functions.opengraph.php
21.38
KB
-rw-r--r--
functions.photon.php
3.04
KB
-rw-r--r--
global.d.ts
48
B
-rw-r--r--
jetpack.php
8.58
KB
-rw-r--r--
json-api-config.php
338
B
-rw-r--r--
json-endpoints.php
6.92
KB
-rw-r--r--
load-jetpack.php
3.1
KB
-rw-r--r--
locales.php
324
B
-rw-r--r--
readme.txt
30.83
KB
-rw-r--r--
uninstall.php
1.6
KB
-rw-r--r--
wpml-config.xml
1.26
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : enhanced-open-graph.php
<?php /** * Enhanced Open Graph for Jetpack. * * @package automattic/jetpack */ if ( ! class_exists( 'Jetpack_Media_Summary' ) ) { require_once JETPACK__PLUGIN_DIR . '_inc/lib/class.media-summary.php'; } /** * Better OG Image Tags for Image Post Formats * * @param array $tags Array of Open Graph tags. */ function enhanced_og_image( $tags ) { if ( ! is_singular() || post_password_required() ) { return $tags; } global $post; // Bail if we do not have info about the post. if ( ! $post instanceof WP_Post ) { return $tags; } // Always favor featured images. if ( enhanced_og_has_featured_image( $post->ID ) ) { return $tags; } $summary = Jetpack_Media_Summary::get( $post->ID ); if ( 'image' !== $summary['type'] ) { return $tags; } $tags['og:image'] = $summary['image']; $tags['og:image:secure_url'] = $summary['secure']['image']; return $tags; } add_filter( 'jetpack_open_graph_tags', 'enhanced_og_image' ); /** * Better OG Image Tags for Gallery Post Formats * * @param array $tags Array of Open Graph tags. */ function enhanced_og_gallery( $tags ) { if ( ! is_singular() || post_password_required() ) { return $tags; } global $post; // Bail if we do not have info about the post. if ( ! $post instanceof WP_Post ) { return $tags; } // Always favor featured images. if ( enhanced_og_has_featured_image( $post->ID ) ) { return $tags; } $summary = Jetpack_Media_Summary::get( $post->ID ); if ( 'gallery' !== $summary['type'] ) { return $tags; } if ( ! isset( $summary['images'] ) || ! is_array( $summary['images'] ) || empty( $summary['images'] ) ) { return $tags; } $images = array(); $secures = array(); foreach ( $summary['images'] as $i => $image ) { $images[] = $image['url']; $secures[] = $summary['secure']['images'][ $i ]['url']; } $tags['og:image'] = $images; $tags['og:image:secure_url'] = $secures; return $tags; } add_filter( 'jetpack_open_graph_tags', 'enhanced_og_gallery' ); /** * Allows VideoPress, YouTube, and Vimeo videos to play inline on Facebook * * @param array $tags Array of Open Graph tags. */ function enhanced_og_video( $tags ) { if ( ! is_singular() || post_password_required() ) { return $tags; } global $post; // Bail if we do not have info about the post. if ( ! $post instanceof WP_Post ) { return $tags; } // Always favor featured images. if ( enhanced_og_has_featured_image( $post->ID ) ) { return $tags; } $summary = Jetpack_Media_Summary::get( $post->ID ); if ( 'video' !== $summary['type'] ) { if ( $summary['count']['video'] > 0 && $summary['count']['image'] < 1 ) { $tags['og:image'] = $summary['image']; $tags['og:image:secure_url'] = $summary['secure']['image']; } return $tags; } $tags['og:image'] = $summary['image']; $tags['og:image:secure_url'] = $summary['secure']['image']; // This should be html by default for youtube/vimeo, since we're linking to HTML pages. $tags['og:video:type'] = isset( $summary['video_type'] ) ? $summary['video_type'] : 'text/html'; $video_url = $summary['video']; $secure_video_url = $summary['secure']['video']; if ( preg_match( '/((youtube|vimeo)\.com|youtu.be)/', $video_url ) ) { if ( strstr( $video_url, 'youtube' ) ) { $id = jetpack_get_youtube_id( $video_url ); $video_url = 'http://www.youtube.com/embed/' . $id; $secure_video_url = 'https://www.youtube.com/embed/' . $id; } elseif ( strstr( $video_url, 'vimeo' ) ) { preg_match( '|vimeo\.com/(\d+)/?$|i', $video_url, $match ); $id = (int) $match[1]; $video_url = 'http://vimeo.com/moogaloop.swf?clip_id=' . $id; $secure_video_url = 'https://vimeo.com/moogaloop.swf?clip_id=' . $id; } } $tags['og:video'] = $video_url; $tags['og:video:secure_url'] = $secure_video_url; if ( empty( $post->post_title ) ) { /* translators: %s is the name of the site */ $tags['og:title'] = sprintf( __( 'Video on %s', 'jetpack' ), get_option( 'blogname' ) ); } return $tags; } add_filter( 'jetpack_open_graph_tags', 'enhanced_og_video' ); /** * Check if a post has a suitable featured image. * * @param int $post_id The post ID to check. * @return bool True if the post has a suitable featured image, false otherwise. */ function enhanced_og_has_featured_image( $post_id ) { return ! empty( Jetpack_PostImages::from_thumbnail( $post_id ) ); }
Close