Answer the question
In order to leave comments, you need to log in
How to deal with sql injection?
I scanned a Joomla site with Madscan. The logs show something like this:
site.ru/index.php?option=com_content&task=blogcategory&id=60&Itemid=99999+UNION+SELECT+1,concat(0x1e,username,0x3a,password,0x1e,0x3a,usertype,0x1e),3,4,5+FROM+jos_users+where+usertype=0x53757065722041646d696e6973747261746f72--
Answer the question
In order to leave comments, you need to log in
Add a file called .htaccess to the root of the site next to index.php
RewriteEngine on
RewriteRule "(union|select|concat)" "http://google.com/" [NC,R=301,L]
RewriteEngine on
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question