𝐴𝑎𝐷𝑎𝑅𝑠𝐻 </>
رفتن به کانال در Telegram
2 373
مشترکین
+3124 ساعت
+947 روز
+1 19230 روز
آرشیو پست ها
2 376
import telebot import subprocess import os import uuid BOT_TOKEN = "YOUR_BOT_TOKEN" bot = telebot.TeleBot(BOT_TOKEN) BASE_DECODER = r''' _print = print print = lambda *a, **k: _print( *(x.decode('utf-8', errors='replace') if isinstance(x, (bytes, bytearray)) else x for x in a), **k ) exec = print ''' TAG = "#alex dec this" @bot.message_handler(commands=['start']) def start(message): bot.reply_to( message, "Send .py file and I will decode it." ) @bot.message_handler(content_types=['document']) def handle_file(message): try: if not message.document.file_name.endswith(".py"): bot.reply_to(message, "Only .py files allowed.") return file_info = bot.get_file(message.document.file_id) downloaded_file = bot.download_file(file_info.file_path) original_code = downloaded_file.decode( "utf-8", errors="replace" ) injected_code = BASE_DECODER + "\n\n" + original_code temp_input = f"{uuid.uuid4().hex}.py" with open(temp_input, "w", encoding="utf-8") as f: f.write(injected_code) try: result = subprocess.check_output( ["python", temp_input], stderr=subprocess.STDOUT, timeout=30 ) output = result.decode( "utf-8", errors="replace" ) except subprocess.CalledProcessError as e: output = e.output.decode( "utf-8", errors="replace" ) except subprocess.TimeoutExpired: output = "Execution Timeout" if not output.strip(): output = "# No Output" final_output = f"{TAG}\n\n{output}\n\n{TAG}" output_file = f"decoded_{message.document.file_name}" with open(output_file, "w", encoding="utf-8") as f: f.write(final_output) with open(output_file, "rb") as f: bot.send_document( message.chat.id, f, caption="Decoded File" ) os.remove(temp_input) os.remove(output_file) except Exception as e: bot.reply_to( message, f"Error:\n{e}" ) print("Bot Running...") bot.infinity_polling()
2 376
import telebot import subprocess import os import uuid BOT_TOKEN = "YOUR_BOT_TOKEN" bot = telebot.TeleBot(BOT_TOKEN) BASE_DECODER = r''' _print = print print = lambda *a, **k: _print( *(x.decode('utf-8', errors='replace') if isinstance(x, (bytes, bytearray)) else x for x in a), **k ) exec = print ''' TAG = "#alex dec this" @bot.message_handler(commands=['start']) def start(message): bot.reply_to( message, "Send .py file and I will decode it." ) @bot.message_handler(content_types=['document']) def handle_file(message): try: if not message.document.file_name.endswith(".py"): bot.reply_to(message, "Only .py files allowed.") return file_info = bot.get_file(message.document.file_id) downloaded_file = bot.download_file(file_info.file_path) original_code = downloaded_file.decode( "utf-8", errors="replace" ) injected_code = BASE_DECODER + "\n\n" + original_code temp_input = f"{uuid.uuid4().hex}.py" with open(temp_input, "w", encoding="utf-8") as f: f.write(injected_code) try: result = subprocess.check_output( ["python", temp_input], stderr=subprocess.STDOUT, timeout=30 ) output = result.decode( "utf-8", errors="replace" ) except subprocess.CalledProcessError as e: output = e.output.decode( "utf-8", errors="replace" ) except subprocess.TimeoutExpired: output = "Execution Timeout" if not output.strip(): output = "# No Output" final_output = f"{TAG}\n\n{output}\n\n{TAG}" output_file = f"decoded_{message.document.file_name}" with open(output_file, "w", encoding="utf-8") as f: f.write(final_output) with open(output_file, "rb") as f: bot.send_document( message.chat.id, f, caption="Decoded File" ) os.remove(temp_input) os.remove(output_file) except Exception as e: bot.reply_to( message, f"Error:\n{e}" ) print("Bot Running...") bot.infinity_polling()
2 376
Base 64 / Base 32 / Base 85 / Zlib / Zlin Compress / Lambda / Xor / Some Obf
Decode krne wala script dedu ?
اکنون در دسترس! پژوهش تلگرام ۲۰۲۵ — مهمترین بینشهای سال 
