Nome Utente: 
Password : 
Restringi sessione all'IP 
Online in 1gg

Challenge: The Cookie is a lie  Vai alla sfida "The Cookie is a lie"

1 2
Posizione globale: 184
Punteggio totale: 115121
Posts : 166
Grazie: 164
Voti+: 121
Registrato: 18a 251gg
Avatar di Z



Ultima visita: 170gg 22ore
L'utente è Offline
Challenge: The Cookie is a lie
Google/traduci3Grazie!1Bel post!1Brutto post! Link
First of all I'm happy to anounce my new chall.

To make a clean breast for this challenge:

The Portal theme is not important, I only played with this game recently, found cool and was a good theme for this chall. This challenge is an offline challenge. This means you need a working apache + mysql + php environment to solve this challenge. It is because we can't guarantee the site security as far as this challenge is online on wechall, but the good news are that it is not "another fake simulated SQL injection challenge".
The checking of the solutions is offline as well. I hate it, but can't do any application which could check every solution properly. If anyone has any idea for an online solution checker, let me know Smile

If you have no apache + mysql + php environment, I suggest to use xampp on Windows and Linux, and mamp on Mac. After downloading them you can setup a working environment in minutes. But solving the challenge needs some more time.

First you have to setup an admin password for mysql, then login to it with
> mysql -u root -p
after that create a user with:
> create user 'www-user'@'localhost' identified by 'cube';
and create a database with
> create database test;
change database:
> use test;
create table:
> create table experience (id int, filename varchar(500));
and insert a row into it (it is not necessary, but some solutions need it):
> insert into experience values(1,'test');
> commit;
grant privileges:
> grant select on test.* to 'www-user'@'localhost';

Put experience.php_txt under htdocs directory, rename to experience.php, start the apache web server and you can access the experience.php via the webserver like
http://127.0.0.1/experience.php
Now you can test on your own environment. For testing the cookie stealing, you have to create some cookie for the challenge - it should not be hard.

Good luck and don't forget to block every incoming connection to your whole test environment, except localhost Smile


Update: mysql_connect was removed in PHP 7.0.0, please use older version of PHP or refactor the scripts to use mysqli_* functions.
Ultima modifica: Z - 27 Mag 2018 - 13:17:27
Posizione globale: 184
Punteggio totale: 115121
Posts : 166
Grazie: 164
Voti+: 121
Registrato: 18a 251gg
Avatar di Z



Ultima visita: 170gg 22ore
L'utente è Offline
Challenge: The Cookie is a lie
Google/traduci2Grazie!1Bel post!1Brutto post! Link
A small modification was needed in the experience.php
Sorry for the inconvenience.
Ultima modifica: Z - 20 Set 2008 - 18:09:36
Posizione globale: 198
Punteggio totale: 110647
Posts : 1795
Grazie: 1390
Voti+: 961
Registrato: 18a 259gg




Ultima visita: 65gg 21ore
L'utente è Offline
Challenge: The Cookie is a lie
Google/traduci1Grazie!1Bel post!1Brutto post! Link
For those who are lazy, here is the link to the new challenge:
The Cookie is a lie

I hope you will like it, and have fun exploiting it.

Happy Challenging
Gizmore
The geeks shall inherit the properties and methods of object earth.
Ultima modifica: gizmore - 30 Ott 2011 - 19:32:55
Posizione globale: 198
Punteggio totale: 110647
Posts : 1795
Grazie: 1390
Voti+: 961
Registrato: 18a 259gg




Ultima visita: 65gg 21ore
L'utente è Offline
RE: Challenge: The Cookie is a lie
Google/traduci0Grazie!0Bel post!0Brutto post! Link
*BUMP*

We have a bug here for deleted posts?
The geeks shall inherit the properties and methods of object earth.
Posizione globale: 2
Punteggio totale: 747640
Posts : 441
Grazie: 501
Voti+: 478
Registrato: 17a 98gg












L'utente è Offline
RE: Challenge: The Cookie is a lie
Google/traduci1Grazie!1Bel post!0Brutto post! Link
Don't think so? You might have been confused because Z edited his post above (probably with "mark as new"). I was, at least. :)
Posizione globale: 855
Punteggio totale: 31422
Posts : 74
Grazie: 39
Voti+: 50
Registrato: 8a 271gg
Ultima visita: 5a 135gg
L'utente è Offline
RE: Challenge: The Cookie is a lie
Google/traduci1Grazie!1Bel post!0Brutto post! Link
Hi All,
I sent a PM to GlaDOS (Z) a few days ago and have not gotten a response. Looks like Z has been inactive since February 2019.
Is there an alternative PM to use when Z is out on holiday/vacation or whatever?
Posizione globale: 198
Punteggio totale: 110647
Posts : 1795
Grazie: 1390
Voti+: 961
Registrato: 18a 259gg




Ultima visita: 65gg 21ore
L'utente è Offline
RE: Challenge: The Cookie is a lie
Google/traduci0Grazie!0Bel post!0Brutto post! Link
spaceone was working on an automated solution.
The state of this is not well known to me, but i guess we will enhance the challenge experience prior to think of removal.
The geeks shall inherit the properties and methods of object earth.
Posizione globale: 374
Punteggio totale: 66437
Posts : 274
Grazie: 258
Voti+: 278
Registrato: 15a 321gg
Avatar di space
L'utente è Offline
RE: Challenge: The Cookie is a lie
Google/traduci1Grazie!1Bel post!0Brutto post! Link
Jeah, I have a script which automatically checks the solution. It works for the most obvious ways.
We could activate it either or add this script to the admin panel so that it is easier to check the solution. I am open for both.

If Z doesn't respond you can send me also a PM/email Smile
Contact only via c3BhY2VAd2VjaGFsbC5uZXQ= or PM...
Windows can be secure... but only if you don't use it Happy
Posizione globale: 880
Punteggio totale: 30864
Posts : 48
Grazie: 40
Voti+: 43
Registrato: 12a 139gg
Avatar di Ketza
L'utente è Offline
RE: Challenge: The Cookie is a lie
Google/traduci0Grazie!0Bel post!0Brutto post! Link
Hello ! Smile
Neither Z nor Space answered my PM I sent one month ago;
Is there someone else whom I can PM with my solution ?
Ultima modifica: Ketza - 12 Ago 2024 - 00:26:47
Posizione globale: 198
Punteggio totale: 110647
Posts : 1795
Grazie: 1390
Voti+: 961
Registrato: 18a 259gg




Ultima visita: 65gg 21ore
L'utente è Offline
RE: Challenge: The Cookie is a lie
Google/traduci1Grazie!1Bel post!0Brutto post! Link
You can DirectPrivageMessage me.
But i am invulnerable to social engineering.
The geeks shall inherit the properties and methods of object earth.
1 2
Redknee, ckclark, SthwrongA, silenttrack, n0tHappy, nonfungiblesecurity, quangntenemy, TheHiveMind, Z, balicocat, Ge0, arraez, jcquinterov, hophuocthinh, alfamen2, burhanudinn123, Ben_Dover, stephanduran89, braddie0, fpombal, csuquvq utenti hanno sottoscritto il thread e ricevo le E-Mail di notifica.
1 persone stanno visualizzando il thread.
Questo thread è stato visualizzato 27387 volte.

PHP Fatal Error(1): Constant E_STRICT is deprecated since 8.4, the error level was removed in www/protected/config.php line 6


Backtrace starts in [unknown file] line ?. GWF_Debug::shutdown_function() core/inc/util/GWF_Debug.php line 109. GWF_Debug::error_handler().... core/inc/util/GWF_Debug.php line 180.