hi all
lets say that i had an input field that was saved to a variable in my php script
<input> = $var
then $var is tested agains $varfromdb in an if statement
if($varfromdb == $var) allow access
and being the mean guy i am i typed somthing into the input field like
1'||'1'='1
could that get me in or worse could i enter somthing like this
1' || 'http://www.mysite.com/meanscript.php
and then run a script on my server.
eric
lets say that i had an input field that was saved to a variable in my php script
<input> = $var
then $var is tested agains $varfromdb in an if statement
if($varfromdb == $var) allow access
and being the mean guy i am i typed somthing into the input field like
1'||'1'='1
could that get me in or worse could i enter somthing like this
1' || 'http://www.mysite.com/meanscript.php
and then run a script on my server.
eric
Comment