Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Upset Zelda fags

Name: Anonymous 2007-09-15 14:42 ID:QGV5EOL7


#!/usr/bin/python
"""
Upset Zelda fags by adding proxies to the list then running. Repost with as many proxies as you can find. Also try using Tor (tor.eff.org) as this has been proven to be rather effective.
"""
proxies = [
    'http://localhost:8118/';,
]

import urllib2
backspaces = 0
for i, proxy in enumerate(proxies):
    proxies[i] = [proxy, 0, 0]
for i, proxy in enumerate(proxies):
    proxy_handler = urllib2.ProxyHandler({'http': proxy[0]})
    opener = urllib2.build_opener(proxy_handler)
    opener.addheaders = [('User-agent', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)')]
    urllib2.install_opener(opener)
    while 1:
        voted_page = urllib2.urlopen('http://www.gamefaqs.com/poll/index.html';, data='opt=2&poll=2875')
        if 'A vote from this IP address has already been submitted.  This is likely because you share an IP address with others, so you may want to register for a GameFAQs account to enable yourself to vote in this and future polls.' in voted_page.read():
            proxy[1] += 1
        else:
            proxy[2] += 1
        failed = sum([proxy[1] for proxy in proxies])
        succeeded = sum([proxy[2] for proxy in proxies])
        progress_text = 'Proxy %s/%s (%s), Failed %s, Succeeded %s' % (i, len(proxies), proxy[0], failed, succeeded)
        print '\x08' * backspaces + progress_text,
        backspaces = len(progress_text) + 1
        if failed > succeeded > 10:
            break

print "Ran out of proxies. All proxies were getting a higher rate of failure than success."

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List