Defience wrote:Make sure you have no '1' or '0' in your lists. You should be getting this: 111435 as the result of the numbers and yes, that is the algorithm for it.
Thanks for the hint, I solved the problem!
Defience wrote:Make sure you have no '1' or '0' in your lists. You should be getting this: 111435 as the result of the numbers and yes, that is the algorithm for it.
value="bw@1m6oofb24@n8?ozim5rtl$dj$0lzw1d9fbfny?1rizsf$ak7p02oihntav$opejni3i5roh110zff90$jgdzu20y$yn9gpm$qy5$6uhq3vqes2j@x8ji5w991#m58as98wv4fwi07uvywlupdjc3sd2f8?90egud7udccs$3uhds?9cqq77cbzccf#z0l3zg8tnmb?35cz@r@r@qlkdcg@um@9o9a?na$x1h@g@nh#t0snxkk@t9ciu@itnm3@vf97$jv?o9gkj7kvw#7bnegcjwg79hio3yc@0$vw4k?twciups7vi3an?@82rye7$ezja7012tguywjmvge5hpnjay9n5k2t7o06vbsnr442vf9wqdkdjhr1uyqlpxfd8q4mozomcj7vj2st3rb7mhuso@47bjeh3ob?d?b@y1nwnix2um$4bl$ddpst5z41n$#c#rjzy@cmgf4rwoqba8$pa35xlcrds$j?vv4#p5f4z3u94c0ywz2lfc3njeiqpj5rjkd4cztl$8crwxyfef@$hpt2$gd$0k9uzxo5?0kze0c5z35efnigmo0#2c#6ojvxi@#sg#d3ha?a3twl@ibg2htvilzah0s7tj4lud1r7gd?mulnh?k@?@4soz9"
POST /missions/prog/12/index.php HTTP/1.1
Host: www.hackthissite.org
User-Agent: [edit]
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
Referer: http://www.hackthissite.org/missions/prog/12/index.php
Cookie: [edited]
Content-Type: application/x-www-form-urlencoded
Content-Length: 94
solution=cxAnppgcAo@p{jnsum%ek%m{x102039&submitbutton=Submit+%28remaining+time%3A+4+seconds%29
&submitbutton=Submit+%28remaining+time%3A+4+seconds%29
&submitbutton=Submit
msbachman wrote:Check this out. Here's the value that the page is giving me, and here's what I'm sending:
...
As far as I am aware, I'm not doing anything wrong. Yet this happens consistently. What is going on? I'm guessing it's my code...but if so, what's the deal? The output is correct, is it not?
#We at least log in here
headers = {'Cookie': 'PHPSESSID=xxxxxxxxxxxxxxxxxx,'Referer':url}
response, content = http.request(url, "POST", headers=headers)
#This creates incorrect referer
#data = dict(solution=answer)
#response, content = http.request(url, "POST", urlencode(data))
print content
dopamine10 wrote:Anyway, getting the answer was easy, but I can't figure out how to correctly submit POST data while using my cookie to be logged in....I'm using Python
I'm still trying to figure out how to combine a cookie with a post to submit my answer.....
Users browsing this forum: No registered users and 0 guests