Basic 8 Help
OK i know now that i need to use the comment part of the source code that i found so that it reads index.php?sql_*****= instead of what i was using initially… index.php?password= but it is still not working. The sql code i am using is REMOVED BECAUSE OF SPOILER. I am however still confused as to where to inject the code. I believe I need to inject it into the address bar, but this does not seem to be working.
I have also tried making my sql code more broad by using * in more places, leaving the WHERE field out and a few other things but this also did not work. Any tips to get me going from here would be appreciated.
Neoquesty wrote: this is the code im using. but its doesnt work. any help? secure-area.php?action=SELECT*FROMPersonsWHEREFirstName='Drake'
well the main idea is the following:
– First of all: what makes you think 'action' can be a $_GET variable from the second php ??? – Send of all: think, dud, open a mysql session and try to type that down … how many errors would you get ??? - the mysql 'command' if i may say that - must actually work …. – What makes you think 'FirstName' it's a mysql row from the specified table !?!?!? – Anyhow, keep the syntax verry clean - and "SHORT" - verry short ……….. (i'd include a condition - i'd really do it - but it seems here it's as short as posible) – check out the original error query letters … and remember: SELECT != select
cya