drooh
drooh

Reputation: 678

Site hacked but file dates remain unchanged?

So my index.php file was hacked and simply overwritten with a string of text. When I went to look at the files I noticed the date modified remained unchanged. I did not think this was possible?? Any ideas?

Upvotes: 0

Views: 109

Answers (1)

ceejayoz
ceejayoz

Reputation: 180065

PHP's native touch() function's second argument is the timestamp to set the file to. It's trivially faked.

Upvotes: 4

Related Questions