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/Package/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /srv/www/reco2st.eu/https/wp-content/plugins/download-manager/src/Package/Package.php
<?php


namespace WPDM\Package;


class Package extends PackageController
{
    public $ID;
    public $title;
    public $description;
    public $excerpt;
    public $files;
    public $post_status;
    public $version;
    public $publish_date;
    public $publish_date_timestamp;
    public $update_date;
    public $update_date_timestamp;
    public $avail_date;
    public $expire_date;
    public $link_label;
    public $download_count;
    public $view_count;
    public $access;
    public $author;
    public $quota;
    public $icon;
    public $package_size;

    function __construct($ID = null)
    {
        parent::__construct($ID);

        $this->init($ID);

    }

    function init($ID)
    {
        if ((int)$ID > 0) {
            global $wpdb;
            $pack = get_post($ID);
            if ($pack && $pack->post_type === 'wpdmpro') {
                $this->ID = $pack->ID;
                $this->title = $pack->post_title;
                $this->description = wpautop(wp_kses_post($pack->post_content));
                $this->description = str_replace("[wpdm", "[__wpdm", $this->description);
                $this->description = do_shortcode($this->description);
                $this->excerpt = wpautop(wp_kses_post($pack->post_excerpt));
                $this->post_status = $pack->post_status;
                $this->publish_date_timestamp = strtotime($pack->post_date);
                $this->publish_date = wp_date(get_option('date_format'), $this->publish_date_timestamp);
                $this->update_date_timestamp = strtotime($pack->post_modified);
                $this->update_date = wp_date(get_option('date_format'), $this->update_date_timestamp);
                $this->author = $pack->post_author;
                $this->files = $this->getFiles($ID, true);

                $meta = $this->metaData($ID);
                $this->avail_date = wp_date(get_option('date_format'), wpdm_valueof($meta, '__wpdm_publish_date'));
                $this->expire_date = wp_date(get_option('date_format'), wpdm_valueof($meta, '__wpdm_expire_date'));
                $this->download_count = wpdm_valueof($meta, '__wpdm_download_count');
                $this->view_count = wpdm_valueof($meta, '__wpdm_view_count');
                $this->package_size = wpdm_valueof($meta, '__wpdm_package_size');
                $this->quota = wpdm_valueof($meta, '__wpdm_quote');
                $this->link_label = wpdm_valueof($meta, '__wpdm_link_label');
                $this->version = wpdm_valueof($meta, '__wpdm_version');
                $this->icon = wpdm_valueof($meta, '__wpdm_icon');
            }
        }
        return $this;
    }


}

Youez - 2016 - github.com/yon3zu
LinuXploit