Write an easy cheat for a game using a php vulnerability ==

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    how to Write an easy cheat for a game using a php vulnerability ==

    I use to write a lot cheats for facebook games a few years back - i got very well known on there but have been left a while now and don't really plan on writing on any more as the cheats spoil the games for me big time >.<

    Anyway here is a way of cheating at a lot of games that use php's "=="
    eg:
    PHP Code:
    //Amazing game script by Mr Dev
    if($bonus==10)
    {
         echo 
    'Sorry you have collected 10 of these bonuses today<br/>';
         exit;
    }
    else
    {
           
    //mysql update you have collected a bonus


    It reads that, the script will stop you when you reaches 10 bonuses
    Soooo this looks safe?

    Wrong this is very unsafe - what if i opened 100 of these bonuses all at once?
    == may try to stop 1 or 2 but you will end up with over 10 so therefore == is no longer in place for you to worry about ;)

    This works as it opens 2 or more bonuses at the same time when it hits 9 bonuses - therefore making both update +1 - which make it shoot to 11 or more - which then once over lets you have unlimited bonuses to collect ;)

    Also by opening 100 of the same bonus at the same time can sometimes, enable you to get the bonus a few times depending on how they have scripted it ;)

    Last edited by something else; 24.09.14, 23:04.
Working...
X