Originally Posted by
Flareboy323
No, in SQL injection you use UNION SELECT statements to try to find the number of columns the website has.
For example,
vulnerablewebsite.com/vulnerable.php?vulnerableURL=UNION SELECT 7--
If there's 7 columns or under, it would return a normal page.
If you do
vulnerablewebsite.com/vulnerable.php?vulnerableURL=UNION SELECT 8--
and there's only 7 columns, there would be a huge MySQL error covering that page, about how it can't read the 8th column.
EDIT: GOD DANG IT, IT WON'T UN-HYPERLINK IT. Gonna remove the www.