Sid Gifari From Gifari Industries - BD Cyber Security Team
Home
/
home
/
airmobeuag
/
airmob-digital-wp
/
wp-content
/
mu-plugins
/
✏️
Editing: _secupress_salt_keys_608bebd605047.php
<?php /** * Plugin Name: SecuPress Salt Keys * Description: Good Security Keys for each of your blogs of your network (multisite only), auto-reseting each month. * Version: 2.0 * License: GPLv2 * License URI: http://www.gnu.org/licenses/gpl-2.0.html * * Copyright 2012-2021 SecuPress */ defined( 'ABSPATH' ) or die( 'Something went wrong.' ); define( 'SECUPRESS_SALT_KEYS_MODULE_ACTIVE', true ); if ( ! get_site_option( 'secupress_active_submodule_wp-config-constant-saltkeys' ) ) { return; } global $blog_id; $hash_1 = 'LuF,NiLT3Oo8LEV0<hYW4`wM2:L/!ac9D1NU.O$rrX.Mm3`N :TGtrjv..0ch:!W'; $hash_2 = ']1H9W5u`,#XiA&r-v`WJnWl;r44yNDbLU|:A`p!?gV`l+?zS&h4*+=}~XS{J`](M'; $file_str = __FILE__; $sp_setup = get_option( 'secupress_settings' ); $hash_key = isset( $sp_setup['hash_key'] ) ? $sp_setup['hash_key'] : md5( __FILE__ ); $hash_1 .= $hash_2; $file_str .= $hash_2; $main_keys = [ 'AUTH_KEY', 'SECURE_AUTH_KEY', 'LOGGED_IN_KEY', 'NONCE_KEY', 'AUTH_SALT', 'SECURE_AUTH_SALT', 'LOGGED_IN_SALT', 'NONCE_SALT' ]; foreach ( $main_keys as $main_key ) { if( ! defined( $main_key ) ) { define( $main_key, sha1( 'secupress' . $hash_key . $main_key . md5( $main_key . $file_str ) ) . md5( $hash_key . $main_key . $file_str ) ); } } unset( $file_str, $main_key, $main_keys, $hash_1, $hash_2, $hash_key, $sp_setup );
💾 Save
❌ Cancel