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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

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

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

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.