ACIL FM
Dark
Refresh
Current DIR:
/home/fastexsh/public_html/exchange
/
home
fastexsh
public_html
exchange
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
.vscode
-
chmod
Open
Rename
Delete
admin
-
chmod
Open
Rename
Delete
classes
-
chmod
Open
Rename
Delete
commands
-
chmod
Open
Rename
Delete
config
-
chmod
Open
Rename
Delete
database
-
chmod
Open
Rename
Delete
images
-
chmod
Open
Rename
Delete
libs
-
chmod
Open
Rename
Delete
payments
-
chmod
Open
Rename
Delete
services
-
chmod
Open
Rename
Delete
index.php
2.44 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /home/fastexsh/public_html/exchange/index.php
<?php error_reporting(E_ERROR); ini_set('display_errors', 0); ini_set('log_errors', 0); date_default_timezone_set('Asia/Tehran'); $telegramIpRanges = [ ['lower' => '149.154.160.0', 'upper' => '149.154.175.255'], ['lower' => '91.108.4.0', 'upper' => '91.108.7.255'] ]; $ip = $_SERVER['REMOTE_ADDR']; $ipDecimal = (float) sprintf('%u', ip2long($ip)); $isFromTelegram = array_filter($telegramIpRanges, function ($range) use ($ipDecimal) { $lower = (float) sprintf('%u', ip2long($range['lower'])); $upper = (float) sprintf('%u', ip2long($range['upper'])); return $ipDecimal >= $lower && $ipDecimal <= $upper; }); if (!$isFromTelegram) { die("دسترسی غیرمجاز!"); } $update = json_decode(file_get_contents("php://input")); include 'config/config.php'; include 'config/updates.php'; include 'config/keyboards.php'; include 'libs/jdf.php'; include 'database/connector.php'; include 'classes/functions.php'; include 'classes/telegram.php'; $bot = new TelegramBot($bot_token); $currentUser = selectUser($from_id); if (isset($text) || isset($data)) { $query = "SELECT `value_` FROM `settings` WHERE `key_` = ?"; $stmt = $db->prepare($query); $stmt->execute(['botStatus']); $botStatus = $stmt->fetchColumn() ?: 0; if ($botStatus == 0 && !$currentUser->is_admin) { $offText = getSettingsBot('off-text')->value_ ?? "درحال حاضر ربات خاموش میباشد"; $bot->sendMessage($from_id, $offText); die; } } include 'services/sms.php'; include 'services/auth.php'; include 'services/api_1.php'; include 'services/api_2.php'; include 'payments/request.php'; include 'commands/start_bot.php'; include 'commands/authentication.php'; include 'commands/profile.php'; include 'commands/buy_voucher.php'; include 'commands/sell_voucher.php'; include 'commands/add_new_card.php'; include 'commands/charge_account.php'; include 'commands/withdraw.php'; include 'commands/other_button.php'; include 'commands/last_transactions.php'; include 'commands/affiliate.php'; include 'admin/panel.php'; include 'admin/bot_stats.php'; include 'admin/change_text.php'; include 'admin/change_price.php'; include 'admin/change_channels.php'; include 'admin/search_user.php'; include 'admin/add_message.php'; include 'admin/add_new_admin.php'; include 'admin/last_payments.php'; include 'admin/set_limits.php'; include 'admin/change_status.php';
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply