Jump to content
MakeWebGames

Heads up on login page


Konsigliare

Recommended Posts

Upon opening login.php you will notice a line:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

This updates the users IP address to the one used to login, however, if for example their password is 'qwerty' or something similar and surprisingly common, this will set the ip to the users ip on all accounts with the password 'qwerty'.

A simple fix is to change it to:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

The $worked array, or whatever it is, is already declared a few lines above that and identifies the user by the username they entered.

I'm not sure how much sense that all makes sense, but I'm very tierd so yeah

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...