Where are you trying to inject that code too? have a look at this thread, quite a few clues have been posted :D
I would love to change the world, but they won’t give me the source code.
First line of error means that it has 2 columns.
Why do we have to know this? Because when we want to get information from the database we use:
q=a' union all select 1,2– this way we can select the columns in the database.
Now when you do this, you’ll get ‘1’ as a response which means that column 1 is vulnerable.
You have to learn how to exploit MSQL servers in order to complete this level, here is a great article of damage:
http://www.hackthis.co.uk/articles/about-sql-injections-with-ms-sql-server
just a 13 year old kid.
11 years ago
0
All you guys that are having problems solving this level, there is like fallenonehf said a good article by daMage here: daMage’s article
There is also a website I had a look at too and I learned quite a bit from it too.
It is here: It is called SQL Injection Cheat Sheet. Worth a read.
Another good source to learn UNION is from here: w3schools
11 years ago
0
Keep it up mate and you will crack it and feel better for it because you did it yourself. :)
some one help me i enter this URL
http://www.hackthis.co.uk/levels/s2.php?browse&q=a%27%20union%20all%20select%201,2--
and i got “1” i know that means theirs one vulnerable. column but i don’t know where to go from there???
14 Year Old WhiT3 HaT HAcK3R LoV3 LiF3!!