Nombre de usuario: 
Contraseña: 
Vincular sesión a esta IP 

Comments on µContest

1 2 3
Clasificación global: 53
Puntuación total: 258420
Mensajes: 25
Agradecer: 33
Voto positivo: 30
Registrado: 16A 86d
Ávatar de noother










Última vez visto: 6d 1h
El usuario está desconectado
RE: Comments on µContest
Google/Traductor2¡Gracias!1Buen mensaje!1Mal mensaje! link
It looks like the activation mail doesn't work.
I haven't received anything and there's no option to resend the email :\

Edit: They activated me manually now. I also received the activation email 9 hours after registering at 06:33 CEST.
Última edición por noother - Julio 13, 2011 - 16:11:43
Clasificación global: 5952
Puntuación total: 2224
Mensajes: 6
Agradecer: 9
Voto positivo: 5
Registrado: 12A 334d
Ávatar de MetatrOn
Última vez visto: 2A 216d
El usuario está desconectado
RE: Comments on µContest
Google/Traductor2¡Gracias!1Buen mensaje!1Mal mensaje! link
lol you don't loose time. Ya it seems OVH's servers were busy
Clasificación global: 53
Puntuación total: 258420
Mensajes: 25
Agradecer: 33
Voto positivo: 30
Registrado: 16A 86d
Ávatar de noother










Última vez visto: 6d 1h
El usuario está desconectado
RE: Comments on µContest
Google/Traductor3¡Gracias!2Buen mensaje!1Mal mensaje! link
Now I have another problem Sad
Everytime I submit an answer, it only returns an empty page. http://www.microcontest.com/interface.php states that it should return "0" or the points gained.
I submit the answers via POST to http://www.microcontest.com/contests/$levelid/validation.php with PHPSESSID as cookie, which I got from the request for the variables, and the solution as POST, where the name of the var is, what the level site says. In level 1 for example "s", so my POST is s=123.

Any ideas?

Edit:

Ok, I got it now.

The solution submission needs the 60gp cookie. This cookie is given when requesting the variables - But ONLY, if there is already a PHPSESSID set.
That is of course totally incompatible with the doc @ http://www.microcontest.com/interface.php, which says that the PHPSESSID is generated upon requesting the variables, and that you need to use it for the solution submission.

But without PHPSESSID => no 60gp cookie => no solution submission..

So what I do now is:

1) Let the program login to the site with username, sha1 via the login form. Save the PHPSESSID
2) Request the variables using PHPSESSID in cookie & username+sha1 in POST, save 60gp cookie
3) Submit solution, using PHPSESSID & 60gp

:S
Última edición por noother - Julio 13, 2011 - 20:26:16
Clasificación global: 5952
Puntuación total: 2224
Mensajes: 6
Agradecer: 9
Voto positivo: 5
Registrado: 12A 334d
Ávatar de MetatrOn
Última vez visto: 2A 216d
El usuario está desconectado
RE: Comments on µContest
Google/Traductor3¡Gracias!2Buen mensaje!1Mal mensaje! link
Cita de noother
Julio 13, 2011 - 18:38:49

This cookie is given when requesting the variables - But ONLY, if there is already a PHPSESSID set.


I think this is false actually. In fact, our lib doesn't send any PHPSESSID to contest.php when the POST is performed. Moreover, contest.php sends back the PHPSESSID AND the cookie 60gp, i checked with wireshark.
Clasificación global: 53
Puntuación total: 258420
Mensajes: 25
Agradecer: 33
Voto positivo: 30
Registrado: 16A 86d
Ávatar de noother










Última vez visto: 6d 1h
El usuario está desconectado
RE: Comments on µContest
Google/Traductor3¡Gracias!2Buen mensaje!1Mal mensaje! link
You're right. It was my fault.

I didn't get the cookie because my http-function didn't parse the header correctly. The page has Set-Cookie 2 times, so it replaced the first with the second cookie. (I somehow had in mind, that cookies are sent in 1 line, sepereated by ';', just like it is when you sent them to a host)

It also wasn't clear to me, that this qp60 cookie actually exists at the beginning. The doc says "(Cookie, PHPSESSID)". Looks like I interpreted that wrong by assuming it want's to say 'You need to send the Cookie "PHPSESSID"'.

Thank you..

But still, I only get a blank validation-page, if the submitted solution is wrong or the timelimit has been exceeded. Not a '0' as it is stated in the interface.php.
Also it would be nice, if the page would return some more status codes. Like:

>0 Solution correct, points
0 Solution wrong
-1 Challenge already solved
-2 Timelimit exceeded
-3 Request ignored, because of protocol violation (no qp60-cookie for example)

In some cases, it's very hard to figure out what's wrong at the moment :\

greets
Última edición por noother - Julio 13, 2011 - 23:40:00
Clasificación global: 5952
Puntuación total: 2224
Mensajes: 6
Agradecer: 9
Voto positivo: 5
Registrado: 12A 334d
Ávatar de MetatrOn
Última vez visto: 2A 216d
El usuario está desconectado
RE: Comments on µContest
Google/Traductor2¡Gracias!1Buen mensaje!1Mal mensaje! link
Yes you are totally right, these kind of error codes are planned in the next version of the protocol.
But it is still strange that you don't get a correct validation page. I've never got the problem, and with my tests with wireshark, I actually got '0', because I have already validated the contest.
If you want an example : Example. (I remplaced 0 by 3 at the end for the example but I actually got 0).
I will add it to the doc page.
Última edición por MetatrOn - Julio 15, 2011 - 01:13:25
Clasificación global: 8
Puntuación total: 496093
Mensajes: 39
Agradecer: 44
Voto positivo: 30
Registrado: 11A 127d







El usuario está desconectado
RE: Comments on µContest
Google/Traductor0¡Gracias!0Buen mensaje!0Mal mensaje! link
Hi, I think the score point is not correct.
I have solved 66% and the score of microcontest is 18613.
18613*0.66=8107 and I have 4859 pts.
Am I wrong?
Clasificación global: 13
Puntuación total: 431066
Mensajes: 40
Agradecer: 36
Voto positivo: 21
Registrado: 15A 102d







El usuario está desconectado
RE: Comments on µContest
Google/Traductor0¡Gracias!0Buen mensaje!0Mal mensaje! link
Yes you are. Score doesn't work this way here.
Loading...
Puntuación total: 316939
Mensajes: 98
Agradecer: 105
Voto positivo: 105
Registrado: 14A 311d







Última vez visto: 38d 2h
El usuario está desconectado
RE: Comments on µContest
Google/Traductor0¡Gracias!0Buen mensaje!0Mal mensaje! link
Cita de thefinder
Febrero 13, 2014 - 13:16:45

Hi, I think the score point is not correct.
I have solved 66% and the score of microcontest is 18613.
18613*0.66=8107 and I have 4859 pts.
Am I wrong?


Yes I think you are.
wechall scoring is not equal. It is set so that the jump from 1% to 2% is worth much less points than the jump from 99% to 100% - Exponential scoring.
This forces users to try harder challenges and complete (or nearly complete) whole sites.
It also means that a user who signs up to 50 sites and gets 10% on each will not be regarded as highly rank as someone with say 3 sites of 100%.
https://www.revolutionelite.co.uk/
Clasificación global: 52
Puntuación total: 259169
Mensajes: 47
Agradecer: 36
Voto positivo: 26
Registrado: 16A 79d
Ávatar de alucardo




Última vez visto: 5A 216d
El usuario está desconectado
RE: Comments on µContest
Google/Traductor0¡Gracias!0Buen mensaje!0Mal mensaje! link
Wechall exponential scoring is a good thing, but only when the site itself isn't already exponentially scoring. A µContest challenge can score from 1 to 20 points based upon number of users who solved it. So if you solved 50% of the challenges but mainly the easy ones, you score only like 12%. Which is fair regarding difficulty, but adding another layer of exponential scoring on wechall is quite a bit drastic.
1 2 3
Eisenheim, tunelko, feicuijade, noother, MetatrOn, quangntenemy, TheHiveMind, Z, balicocat, Ge0, samuraiblanco, arraez, jcquinterov, hophuocthinh, alfamen2, burhanudinn123, Ben_Dover, stephanduran89, braddie0, JanLitwin17, SwolloW, dangarbri, kalungmas se suscribieron a este tema y reciben emails en nuevas publicaciones.
1 personas están viendo el tema ahora mismo.
Este tema ha sido visto 61351 veces.