By sm ehsan
Hello, I am working on a hacked wordpress site. and i have seen many malicious content inside. i have deleted most of those files except one. i can not delete that root file index.php or even can not edit that. can not change the file permission too. changing file permission, bring back the previous permission.
what should i do?
Thank you
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
@bobbyiliev Thank you. We didn’t get any error any time so it might be recreated after it is deleted. The .htaccess file can be deleted but is being recreated as a hidden file within 3 or 4 seconds.
This comment has been deleted
@bobbyiliev the .htaccess file now been deleted but the index.php is still there. and again the .htaccess come with the following rules.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
RewriteRule ^(.*)\/(benzylpenicillin)\/([0-9]+)_([0-9]+)\/(.*)$ ?benzylpenicillin$4=$3&%{QUERY_STRING}[L]
</IfModule>
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.