Watch
1
0
Fork
You've already forked Seyyed_arc
0
forked from hesabix/arc
Seyyed_arc/telegram_proxy/test_webhook.php
Babak Alizadeh c3d23c29b5 security: contain Telegram bot token leak and harden EU proxy
Remove the production bot token from example configs, disable public
proxy test endpoints, restrict proxied Bot API methods, and mask
notification secrets in the admin API after the @Hesabix_bot compromise.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-23 09:24:42 +00:00

6 lines
206 B
PHP
Executable file

<?php
declare(strict_types=1);
http_response_code(403);
header('Content-Type: application/json; charset=utf-8');
header('Cache-Control: no-store');
echo json_encode(['ok' => false, 'error' => 'DISABLED']);