Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

binggle's avatar

How can I find images which contain hacking code ?

How can I find images which contain hacking code ?

My server got hacked.

I want to find image which are used by hacker.

How can I find it ?

0 likes
3 replies
Tray2's avatar

I suggest doing a scan with your anti-virus software to see if it flags anything.

bugsysha's avatar
bugsysha
Best Answer
Level 61

You can use exif_read_data function to get the details for the image and see if there is anything wrong there. Usually, it is base64 encoded so just decode it and see what is contained. Basic server configuration should help you preventing running unauthorized eval function. For the browser, there is not much you can do, the users need to update their browsers to have protection against this.

1 like

Please or to participate in this conversation.