Jump to content
MakeWebGames

Recommended Posts

Posted

Hello there i thourght i would Recode battle tent and secure it so heres what i made

 

You're unable to view this code.

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

Hope fully people will use it :)

+1 me if you wish

Posted

You're unable to view this code.

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

maybe better, this could error i didn't test it but considering all the combined tables * is definitely a bad idea.

also...

You're unable to view this code.

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

come on specify a column atleast i know maybe it doesn't help but it looks better, also the use of `` isn't such a bad idea on tables columns and so forth.

say for example, you have a table which contains a column called asc or desc then it's obvious it would error ie:

[mysql]SELECT desc FROM table[/mysql]

[mysql]UPDATE table SET desc=1[/mysql]

[mysql]DELETE FROM table WHERE desc=1[/mysql]

The above would fail.

[mysql]SELECT `desc` FROM `table`[/mysql]

[mysql]UPDATE `table` SET `desc`=1[/mysql]

[mysql]DELETE FROM `table` WHERE `desc`=1[/mysql]

The above would not fail.

I really do have to ask, what is so insecure about the original Battle Tent.

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