SQL INJection
#7

Are you sure that is the actual problem and not some "hole" in your script? Like not resetting variables or many other different reasons.

1. If you did not hash the passwords (+ adding salt for extra security) is your problem - you shouldn't save passwords as plain text.
2-3. Integers and Floats do not matter, only strings should be escaped.
4. Not sure what exactly you mean.

Other than that, you should restrict the access for the queries for the user you are connecting to SQL. Not allowing DROP and such unless the user is root (you shouldn't connect with root in mysql_connect/db_connect).
Reply


Messages In This Thread
SQL INJection - by Nin9r - 03.06.2016, 22:58
Re: SQL INJection - by SickAttack - 03.06.2016, 23:04
Re: SQL INJection - by Nin9r - 05.06.2016, 09:53
Re: SQL INJection - by Spmn - 05.06.2016, 10:46
Re: SQL INJection - by Konstantinos - 05.06.2016, 10:54
Re: SQL INJection - by Nin9r - 05.06.2016, 11:10
Re: SQL INJection - by Konstantinos - 05.06.2016, 11:19
Re: SQL INJection - by Nin9r - 05.06.2016, 11:22
Re: SQL INJection - by Noris - 05.06.2016, 15:09
Re: SQL INJection - by Nin9r - 05.06.2016, 15:24

Forum Jump:


Users browsing this thread: 1 Guest(s)