Martin Paul Eve bio photo

Martin Paul Eve

Professor of Literature, Technology and Publishing at Birkbeck, University of London

Email Books Twitter Github Stackoverflow MLA CORE Institutional Repo ORCID ID  ORCID iD Wikipedia Pictures for Re-Use

Sigh. More hacking attempts and seems someone did manage to inject a php eval attack into one of my Wordpress installs.

It’s not a silver bullet magic fix, because the database and filesystems can also be compromised, but for those who’d like a quick shell command to clean this type of attack from the PHP files, at least:

find ./ -name '*.php' -type f -exec sed -i -e '/php eval/ { d; }' {} \;