i always get confused on the "order by 1--" bit, where do i type it in and stuff?
Detailed Basic and Full SQL Injection Tutorial |
(Dec 25, 2010 03:14 PM)stubz Wrote: i always get confused on the "order by 1--" bit, where do i type it in and stuff? you type it in page url, where you type: www.google.pl :D so: site.pl/index.php?id=10 order by 1-- :) and i have question, why you didn't post a typical errors of sql injection like: Code Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,SYSCONST) for operation 'UNION' ( for: article.php?id=139 union all select 1,2,@@version,4,5,6,7,8,9--)Code The used SELECT statements have a different number of columns [i correctly ordered site...]Code You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by 5-- or peoplelink2 = 40 order by 5-- or peoplelink3 = 40 order by 5' at line 1any help? (Jan 3, 2011 06:52 AM)SIM-209986 Wrote: What if I get 403 Error at this point: means that sql is pretty much fucked on that site
http://www.lcoastpress.com/journal.php?id=7 union all select 1,2,3,4,5,6,7,8,9--
This gives me "The used SELECT statements have a different number of columns". what am i supposed to do next? Cant find any column no which is vulnerable.
NOTE not all sites are vulnerable. ! So what we do with sites which are non vulnerable on SQL Injection??
СИНИ ЈАРКО СУНЦЕ СА КОСОВА --- КО ТО КАЖЕ СРБИЈА ЈЕ МАЛА --- ТАМО ДАЛЕКО--Не може у Србију тек тако да се упадне |
|
|



![[Image: wFrJon7.png]](https://i.imgur.com/wFrJon7.png)