Follow us on Twitter!
Your life is ending one minute at a time. If you were to die tomorrow, what would you do today?
Sunday, April 20, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 35
Guests Online: 30
Members Online: 5

Registered Members: 82848
Newest Member: aIjundi
Latest Articles
View Thread

HellBound Hackers | Computer General | Hacking in general

Author

Noob sql injection question


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
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 expressions 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:
Apprentice
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


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
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:
Apprentice
Warn Level: 30
Posted on 27-06-08 07:30
did it work??



:ninja:
http://2130706433