最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

apache - malware affecting backend of wordpress website-could be .htaccess file

programmeradmin4浏览0评论

Hi not so good on PHP language .. wondering if you would mind explaining the function of this .htaccess file ..

<FilesMatch '.(py|exe|phtml|php|PHP|Php|PHp|pHp|pHP|phP|PhP|php5|PHP5|Php5|PHp5|pHp5|pHP5|phP5|PhP5php7|PHP7|Php7|PHp7|pHp7|pHP7|phP7|PhP7|php8|PHP8|Php8|PHp8|pHp8|pHP8|phP8|PhP8|suspected)$'> Order allow,deny Deny from all

Its location is in the root folder of the public html folder. Thanks

I havent tried anything other than if I can identify it as malware then I will delete it.

Thanks a million :)

Hi not so good on PHP language .. wondering if you would mind explaining the function of this .htaccess file ..

<FilesMatch '.(py|exe|phtml|php|PHP|Php|PHp|pHp|pHP|phP|PhP|php5|PHP5|Php5|PHp5|pHp5|pHP5|phP5|PhP5php7|PHP7|Php7|PHp7|pHp7|pHP7|phP7|PhP7|php8|PHP8|Php8|PHp8|pHp8|pHP8|phP8|PhP8|suspected)$'> Order allow,deny Deny from all

Its location is in the root folder of the public html folder. Thanks

I havent tried anything other than if I can identify it as malware then I will delete it.

Thanks a million :)

Share Improve this question edited Apr 7 at 12:51 Jorge Luiz 1033 bronze badges asked Apr 6 at 0:56 Amanda McInerneyAmanda McInerney 1 New contributor Amanda McInerney is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
Add a comment  | 

1 Answer 1

Reset to default 2

That directive blocks access to any Python, PHP or exe files.

If your site has been compromised, delete the whole thing and restore it from a known good backup. There are thousands of files, and going through them all trying to detect tampering by someone better with the language than you simply isn't feasible.

发布评论

评论列表(0)

  1. 暂无评论