Jump to content
MakeWebGames

Important Security Issue For All McCode Owners !


MaKaVeLLi

Recommended Posts

  • Replies 54
  • Created
  • Last Reply

Top Posters In This Topic

Re: Important Security Issue For All McCode Owners !

 

Soooo....... this is fake? lol

 

Sp1d3r

www.chaosrelic.com

It's not fake, and it's pretty well known...

Its easy to fix. It's just securing the user's IP, as $_SERVER var's can be abused.

Use something like this:

 

if (eregi('/[^0-9\\.]/i', $IP)) { echo 'Error - Invalid IP'; exit; }

 

with the IP variable being the actual IP, looking a bit like this:

$IP = (isset($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']);

 

Like all variables that can be altered by a user, they should all be filtered.

Link to comment
Share on other sites

  • 2 weeks later...

Re: Important Security Issue For All McCode Owners !

Ive looked into this issue. The fix posted at the very start solves the issue. As for ones that are not protected. Im no hacker but gee god help the un-protected!!!!! Effects very but needless to say you can add anything to the amount you have. Example would be max money / crystals etc.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...