![]() |
Asked this b4 I think... adopt hole
If you use the URL http://taleofdragons.net/adopt.php?id=# and replace # with certain (low) numbers, you can adopt different dragons
I could never figure out how to prevent this :( Help please... |
umm this problem still exists in Mys v1.3.x? Thought it was already fixed back in Mys v1.2.2, are you sure you are not using a heavily modified version of the script?
If you have this problem, you may fix this by adding a specific session variable to the doadopt page, or a hidden field value to the adoption form. This acts like a checkpoint to see if the user can adopt a certain pet. |
It's still an issue. All someone would have to do to avoid this line (in adopt.php):
Code:
$_SESSION["allow"] = 1; |
I see, so this is how they manage to get away from the session check... Looks like adoption session has to be redesigned, I will do it in a bit.
|
Thanks Hof! It's pretty important for people not to be able to exploit this on my site and several members have already brought it to my attention that they know how to do so.
|
Well add this at the beginning of the script:(below the 'START SCRIPT' section):
PHP Code:
|
Quote:
This has pretty much the same problem, only now the user has to add &Submit= to it, like /doadopt.php?id=1&Submit=. |
I see, this is getting more and more series. How about changing the form method from GET to POST?
|
Perhaps have a look at http://www.mysidiaadoptables.com/for...read.php?t=504 and see if any of that will help...
I'm planning on going back to a system like that once I get CH ready to launch. |
Quote:
Quote:
|
All times are GMT -5. The time now is 11:44 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.