UnknownSec Bypass
403
:
/
var
/
www
/
zenithentcare
/
testapp
/ [
drwxrwxr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
sendmsg.php
<?php require 'vendor/autoload.php'; use Kreait\Firebase\Factory; use Kreait\Firebase\Messaging\CloudMessage; use Kreait\Firebase\Messaging\Notification; $factory = (new Factory) ->withServiceAccount('zenith.json'); // $auth = $factory->createAuth(); // $realtimeDatabase = $factory->createDatabase(); $messaging = $factory->createMessaging(); // $remoteConfig = $factory->createRemoteConfig(); // $cloudStorage = $factory->createStorage(); // $firestore = $factory->createFirestore(); $deviceToken = 'c_XcTfPbSaGLXBSaznt2jY:APA91bGgRXn60-eenlrbxaX86b6HYd-vq7vPQWuL1844ad6OnI_MP_OFodvx_flZ2g61EK2MrNPrd3y_daonfWfxXHn2I6zq1VejH_xqC-3Ppl0uVrc9mbTwR4rfZW9E78l62rqFdgpX'; $notification=Notification::create('Title', 'Body'); $data=[ 'title' => 'Hello', 'body' => 'This is Test Message' ]; $message = CloudMessage::withTarget('token', $deviceToken) ->withNotification($notification) // optional ->withData($data) // optional ; // $message = CloudMessage::fromArray([ // 'token' => $deviceToken, // 'notification' => [/* Notification data as array */], // optional // 'data' => [/* data array */], // optional // ]); $messaging->send($message);
Copyright © 2025 - UnknownSec