⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.60
Server IP:
68.65.123.197
Server:
Linux premium49.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
Server Software:
LiteSpeed
PHP Version:
8.2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
smarbgfw
/
card.smartech-hub.com
/
app
/
Classes
/
View File Name :
AvailableVersion.php
<?php /* |-------------------------------------------------------------------------- | GoBiz vCard SaaS |-------------------------------------------------------------------------- | Developed by NativeCode © 2021 - https://nativecode.in | All rights reserved | Unauthorized distribution is prohibited |-------------------------------------------------------------------------- */ namespace App\Classes; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Request as serverReq; class AvailableVersion { // Function to check for available version public function availableVersion() { // Default message $server_name = serverReq::server("SERVER_NAME"); $server_name = $server_name ? $server_name : config('app.url'); try { // Check update validator $client = new \GuzzleHttp\Client(); $res = $client->post('https://verify.nativecode.in/check-update', [ 'form_params' => [ 'purchase_code' => config('app.code'), 'server_name' => $server_name, 'version' => $this->getConfigValue(32) ] ]); $resp_data = json_decode($res->getBody(), true); return $resp_data; } catch (\Throwable $th) { } } // Helper function to get config value private function getConfigValue($index) { $config = DB::table('config')->get(); return $config[$index]->config_value; } }