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

Started on the old forum in September 2014 · view the original in the archive · old links redirect here

No replies · 66 views · started 12 years ago · 1 min read

something else Fellow · 2,296 posts #1

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:

//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 😉

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close