Join us at IRC!
It is never to LATE to become what you never WERE.
Friday, May 25, 2012
Navigation
Members Online
Total Online: 26
Web Spiders: 15
Guests Online: 25
Members Online: 1

Registered Members: 70208
Newest Member: andresuran
Latest Articles
View Thread

HellBound Hackers | Computer General | Hacking in general

Author

Noob sql injection question

brodie12
Member

Posts: 4
Location:
Joined: 24.06.08
Rank:
Newbie
Posted on 27-06-08 05:52
Ok so this is my first time performing an SQL injection, I found a site that is vulnerable. I did the ORDER BY command to find the number of colums on the page and that came out to be 4. Ok, so then I tried to use the UNION SELECT command to find the names of the tables and i keep receving this error:

Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

[Microsoft][ODBC SQL Server Driver][SQL Server]All queries in an SQL statement containing a UNION operator must have an equal number of expresblockedsions in their target lists.

/industry/industry.asp, line 13

I was wondering if anyone would be able to give me a little help on this one.
-Thanks
Author

RE: Noob sql injection question

DeafCode
Member



Posts: 214
Location:
Joined: 04.05.08
Rank:
Hacker Level 3
Warn Level: 30
Posted on 27-06-08 06:28
im not really good at this but try

UNION SELECT NULL,NULL,NULL,NULL

again im not good at SQL so this could be wrong but there you go



:ninja:
http://2130706433
Author

RE: Noob sql injection question

brodie12
Member

Posts: 4
Location:
Joined: 24.06.08
Rank:
Newbie
Posted on 27-06-08 07:23
Thanks for the help man, it was my mistake i had the wrong number of tables.
Author

RE: Noob sql injection question

DeafCode
Member



Posts: 214
Location:
Joined: 04.05.08
Rank:
Hacker Level 3
Warn Level: 30
Posted on 27-06-08 07:30
did it work??



:ninja:
http://2130706433
Guest
Username

Password

Remember Me


Bookmark This Page
Affiliates
Adverts

 

 

Links
By using, viewing or obtaining any information contained on this site, you agree to the disclaimer.

© HellBound Hackers 2008- 2009. Since 3rd December 2004.