Jump to content

SQL Inject Me


Stooney

Recommended Posts

Referring to the firefox add-on.  I'm new to it and don't quite understand the results.  I'm testing a login form who's input only goes through mysql_real_escape_string.  I thought that was enough to be safe.  SQL Inject Me is giving some results like so:

 

Server Status Code: 302 Found
Tested value: &#49&#39&#32&#79&#82&#32&#39&#49&#39&#61&#39&#49

 

What exactly is the 302 error and what else do I need to aside from mysql_real_escape_string?

Link to comment
https://forums.phpfreaks.com/topic/131309-sql-inject-me/
Share on other sites

Upon clicking 'login' (which is located on index.php) the form is submitted to my login controller (http://site.com/login) which is where everything is processed and the user is either logged in or not.  After all that there's a header("Location:  ."site_url); site_url being 'http://site.com/'.

 

So in short, they click login, it's processed and they're redirected back to index.php.  (or technically the index controller in this case)

Link to comment
https://forums.phpfreaks.com/topic/131309-sql-inject-me/#findComment-682254
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.