php mysql sql injection execute delete -


If there is a query through a php script which is vulnerability like

  Mytable Where id = $ _REQUEST ['id']  

Is there any danger that one can perform a type of table etc. in which SQL vulnerability can be used.

This query is executed using mysql_query (). Multi queries are not allowed.

I think this is a weaker code. What do I know, if someone can remove or sort out I want to know the limit of vulnerability

Definitely if you let the user fill "id" independently.

For example:

$ _ request ['id'] = 123; Remove from Mytable where 1; Select email from Mytable where id = 123; Remove from Mytable where 1;

And if you use multi_query () then another query will be executed.


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -