|
|
|
|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 152
Members: 0
Total: 152
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
Pb with Cookie |
|
Posted: Sun Apr 06, 2008 6:07 pm |
|
|
Nial |
Advanced user |
|
|
Joined: Feb 29, 2008 |
Posts: 103 |
|
|
|
|
|
|
|
Hi all !
I get some informations with a sql injection. I have the cookie from a member as i get his passwd, but changing this cookie for another account is really annoying.
Here is a sample of the important value :
Code: | autologon=VFJVRT8xPzJkMDQ1NWUzNWRmNTA5Y2EzM2Y5ZTVlN2Y3OWZlNDlmPzIwMDgwNDA2MTkwNzAyPzZhYjRkMmEwMDYyYTk4M2UwMTM2MjA%2FOGYxOTg1MDY1NDU0MTAzODUxMWE1MmYwMzk1ZjNmOTg%3D |
So i decrypt it with base64_decode it goes :
Code: | TRUE?1?2d0455e35df509ca33f9e5e7f79fe49f?20080406190702?6ab4d2a0062a983e0136206á˜ÄäÔÀØÔÐÔÐÄÀÌÔÄÅ„ÔɘÀÌä՘͘ä |
?1? is the user id
2d0455e35df509ca33f9e5e7f79fe49f is the password
20080406190702 is the date yyyy/mm/dd/hh/mm/ss when the cookie was created
6ab4d2a0062a983e0136206 is the user hash. Here is the first pb, my user complete hash is 6ab4d2a0062a983e013620 The last 20 isnt show maybe because of the %2F after it in the autologon
I couldnt get it work despite the fact i have all the information required.
For example:
id : 10
passwd : f1b34b6a1173918e37eb1bc828fb2f6b
cookie date : 20080305134116
user hash : 6a62de1de874bb31eb6a2c
I take the first part of the base64encode (before the %2F) and put here my account information.
So my finally autologon cookie should be :
Code: |
autologon=VFJVRT8xMD9mMWIzNGI2YTExNzM5MThlMzdlYjFiYzgyOGZiMmY2Yj8yMDA4MDMwNTEzNDExNj82
YTYyZGUxZGU4NzRiYjMxZWI2YTJj%2FOGYxOTg1MDY1NDU0MTAzODUxMWE1MmYwMzk1ZjNmOTg%3D |
But it doesnt work. I dont know what to do. If someone has some ideas it would be great |
|
|
|
|
|
www.waraxe.us Forum Index -> General discussion
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT
Page 1 of 1
|
|
|
Powered by phpBB 2001-2008 phpBB Group
|
|
|
|
|
|
|