I need some help with a strange code that I found in my database. It looks like somebody was trying to submit a GET request. The code I found is:
/news/html/?0'union/**/select/**/1/**/from/**/(select/**/count(*),concat(floor(rand(0)*2),0x3a,(select/**/concat(user,0x3a,password)/**/from/**/pwn_base_admin/**/limit/**/0,1),0x3a)a/**/from/**/information_schema.tables/**/group/**/by/**/a)b/**/where'1'='1.html/
I understand that they are trying to get some info but what are they trying to get exactly and how to secure my site against such codes?
Thank you very much!