Basic Injection
30 points Easy

See if you can leak the whole database using what you know about SQL Injections. link

Don't know where to begin? Check out CTFlearn's SQL Injection Lab

Flag
Rating 4.60
5
4
3
2
1

Discussion

cukup membuat mumet... karna mesin pada lab tidak bisa di luncurkan brooooo.....

0

A lot of people overthink it just remember were and not to put the keywords

0

A lot of people overthink it just remember were and not to put the keywords

0

A lot of people overthink it just remember were and not to put the keywords

0

A lot of people overthink it just remember were and not to put the keywords

0

A lot of people overthink it just remember were and not to put the keywords

0
Protected
0

A lot of people overthink it just remember were and not to put the keywords

0

A lot of people overthink it just remember were and not to put the keywords

0

A lot of people overthink it just remember were and not to put the keywords

0

good

0
Protected
0

I use this sql instruction " ' or 1=1;# " if you wanna explain whay i do this just reply.

0

Hi, can you please explain me why you used " ' or 1=1;# "?

0

Hi, can you please explain me why you used " ' or 1=1;# "?

0
Protected
0
Protected
0

since you inject this code in between a certain code , there will be some content after you type your code, the '#' is used to comment the rest of the code that comes after it , so it does not execute causing an error

0
Protected
0
Protected
0

can you please explain it to me

0

can you explain it to me please?

0
Protected
0
Protected
0
Protected
0

I think the # sign is to comment the rest of the query that possibly is written behind. Expect it like so:

SELECT * FROM users WHERE name = 'input' AND name <> 'name of flag'; It would then run into an error tah is catchend and you get nothing. but with the # sign you comment out the name not like part.

0