import urllib,re,os
while True:
    a=urllib.urlopen(' http://www.freessh.us').read()
    a=a.replace('\n','').replace('\r','')
    b=re.compile('\>(\w{1,3}\.freessh\.us)\<\/td\>.+?(\w{4,7})\<\/td\>.+?\>(\w{3,7})\<\/td')
    #print b.findall(a)
    for i in b.findall(a):
        os.system('plink '+i[0]+' -N -ssh -2 -P 22 -l '+i[1]+' -C -D 7070 -v -pw \"'+i[2]+'\"')

