Re-upload history

This commit is contained in:
TermiNexus committed 2026-07-28 03:15:28 +08:00
commit d5159ec11b
30 files changed
+4892

No files matched your search

+81
View File
@@ -0,0 +1,81 @@
import pickle
import base64
import os
class FIO():
def openw(self, file, write, mode:int=1, encoding="UTF-8"):
if mode == 1:
with open(file, "w", encoding=encoding) as f:
f.write(write)
elif mode == 2:
with open(file, "wb") as f:
f.write(write)
def opena(self, file, write, mode:int=1, encoding="UTF-8"):
if mode == 1:
with open(file, "a", encoding=encoding) as f:
f.write(write)
elif mode == 2:
with open(file, "ab") as f:
f.write(write)
def openr(self, file, mode:int=1, encoding="UTF-8"):
if mode == 1:
with open(file, "r", encoding=encoding) as f:
read = f.read()
elif mode == 2:
with open(file, "rb") as f:
read = f.read()
return read
FIO=FIO()
class GodKeys():
def __init__(self):
self.KEY="""'QWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnm1234567890-+="""
def _SecretKeyEncryption(self, s: str, k: bytes):
return self._e(s)
def _SecretKeyDecryption(self, s: bytes, k: str):
return self._d(s)
def encrypt(self, s: str, k=None):
if not k: k=self.KEY
return self._SecretKeyEncryption(self.Bytes2Base64(pickle.dumps(s)), k)
def decrypt(self, s: bytes, k=None):
if not k: k=self.KEY
return pickle.loads(self.Base642Bytes(self._SecretKeyDecryption(s, k)))
def Bytes2Base64(self, s):
return base64.b64encode(s)
def Base642Bytes(self, b):
return base64.b64decode(b)
def _RH(self, hex_str):
return ''.join([hex_str[(i + 3) % len(hex_str)] for i in range(len(hex_str))])
def _SH(self, rearranged_hex):
return ''.join([rearranged_hex[(i - 3) % len(rearranged_hex)] for i in range(len(rearranged_hex))])
def _e(self, bytes_data):
hex_data = bytes_data.hex()
reversed_hex = self._RH(hex_data[::-1])[::-1]
return bytes.fromhex(reversed_hex)
def _d(self, encrypted_bytes):
hex_data = encrypted_bytes.hex()
reversed_hex = self._SH(hex_data[::-1])[::-1]
return bytes.fromhex(reversed_hex)
g=GodKeys()
s=FIO.openr("./Netio.py")
s=g.encrypt(s)
_=b""
#_=FIO.openr("./dist/TERMINATION4.exe", 2)
_+=b"STARTBOOT"
#_+=g.encrypt(b'{"StartUp":{"NetworkProcessings":{"Globals":[],"Run":{"NetworkProcessings":{"url":"Termination.url","Tasks":"PyTasks"}}}}}')
_+=g.encrypt(b'{"StartUp":{}}')
_+=b"ENDBOOT"
#_+=b"STARTNetworkProcessings"
#_+=g.encrypt(s)
#_+=b"ENDNetworkProcessings"
#FIO.openw("./T.exe", _, 2)
FIO.openw("./with", _, 2)