PHP script: malicious JavaScript code at the end

前端 未结 10 2050
闹比i
闹比i 2021-02-01 20:04

The problem:

On my webspace there are PHP files which all end with this:


Before

10条回答
  •  悲哀的现实
    2021-02-01 20:49

    As others have suggested, the vulnerability is most likely in some script you are using, maybe something you've written yourself or then a well known application that has known vulnerabilities. This might be a vulnerability in an upload script, but I want to point out that it is also possible to "upload" files through SQL injection, see the following thread for more details

提交回复
热议问题