Welcome to HBH! If you had an account on hellboundhacker.org you will need to reset your password using the Lost Password system before you will be able to login.

Basic 8


ghost's Avatar
0 0

I've been working on this one for a while now, read all of the articles written about it. I guess I should cover what I already know. This sql injection is done by returning a key-value through the url in the secure area. I guess I'm just a noob to the sytax but I've been trying to teach myself via online articles and they're mostly about writing the webpages, not returning key-values from the DB through the url. Anyhow here is the most recent thing I've tried.

secure-area.php?sql_query(username = 'Drake' & password=@password)

Any help at all would be appreciated.

~panda


ghost's Avatar
0 0

so does sql_query = get?

and how close is secure-area.php?get Username = Drake ?


Arabian's Avatar
Member
0 0

bluntrllnpanda wrote: so does sql_query = get?

and how close is secure-area.php?get Username = Drake ?

Close, but think in terms of literal SQL queries. Obviously your answer is going to be php?sql_query=XXXXXXX

think SELECT * FROM etc.

Use an actual query to solve the problem.


ghost's Avatar
0 0

Arabian wrote: Obviously your answer is going to be php?sql_query=XXXXXXX

think SELECT * FROM etc.

Use an actual query to solve the problem. Spoiler?

btw… quick question. Why wont it work with lower-case? I thought capitalization really didn't matter.


Mtutnid's Avatar
Member
0 0

HacKid wrote: [quote]Arabian wrote: Obviously your answer is going to be php?sql_query=XXXXXXX

think SELECT * FROM etc.

Use an actual query to solve the problem. Spoiler?

btw… quick question. Why wont it work with lower-case? I thought capitalization really didn't matter.[/quote]

I think it is because this challenge is a simulation of an sql injection and they didn't bother to test for upper and lower case.


ghost's Avatar
0 0

Thank you guys so much!! I've spent so many hours on this thing and I just got it. I tried sql queries using select many times with no luck just missed a crucial step. Thanks again!!