This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import hashlib | |
import hmac | |
import json | |
from functools import lru_cache | |
from operator import itemgetter | |
from time import time | |
from urllib.parse import parse_qsl, parse_qs | |
class TelegramInitDataValidator: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import logging | |
import asyncio | |
from concurrent.futures import ThreadPoolExecutor | |
from enum import Enum | |
from queue import Queue | |
import threading | |
class LogLvlEnum(Enum): | |
DEBUG = "debug" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
Script name: ProtectDisable.ps1 | |
Version: 3.0 | |
Author: Andrey [GitHub](https://github.com/UNVISLATE) | |
Create date: 01.03.2025 | |
Important: Disabling security mechanisms can make the system vulnerable. Use this script at your own risk. | |
#> | |
# === Проверка запуска с правами администратора === |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
Script name: AutoStartClear.ps1 | |
Version: 1.0 | |
Author: Andrey [GitHub](https://github.com/UNVISLATE) | |
Create date: 07.02.2025 | |
#> | |
# === Проверка запуска от имени администратора === | |
if (-not ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { | |
Write-Host "The script is not running as an administrator. Restart with elevated rights..." -ForegroundColor Red |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
Script name: ProtectDisable.ps1 | |
Version: 1.0 | |
Author: Andrey [GitHub](https://github.com/UNVISLATE) | |
Create date: 04.02.2025 | |
Last update: 17.02.2025 | |
Important: Disabling security mechanisms can make the system vulnerable. Use this script at your own risk. | |
#> |