How to fix Server Status Code: 302 Found by SQL Inject Me Firefox Addon

后端 未结 4 1025
花落未央
花落未央 2020-12-10 07:44

I scanned my login script using SQL Inject Me Firefox addon

According to the Test Results, my script was vulnerable to SQL Injection. Result by example



        
4条回答
  •  一整个雨季
    2020-12-10 08:10

    302 is the server's way of saying "I want you to go to [somewhere else]" (in this case login.php). It is not an error but a perfectly normal response. Especially in your case it makes much more sense (if you ask me) to send the user to a login page after a SQL injection attempt than to let him in.

提交回复
热议问题