ヤミRoot VoidGate
User / IP
:
216.73.217.162
Host / Server
:
15.235.182.215 / pollibazaar.com
System
:
Linux asia.cbnex.com 5.14.0-611.49.2.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Apr 30 09:05:08 EDT 2026 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
pollibazaar
/
public_html
/
app
/
Services
/
Viewing: FirebaseService.php
<?php namespace App\Services; use GuzzleHttp\Client; use Illuminate\Support\Facades\Http; class FirebaseService { protected Client $client; public function __construct() { $this->client = new Client(); } public function sendOtp($phoneNumber): array { $fcmCredentials = getWebConfig('fcm_credentials') ?? []; $apiKey = $fcmCredentials['apiKey'] ?? ''; $response = Http::post('https://identitytoolkit.googleapis.com/v1/accounts:sendVerificationCode?key=' . $apiKey, [ 'phoneNumber' => $phoneNumber, 'recaptchaToken' => request('g-recaptcha-response') ?? session('g-recaptcha-response'), ]); $responseBody = $response->json(); return [ 'result' => $responseBody, 'sessionInfo' => trim($responseBody['sessionInfo'] ?? ''), 'status' => $response->successful() ? 'success' : 'error', 'message' => $responseBody['message'] ?? 'Something went wrong', 'errors' => $responseBody['error']['message'] ?? null, ]; } public function verifyOtp($sessionInfo, $phoneNumber, $otp): array { $fcmCredentials = getWebConfig('fcm_credentials') ?? []; $apiKey = $fcmCredentials['apiKey'] ?? ''; $response = Http::post('https://identitytoolkit.googleapis.com/v1/accounts:signInWithPhoneNumber?key=' . $apiKey, [ 'sessionInfo' => $sessionInfo, 'code' => $otp, 'phoneNumber' => $phoneNumber, ]); $responseBody = $response->json(); return [ 'result' => $responseBody, 'sessionInfo' => trim($responseBody['sessionInfo'] ?? ''), 'status' => $response->successful() ? 'success' : 'error', 'message' => $responseBody['message'] ?? 'Something went wrong', 'errors' => $responseBody['error']['message'] ?? 'No specific error message', ]; } }
Coded With 💗 by
0x6ick