Help.. SQL Injection.
Date: June 18, 2011 01:40AM
I have a website : www.site.com/lol/ .
I was looking the code and i saw that lol is the same as lol.php. Then i looked again the code and i saw a code like this :
<form method="post" action="/lol.php">
<div class="buscbackg">
<input id="q" name="q" type="text" class="fields" />
</div>
<input type="image" src="/img/b_ir.jpg" style="width:33px;height:29px;float:right;" />
<div class="clear"></div>
</form>
so i thinked it must be www.site.com/lol.php?q=. I am correct? Because it doesnt work , i put www.site.com/lol.php?q=1 and work , if i put q=1' works again . I made an scann and it says that is vulnerable to SQL Injection on that area.
Help me please