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

ok, i made the error so i know the table names… but my injection doesn't work

this is it:

SELECT password FROM family_db WHERE username='Drake'


ghost's Avatar
0 0

Try making your injection simpler, more broad.


ghost's Avatar
0 0

ok this is what i've got:

sql_query= SELECT * FROM family_db WHERE username='Drake'

its still not working


ghost's Avatar
0 0

OK, what you have, in my opinion should work (I've PMed Grind about it), but if you make it less specific of a query, it'll work. Lemme know if you need more help


ghost's Avatar
0 0

yeah, i've done the same thing


ghost's Avatar
0 0

I'm not sure how you would be able to make it less specific a query. Everything seems to be needed, but then again, i wasn't able to complete this level, so some of it probably isn't needed.


ghost's Avatar
0 0

hint: make it as general as possible


ghost's Avatar
0 0

Found at how to REALLY do it


ghost's Avatar
0 0

I know that in SQL is missin ' so I can add a variable to sql (probably AND Username='Drake'), but what can I do with password= The variable can't be set to anything because for this LIKE is needed. Any hit?


ghost's Avatar
0 0

Hmm…well, the best hint i can give is, when you make a query, look at the source for hidden tags. Then, think about what that could mean. Not all injections have to be done through forms and text boxes.

If you have other questions and know what i'm talking about, don't give it away, just say you're query problems.


ghost's Avatar
0 0

I cant inject it in the address bar and im using SELECT * FROM family_db WHERE Username='Drake' then im stuck anyhelp?


ghost's Avatar
0 0

you can inject SQL at addressbar if you have a bug infont of it, read sourcecode


ghost's Avatar
0 0

with the sql injection in the address bar can you have spaces in it. because i always though there could be none.