Heres the proof of concept(in python):
Code: Select all
#################################
# By abyss @ aitvaras irc net. #
#################################
import cookielib
import urllib2
import math
import string
#this is mine recruit page
response = cookielib.urllib.urlopen("http://stargatewars.com/recruit.php?uniqid=uy1133702463")
html = response.read()
#nbr1 stands for the first sequence of digits, there are four or more
#this script finds "pic/nbr1/e.gif" the 'e' letter and it is converted to
#integer, and so forth till we have 3digits the PIN, and its printed out.
if string.find(html, "nbr1/") != -1:
count = string.find(html, "nbr1/")
one = ord(html[count+5:count+6]) -100 +4
two = ord(html[count+31:count+32]) -100 +4
three = ord(html[count+57:count+58]) -100 +4
PIN = one * 100 + two * 10 + three
print PIN
Ok thats all i think.
p.s: sorry for the mistakes i'm a Lithuanian...

