2005-08-08, 14:00
its because they want people to upgrade their account. i think the skipping are part of the plan...
Quote:import urllib, re, random, os.path, time, stat, string, threading,sys
mainurl = "http://www.craftytv.com/"
def decode(url):
global array, array2 , dater2
f = urllib.urlopen(url)
data = f.read()
f.close()
data2 = data.replace("<br><br>","<br>")
filters = re.compile('array((.*?));', re.ignorecase | re.dotall)
links = re.findall(filters , data2)
dater = re.compile('}}decrypt(.*?)</script>', re.ignorecase | re.dotall)
dater2 = re.findall(dater , data2)
dater2=str(dater2)
dater2=dater2.replace('_p("','')
array2 = dater2
array2=string.replace(array2, "(" ,'')
array2=string.replace(array2, ")" ,'')
array2=string.replace(array2, "'" ,'')
array2=string.replace(array2, "]" ,'')
array2=string.replace(array2, "[" ,'')
array = str(links[0])
array=string.replace(array, "'" ,'')
array=string.replace(array, "(" ,'')
array=string.replace(array, ")" ,'')
array=string.split(array, ',')
a=''
x=str(array2)
l=len(x)
b=1024
p=0
s=0
w=0
t=array
j=int(l/b)
while j>0:
j=j-1
if(b<l):
i=b
else:
i=l
while p<len(x)-1:
i=i-1
l=l-1
p=p+1
w|=(int(t[(ord(x[p-1]))-48]))<<s
if (s):
text = str( chr(165 ^ w & 255))
a= a + text
w>>=8
s=s-2
else:
s=6
return a
a= decode(mainurl)