My php site was hacked by codes uploaded as image..?

前端 未结 4 437
情歌与酒
情歌与酒 2020-12-25 09:14

Yesterday my site was comprised. The attacker changes the index.php file to their own (with all their glory messages and greet). I\'ve notified the hosting company about thi

4条回答
  •  清歌不尽
    2020-12-25 09:30

    JPEG files can contain arbitrary data in them in addition to the actual image data; it's part of the spec. Thus, merely checking if an image is a valid JPEG does not mean that the file is necessarily completely harmless.

提交回复
热议问题