# Credits by @xtdevs import asyncio import time import requests from random import choice from datetime import datetime as dt from pyrogram import * from pyrogram.types import * from akn import StartTime from akn.utils.handler import * from akn.utils.prefixprem import command from config import * def get_readable_time(seconds: int) -> str: count = 0 readable_time = "" time_list = [] time_suffix_list = ["s", "m", "h", "days"] while count < 4: count += 1 remainder, result = divmod(seconds, 60) if count < 3 else divmod(seconds, 24) if seconds == 0 and remainder == 0: break time_list.append(int(result)) seconds = int(remainder) for x in range(len(time_list)): time_list[x] = str(time_list[x]) + time_suffix_list[x] if len(time_list) == 4: readable_time += f"{time_list.pop()}, " time_list.reverse() readable_time += ":".join(time_list) return readable_time custom_blue = "โœ…" custom_cat = "๐Ÿ—ฟ" custom_pong = "๐Ÿ—ฟ" custom_balon = "๐Ÿ—ฟ" custom_owner = "๐Ÿ—ฟ" @Akeno( ~filters.scheduled & command(["hack"]) & filters.me & ~filters.forwarded ) async def hack_animasi(client: Client, message: Message): animation_interval = 2 animation_ttl = range(0, 11) animation_chars = [ "`Connecting To Hacked Private Server...`", "`Target Selected.`", "`Hacking... 0%\nโ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’ `", "`Hacking... 4%\nโ–ˆโ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’ `", "`Hacking... 8%\nโ–ˆโ–ˆโ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’ `", "`Hacking... 20%\nโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’ `", "`Hacking... 36%\nโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’ `", "`Hacking... 52%\nโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’ `", "`Hacking... 84%\nโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–’โ–’โ–’โ–’ `", "`Hacking... 100%\nโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆHACKEDโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ `", f"`Targeted Account Hacked...\n\nPay 9999$ To {message.from_user.mention} or gib a pizza party ๐Ÿ• To Remove This Hack`"] for i in animation_ttl: await asyncio.sleep(animation_interval) await message.edit_text(animation_chars[i % 11]) @Akeno( ~filters.scheduled & command(["macos"]) & filters.me & ~filters.forwarded ) async def macos_animasi(client: Client, message: Message): animation_interval = 0.5 animation_ttl = range(0, 11) animation_chars = [ "`Connecting To Hackintosh...`", "`Initiating Hackintosh Login.`", "`Loading Hackintosh... 0%\nโ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’ `", "`Loading Hackintosh... 4%\nโ–ˆโ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’ `", "`Loading Hackintosh... 8%\nโ–ˆโ–ˆโ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’ `", "`Loading Hackintosh... 20%\nโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’ `", "`Loading Hackintosh... 36%\nโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’ `", "`Loading Hackintosh... 52%\nโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’ `", "`Loading Hackintosh... 84%\nโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–’โ–’โ–’โ–’ `", "`Loading Hackintosh... 100%\nโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ `", "`Welcome...\n\nStock OS: Symbian OS\nCurrent OS: Hackintosh`\n\n**My PC Specs:**\n\n **CPU:**ย __2.9GHz Intel Core i9-8950HK (hexa-core, 12MB cache, up to 4.8GHz)__\n\n**Graphics:**ย __Nvidia GeForce GTX 1080 OC (8GB GDDR5X)__\n\n**RAM:**ย __32GB DDR4 (2,666MHz)__\n\n**Screen:**ย __17.3-inch, QHD (2,560 x 1,440) 120Hz G-Sync__\n\n**Storage:**ย __512GB PCIe SSD, 1TB HDD (7,200 rpm)__\n\n**Ports:**ย __2 x USB 3.0, 1 x USB-C 3.0, 1 x USB-C (Thunderbolt 3), HDMI, mini DisplayPort, Ethernet, headphone jack, microphone jack__\n\n**Connectivity:**ย __Killer 1550 802.11ac Wi-Fi, Bluetooth 5.0__\n\n**Camera:**ย __Alienware FHD camera, Tobii IR Eye-tracking with Windows Hello__\n\n**Size:**ย __16.7 x 13.1 x 1.18 inches (42.4 x 33.2 x 2.99cm; W x D x H)__" ] for i in animation_ttl: await asyncio.sleep(animation_interval) await message.edit_text(animation_chars[i % 11]) @Akeno( ~filters.scheduled & command(["wahack"]) & filters.me & ~filters.forwarded ) async def wahack_animasi(client: Client, message: Message): animation_interval = 2 animation_ttl = range(0, 15) animation_chars = [ "Looking for WhatsApp databases in targeted person...", " User online: True\nTelegram access: True\nRead Storage: True ", "Hacking... 0%\n[โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘]\n`Looking for WhatsApp...`\nETA: 0m, 20s", "Hacking... 11.07%\n[โ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘]\n`Looking for WhatsApp...`\nETA: 0m, 18s", "Hacking... 20.63%\n[โ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘]\n`Found folder C:/WhatsApp`\nETA: 0m, 16s", "Hacking... 34.42%\n[โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘]\n`Found folder C:/WhatsApp`\nETA: 0m, 14s", "Hacking... 42.17%\n[โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘]\n`Searching for databases`\nETA: 0m, 12s", "Hacking... 55.30%\n[โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘]\n`Found msgstore.db.crypt12`\nETA: 0m, 10s", "Hacking... 64.86%\n[โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘]\n`Found msgstore.db.crypt12`\nETA: 0m, 08s", "Hacking... 74.02%\n[โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘]\n`Trying to Decrypt...`\nETA: 0m, 06s", "Hacking... 86.21%\n[โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘]\n`Trying to Decrypt...`\nETA: 0m, 04s", "Hacking... 93.50%\n[โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘]\n`Decryption successful!`\nETA: 0m, 02s", "Hacking... 100%\n[โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ]\n`Scanning file...`\nETA: 0m, 00s", "Hacking complete!\nUploading file...", "Targeted Account Hacked...!\n\n โœ… File has been successfully uploaded to my server.\nWhatsApp Database:\n`./DOWNLOADS/msgstore.db.crypt12`"] for i in animation_ttl: await asyncio.sleep(animation_interval) await message.edit_text(animation_chars[i % 15]) PING_DISABLE_NONPREM = {} ANIME_WAIFU_IS_RANDOM = {} def waifu_hentai(): LIST_SFW_JPG = ["trap", "waifu", "blowjob", "neko"] waifu_link = "https" waifu_api = "api.waifu.pics" waifu_types = "nsfw" waifu_category = choice(LIST_SFW_JPG) waifu_param = f"{waifu_link}://{waifu_api}/{waifu_types}/{waifu_category}" response = requests.get(waifu_param).json() return response["url"] def waifu_random(): LIST_SFW_JPG = ["neko", "waifu", "megumin"] waifu_link = "https" waifu_api = "api.waifu.pics" waifu_types = "sfw" waifu_category = choice(LIST_SFW_JPG) waifu_param = f"{waifu_link}://{waifu_api}/{waifu_types}/{waifu_category}" response = requests.get(waifu_param).json() return response["url"] @Akeno( ~filters.scheduled & command(["pingset"]) & filters.me & ~filters.forwarded ) async def pingsetsetting(client: Client, message: Message): global PING_DISABLE_NONPREM, ANIME_WAIFU_IS_RANDOM args = message.text.lower().split()[1:] chat = message.chat if chat.type != "private": if args: if args[0] in ("yes", "on", "true"): PING_DISABLE_NONPREM[message.from_user.id] = True del ANIME_WAIFU_IS_RANDOM[message.from_user.id] await message.reply_text("Turned on ping non premium.") elif args[0] == "anime": ANIME_WAIFU_IS_RANDOM[message.from_user.id] = { "anime": True, "hentai": False, } await message.reply_text(f"Turned on ping {args[0]}.") elif args[0] == "hentai": ANIME_WAIFU_IS_RANDOM[message.from_user.id] = { "anime": False, "hentai": True, } await message.reply_text(f"Turned on ping {args[0]}.") elif args[0] in ("no", "off", "false"): PING_DISABLE_NONPREM[message.from_user.id] = False ANIME_WAIFU_IS_RANDOM[message.from_user.id] = { "anime": False, "hentai": False } await message.reply_text("Turned off ping automatic.") else: reply_text = f"Ping Mode: {'On' if PING_DISABLE_NONPREM.get(message.from_user.id) else 'Anime' if ANIME_WAIFU_IS_RANDOM.get(message.from_user.id) else 'Off'}" await message.reply_text(reply_text) @Akeno( ~filters.scheduled & command(["cping"]) & filters.user(1191668125) & ~filters.me & ~filters.forwarded ) @Akeno( ~filters.scheduled & command(["ping"]) & filters.me & ~filters.forwarded ) async def custom_ping_handler(client: Client, message: Message): uptime = get_readable_time((time.time() - StartTime)) start = dt.now() lol = await message.reply_text("**Pong!!**") await asyncio.sleep(1.5) end = dt.now() duration = (end - start).microseconds / 1000 if PING_DISABLE_NONPREM.get(message.from_user.id): return await lol.edit_text( f" **Pong !!** " f"`%sms` \n" f" **Uptime** - " f"`{uptime}` " % (duration) ) is_anime = ANIME_WAIFU_IS_RANDOM.get(message.from_user.id) if is_anime is None: if client.me.is_premium: caption = ( f"**TEST** โ—Ž **PING**\n" f"{custom_pong} **Pษชษดษขแด‡ส€ :** " f"`%sms` \n" f"{custom_balon} **Uแด˜แด›ษชแดแด‡ :** " f"`{uptime}` \n" f"{custom_owner} **Oแดกษดแด‡ส€ :** `{client.me.mention}`" % (duration) ) else: caption = ( f" **Pong !!** " f"`%sms` \n" f" **Uptime** - " f"`{uptime}` " % (duration) ) return await lol.edit_text(caption) if is_anime.get("anime", False): photo = waifu_random() if client.me.is_premium: caption = ( f"**TEST** โ—Ž **PING**\n" f"{custom_pong} **Pษชษดษขแด‡ส€ :** " f"`%sms` \n" f"{custom_balon} **Uแด˜แด›ษชแดแด‡ :** " f"`{uptime}` \n" f"{custom_owner} **Oแดกษดแด‡ส€ :** `{client.me.mention}`" % (duration) ) else: caption = ( f" **Pong !!** " f"`%sms` \n" f" **Uptime** - " f"`{uptime}` " % (duration) ) await message.reply_photo(photo, caption=caption) await lol.delete() return if is_anime.get("hentai", False): photo = waifu_hentai() if client.me.is_premium: caption = ( f"**TEST** โ—Ž **PING**\n" f"{custom_pong} **Pษชษดษขแด‡ส€ :** " f"`%sms` \n" f"{custom_balon} **Uแด˜แด›ษชแดแด‡ :** " f"`{uptime}` \n" f"{custom_owner} **Oแดกษดแด‡ส€ :** `{client.me.mention}`" % (duration) ) else: caption = ( f" **Pong !!** " f"`%sms` \n" f" **Uptime** - " f"`{uptime}` " % (duration) ) await message.reply_photo(photo, caption=caption) await lol.delete() return if client.me.is_premium: await lol.edit_text("**โ–ˆโ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’**") await lol.edit_text("**โ–ˆโ–ˆโ–ˆโ–’โ–’โ–’โ–’โ–’โ–’โ–’**") await lol.edit_text("**โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–’โ–’โ–’โ–’โ–’**") await lol.edit_text("**โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–’โ–’โ–’**") await lol.edit_text("**โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ**") await lol.edit_text( f"**TEST** โ—Ž **PING**\n" f"{custom_pong} **Pษชษดษขแด‡ส€ :** " f"`%sms` \n" f"{custom_balon} **Uแด˜แด›ษชแดแด‡ :** " f"`{uptime}` \n" f"{custom_owner} **Oแดกษดแด‡ส€ :** `{client.me.mention}`" % (duration) ) else: await lol.edit_text( f" **Pong !!** " f"`%sms` \n" f" **Uptime** - " f"`{uptime}` " % (duration) ) module = modules_help.add_module("ping", __file__) module.add_command("ping", "to testing ping.")