⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.142
Server IP:
217.76.53.76
Server:
Linux vmi1397931.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64
Server Software:
Apache
PHP Version:
8.2.27
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
wwwroot
/
welcome.nuttybe.com
/
View File Name :
endpoints.php
'400', 'status' => 'Bad Request', 'errors' => array( 'error_id' => '19', 'error_text' => 'Server Key Error' ) ); Generic::json($response_data); } $non_allowed = array('password','email_code','login_token','edit'); $allowed = array('Auth','User','Post','Story','Settings','Messages', 'Misc', 'Payment','Blog','Reel','Live','Ads','Startup'); $classes = array('Misc' => 'MiscEndPoint', 'Auth' => 'Auth','User' => 'UserEndPoint','Post' => 'PostsEndPoint','Story' => 'StoryEndPoint','Settings' => 'SettingsEndPoint','Messages' => 'MessagesEndPoint','Payment' => 'PaymentEndPoint','Blog' => 'BlogEndPoint','Reel' => 'ReelEndPoint','Live' => 'LiveEndPoint','Ads' => 'AdsEndPoint','Startup' => 'StartupEndPoint'); $api = "endpoint".DIRECTORY_SEPARATOR."$api_version".DIRECTORY_SEPARATOR.$classes[$api_resource].".php"; if (file_exists($api) && in_array($api_resource, $allowed)) { require_once $api; $response_data = new $classes[$api_resource]($api_resource_id); }else{ $response_data = array( 'code' => '400', 'status' => 'Bad Request', 'errors' => array( 'error_id' => '1', 'error_text' => 'Error: 404 API Version Not Found' ) ); Generic::json($response_data); } $db->disconnect();