Catching SQL Injection and other Malicious Web Requests

后端 未结 8 1291
灰色年华
灰色年华 2020-12-18 18:18

I am looking for a tool that can detect malicious requests (such as obvious SQL injection gets or posts) and will immediately ban the IP address of the requester/add to a bl

8条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-18 18:40

    One of my sites was recently hacked through SQL Injection. It added a link to a virus for every text field in the db! The fix was to add some code looking for SQL keywords. Fortunately, I've developed in ColdFiusion, so the code sits in my Application.cfm file which is run at the beginning of every webpage & it looks at all the URL variables. Wikipedia has some good links to help too.

提交回复
热议问题