[ad_1]
Da haben wir ja den Übeltäter. Das was mit urldecode() in der zweiten Zeile anfängt ist Malware. Lösch die Datei mal komplett und lad eine neue index.php mit folgendem Inhalt hoch:
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define( 'WP_USE_THEMES', true );
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
Thread-Starter
mauk21
(@mauk21)
probiere ich gleich mal aus, danke vorerst für die Mühe !
Schau auch mal nach, ob die Datei wp-admin/index.php einen ähnlichen Code hat. Den Dateiinhalt findest du hier:
@pixolin
Nachdem das Problem gelöst ist, wäre es vielleicht nicht schlecht, wenn du die Malware aus dem Posting entfernst. Man muss so was ja nicht auch noch öffentlich verteilen. 😉
Ja stimmt. Du kannst den Code zwar mit drei Sekunden Google-Recherche an anderen Stellen im Web finden, aber ich habe ihn jetzt mal ein wenig gekürzt.
