Google Authenticator – WordPress Two Factor Authentication (2FA) - Version 5.3.4

Version Description

  • Google Authenticator-Two Factor Authentication (2FA) : CSS fix for Malware Scanner, Security and firewall.
Download this release

Release Info

Developer cyberlord92
Plugin Icon 128x128 Google Authenticator – WordPress Two Factor Authentication (2FA)
Version 5.3.4
Comparing to
See all releases

Code changes from version 5.3.3 to 5.3.4

controllers/ip-blocking.php CHANGED
@@ -22,7 +22,7 @@
22
  $whitelisted_ips = $mo_wpns_handler->get_whitelisted_ips();
23
  $img_loader_url = plugins_url('wp-security-pro/includes/images/loader.gif');
24
  $page_url = "";
25
- $license_url = add_query_arg( array('page' => 'upgrade'), $_SERVER['REQUEST_URI'] );
26
 
27
  //include $dirName . 'views/ip-blocking.php';
28
 
22
  $whitelisted_ips = $mo_wpns_handler->get_whitelisted_ips();
23
  $img_loader_url = plugins_url('wp-security-pro/includes/images/loader.gif');
24
  $page_url = "";
25
+ $license_url = add_query_arg( array('page' => 'mo_2fa_upgrade'), $_SERVER['REQUEST_URI'] );
26
 
27
  //include $dirName . 'views/ip-blocking.php';
28
 
controllers/main_controller.php CHANGED
@@ -12,35 +12,35 @@
12
  {
13
  switch($_GET['page'])
14
  {
15
- case 'dashboard':
16
- include $controller . 'dashboard.php'; break;
17
- case 'login_and_spam':
18
  include $controller . 'login-spam.php'; break;
19
  case 'default':
20
  include $controller . 'login-security.php'; break;
21
- case 'wpnsaccount':
22
  include $controller . 'account.php'; break;
23
- case 'backup':
24
  include $controller . 'backup.php'; break;
25
- case 'upgrade':
26
  include $controller . 'upgrade.php'; break;
27
- case 'waf':
28
  include $controller . 'waf.php'; break;
29
- case 'blockedips':
30
  include $controller . 'ip-blocking.php'; break;
31
- case 'advancedblocking':
32
  include $controller . 'advanced-blocking.php'; break;
33
- case 'notifications':
34
  include $controller . 'notification-settings.php'; break;
35
- case 'reports':
36
  include $controller . 'reports.php'; break;
37
- case 'licencing':
38
  include $controller . 'licensing.php'; break;
39
- case 'troubleshooting':
40
  include $controller . 'troubleshooting.php'; break;
41
- case 'malwarescan':
42
  include $controller . 'scan_malware.php'; break;
43
- case 'two_fa':
44
  include $controller . 'two_fa.php'; break;
45
  }
46
  }
12
  {
13
  switch($_GET['page'])
14
  {
15
+ case 'mo_2fa_dashboard':
16
+ include $controller . 'dashboard.php'; break;
17
+ case 'mo_2fa_login_and_spam':
18
  include $controller . 'login-spam.php'; break;
19
  case 'default':
20
  include $controller . 'login-security.php'; break;
21
+ case 'mo_2fa_account':
22
  include $controller . 'account.php'; break;
23
+ case 'mo_2fa_backup':
24
  include $controller . 'backup.php'; break;
25
+ case 'mo_2fa_upgrade':
26
  include $controller . 'upgrade.php'; break;
27
+ case 'mo_2fa_waf':
28
  include $controller . 'waf.php'; break;
29
+ case 'mo_2fa_blockedips':
30
  include $controller . 'ip-blocking.php'; break;
31
+ case 'mo_2fa_advancedblocking':
32
  include $controller . 'advanced-blocking.php'; break;
33
+ case 'mo_2fa_notifications':
34
  include $controller . 'notification-settings.php'; break;
35
+ case 'mo_2fa_reports':
36
  include $controller . 'reports.php'; break;
37
+ case 'mo_2fa_licensing':
38
  include $controller . 'licensing.php'; break;
39
+ case 'mo_2fa_troubleshooting':
40
  include $controller . 'troubleshooting.php'; break;
41
+ case 'mo_2fa_malwarescan':
42
  include $controller . 'scan_malware.php'; break;
43
+ case 'mo_2fa_two_fa':
44
  include $controller . 'two_fa.php'; break;
45
  }
46
  }
controllers/malware_scan_result.php CHANGED
@@ -23,7 +23,7 @@ function showScanResults(){
23
  }
24
  else{
25
  $str1= $_SERVER['REQUEST_URI'];
26
- $str1= str_replace("admin-ajax.php", "admin.php?page=malwarescan", $str1);
27
  $currenturl = remove_query_arg('delete',$str1);
28
  $currenturl = remove_query_arg('view',$currenturl);
29
  $currenturl = remove_query_arg('trust',$currenturl);
23
  }
24
  else{
25
  $str1= $_SERVER['REQUEST_URI'];
26
+ $str1= str_replace("admin-ajax.php", "admin.php?page=mo_2fa_malwarescan", $str1);
27
  $currenturl = remove_query_arg('delete',$str1);
28
  $currenturl = remove_query_arg('view',$currenturl);
29
  $currenturl = remove_query_arg('trust',$currenturl);
controllers/navbar.php CHANGED
@@ -3,24 +3,24 @@
3
  global $moWpnsUtility,$dirName;
4
 
5
 
6
- $profile_url = add_query_arg( array('page' => 'wpnsaccount' ), $_SERVER['REQUEST_URI'] );
7
  $login_security = add_query_arg( array('page' => 'default' ), $_SERVER['REQUEST_URI'] );
8
- $waf = add_query_arg( array('page' => 'waf' ), $_SERVER['REQUEST_URI'] );
9
- $login_and_spam = add_query_arg( array('page' => 'login_and_spam' ), $_SERVER['REQUEST_URI'] );
10
  $register_url = add_query_arg( array('page' => 'registration' ), $_SERVER['REQUEST_URI'] );
11
- $blocked_ips = add_query_arg( array('page' => 'blockedips' ), $_SERVER['REQUEST_URI'] );
12
- $advance_block = add_query_arg( array('page' => 'advancedblocking' ), $_SERVER['REQUEST_URI'] );
13
- $notif_url = add_query_arg( array('page' => 'notifications' ), $_SERVER['REQUEST_URI'] );
14
- $reports_url = add_query_arg( array('page' => 'reports' ), $_SERVER['REQUEST_URI'] );
15
- $license_url = add_query_arg( array('page' => 'upgrade' ), $_SERVER['REQUEST_URI'] );
16
- $help_url = add_query_arg( array('page' => 'troubleshooting' ), $_SERVER['REQUEST_URI'] );
17
  $content_protect= add_query_arg( array('page' => 'content_protect' ), $_SERVER['REQUEST_URI'] );
18
- $backup = add_query_arg( array('page' => 'backup' ), $_SERVER['REQUEST_URI'] );
19
- $scan_url = add_query_arg( array('page' => 'malwarescan' ), $_SERVER['REQUEST_URI'] );
20
- $two_fa = add_query_arg( array('page' => 'two_fa' ), $_SERVER['REQUEST_URI'] );
21
  //Added for new design
22
- $dashboard_url = add_query_arg(array('page' => 'dashboard' ), $_SERVER['REQUEST_URI']);
23
- $upgrade_url = add_query_arg(array('page' => 'upgrade' ), $_SERVER['REQUEST_URI']);
24
  //dynamic
25
  $logo_url = plugin_dir_url(dirname(__FILE__)) . 'includes/images/miniorange_logo.png';
26
  // $logo_url = plugin_dir_url($dirName) . 'wp-security-pro/includes/images/miniorange_logo.png';
3
  global $moWpnsUtility,$dirName;
4
 
5
 
6
+ $profile_url = add_query_arg( array('page' => 'mo_2fa_account' ), $_SERVER['REQUEST_URI'] );
7
  $login_security = add_query_arg( array('page' => 'default' ), $_SERVER['REQUEST_URI'] );
8
+ $waf = add_query_arg( array('page' => 'mo_2fa_waf' ), $_SERVER['REQUEST_URI'] );
9
+ $login_and_spam = add_query_arg( array('page' => 'mo_2fa_login_and_spam' ), $_SERVER['REQUEST_URI'] );
10
  $register_url = add_query_arg( array('page' => 'registration' ), $_SERVER['REQUEST_URI'] );
11
+ $blocked_ips = add_query_arg( array('page' => 'mo_2fa_blockedips' ), $_SERVER['REQUEST_URI'] );
12
+ $advance_block = add_query_arg( array('page' => 'mo_2fa_advancedblocking' ), $_SERVER['REQUEST_URI'] );
13
+ $notif_url = add_query_arg( array('page' => 'mo_2fa_notifications' ), $_SERVER['REQUEST_URI'] );
14
+ $reports_url = add_query_arg( array('page' => 'mo_2fa_reports' ), $_SERVER['REQUEST_URI'] );
15
+ $license_url = add_query_arg( array('page' => 'mo_2fa_upgrade' ), $_SERVER['REQUEST_URI'] );
16
+ $help_url = add_query_arg( array('page' => 'mo_2fa_troubleshooting' ), $_SERVER['REQUEST_URI'] );
17
  $content_protect= add_query_arg( array('page' => 'content_protect' ), $_SERVER['REQUEST_URI'] );
18
+ $backup = add_query_arg( array('page' => 'mo_2fa_backup' ), $_SERVER['REQUEST_URI'] );
19
+ $scan_url = add_query_arg( array('page' => 'mo_2fa_malwarescan' ), $_SERVER['REQUEST_URI'] );
20
+ $two_fa = add_query_arg( array('page' => 'mo_2fa_two_fa' ), $_SERVER['REQUEST_URI'] );
21
  //Added for new design
22
+ $dashboard_url = add_query_arg(array('page' => 'mo_2fa_dashboard' ), $_SERVER['REQUEST_URI']);
23
+ $upgrade_url = add_query_arg(array('page' => 'mo_2fa_upgrade' ), $_SERVER['REQUEST_URI']);
24
  //dynamic
25
  $logo_url = plugin_dir_url(dirname(__FILE__)) . 'includes/images/miniorange_logo.png';
26
  // $logo_url = plugin_dir_url($dirName) . 'wp-security-pro/includes/images/miniorange_logo.png';
handler/setup_twofa.php CHANGED
@@ -192,7 +192,7 @@
192
  $form .= '</table>';
193
  if( $category!="free_plan")
194
  $form .= '<div style="background-color: #f1f1f1;padding:10px">
195
- <p style="font-size:16px;margin-left: 1%">In addition to these authentication methods, for other features in this plan, <a href="admin.php?page=upgrade"><i>Click here.</i></a></p>
196
  </div>';
197
 
198
  $form .= '</div> <input type="hidden" name="miniorange_save_form_auth_methods_nonce"
192
  $form .= '</table>';
193
  if( $category!="free_plan")
194
  $form .= '<div style="background-color: #f1f1f1;padding:10px">
195
+ <p style="font-size:16px;margin-left: 1%">In addition to these authentication methods, for other features in this plan, <a href="admin.php?page=mo_2fa_upgrade"><i>Click here.</i></a></p>
196
  </div>';
197
 
198
  $form .= '</div> <input type="hidden" name="miniorange_save_form_auth_methods_nonce"
handler/two_fa_settings.php CHANGED
@@ -400,7 +400,7 @@ class Miniorange_Authentication {
400
  }
401
 
402
  function miniorange_auth_save_settings() {
403
- if ( array_key_exists( 'page', $_REQUEST ) && $_REQUEST['page'] == 'two_fa' ) {
404
  if ( ! session_id() || session_id() == '' || ! isset( $_SESSION ) ) {
405
  session_start();
406
  }
@@ -1216,7 +1216,7 @@ class Miniorange_Authentication {
1216
  } else {
1217
  $requestOrigin = $_POST['requestOrigin'];
1218
  update_option( 'mo2f_customer_selected_plan', $requestOrigin );
1219
- header( 'Location: admin.php?page=wpnsaccount' );
1220
 
1221
  }
1222
  }else if ( isset( $_POST['miniorange_get_started'] ) && isset( $_POST['miniorange_user_reg_nonce'] ) ) { //registration with miniOrange for additional admin and non-admin
400
  }
401
 
402
  function miniorange_auth_save_settings() {
403
+ if ( array_key_exists( 'page', $_REQUEST ) && $_REQUEST['page'] == 'mo_2fa_two_fa' ) {
404
  if ( ! session_id() || session_id() == '' || ! isset( $_SESSION ) ) {
405
  session_start();
406
  }
1216
  } else {
1217
  $requestOrigin = $_POST['requestOrigin'];
1218
  update_option( 'mo2f_customer_selected_plan', $requestOrigin );
1219
+ header( 'Location: admin.php?page=mo_2fa_account' );
1220
 
1221
  }
1222
  }else if ( isset( $_POST['miniorange_get_started'] ) && isset( $_POST['miniorange_user_reg_nonce'] ) ) { //registration with miniOrange for additional admin and non-admin
helper/curl.php CHANGED
@@ -8,7 +8,7 @@ class MocURL
8
  $url = MoWpnsConstants::HOST_NAME . '/moas/rest/customer/add';
9
  $fields = array (
10
  'companyName' => $company,
11
- 'areaOfInterest' => 'miniOrange 2-Factor',
12
  'firstname' => $first_name,
13
  'lastname' => $last_name,
14
  'email' => $email,
@@ -36,7 +36,21 @@ class MocURL
36
  {
37
  $current_user = wp_get_current_user();
38
  $url = MoWpnsConstants::HOST_NAME . "/moas/rest/customer/contact-us";
39
- $query = '[WP Network Security]: ' . $query;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  $fields = array(
41
  'firstName' => $current_user->user_firstname,
42
  'lastName' => $current_user->user_lastname,
8
  $url = MoWpnsConstants::HOST_NAME . '/moas/rest/customer/add';
9
  $fields = array (
10
  'companyName' => $company,
11
+ 'areaOfInterest' => 'WordPress 2 Factor Authentication Plugin',
12
  'firstname' => $first_name,
13
  'lastname' => $last_name,
14
  'email' => $email,
36
  {
37
  $current_user = wp_get_current_user();
38
  $url = MoWpnsConstants::HOST_NAME . "/moas/rest/customer/contact-us";
39
+
40
+ $is_nc_with_1_user = get_option( 'mo2f_is_NC' ) && get_option( 'mo2f_is_NNC' );
41
+ $is_ec_with_1_user = ! get_option( 'mo2f_is_NC' );
42
+
43
+
44
+ $customer_feature = "";
45
+
46
+ if ( $is_ec_with_1_user ) {
47
+ $customer_feature = "V1";
48
+ }else if ( $is_nc_with_1_user ) {
49
+ $customer_feature = "V3";
50
+ }
51
+
52
+ $query = '[WordPress 2 Factor Authentication Plugin: ' . $customer_feature . ' - V '.MO2F_VERSION.']: ' . $query;
53
+
54
  $fields = array(
55
  'firstName' => $current_user->user_firstname,
56
  'lastName' => $current_user->user_lastname,
includes/images/normal.PNG DELETED
Binary file
includes/images/normal.png ADDED
Binary file
miniorange_2_factor_settings.php CHANGED
@@ -3,13 +3,13 @@
3
  * Plugin Name: miniOrange 2 Factor Authentication
4
  * Plugin URI: https://miniorange.com
5
  * Description: This plugin provides various two-factor authentication methods as an additional layer of security after the default wordpress login. We Support Google/Authy/LastPass Authenticator, QR Code, Push Notification, Soft Token and Security Questions(KBA) for 1 User in the free version of the plugin.
6
- * Version: 5.3.3
7
  * Author: miniOrange
8
  * Author URI: https://miniorange.com
9
  * License: GPL2
10
  */
11
  define( 'MO_HOST_NAME', 'https://login.xecurify.com' );
12
- define( 'MO2F_VERSION', '5.3.3' );
13
  class Miniorange_twoFactor{
14
 
15
  function __construct()
@@ -51,21 +51,21 @@
51
 
52
  function mo_wpns_widget_menu()
53
  {
54
- $menu_slug = 'dashboard';
55
  add_menu_page ( 'miniOrange 2-Factor' , 'miniOrange 2-Factor' , 'activate_plugins', $menu_slug , array( $this, 'mo_wpns'), plugin_dir_url(__FILE__) . 'includes/images/miniorange_icon.png' );
56
 
57
  add_submenu_page( $menu_slug ,'miniOrange 2-Factor' ,'Dashboard' ,'administrator',$menu_slug , array( $this, 'mo_wpns'));
58
- add_submenu_page( $menu_slug ,'miniOrange 2-Factor' ,'Two Factor' ,'administrator','two_fa' , array( $this, 'mo_wpns'));
59
- add_submenu_page( $menu_slug ,'miniOrange 2-Factor' ,'Firewall' ,'administrator','waf' , array( $this, 'mo_wpns'));
60
- add_submenu_page( $menu_slug ,'miniOrange 2-Factor' ,'Login and Spam' ,'administrator','login_and_spam' , array( $this, 'mo_wpns'));
61
- add_submenu_page( $menu_slug ,'miniOrange 2-Factor' ,'Backup' ,'administrator','backup' , array( $this, 'mo_wpns'));
62
- add_submenu_page( $menu_slug ,'miniOrange 2-Factor' ,'Malware Scan' ,'administrator','malwarescan' , array( $this, 'mo_wpns'));
63
- add_submenu_page( $menu_slug ,'miniOrange 2-Factor' ,'Advanced Blocking' ,'administrator','advancedblocking' , array( $this, 'mo_wpns'));
64
- add_submenu_page( $menu_slug ,'miniOrange 2-Factor' ,'Notifications' ,'administrator','notifications' , array( $this, 'mo_wpns'));
65
- add_submenu_page( $menu_slug ,'miniOrange 2-Factor' ,'Reports' ,'administrator','reports' , array( $this, 'mo_wpns'));
66
- add_submenu_page( $menu_slug ,'miniOrange 2-Factor' ,'Troubleshooting' ,'administrator','troubleshooting' , array( $this, 'mo_wpns'));
67
- add_submenu_page( $menu_slug ,'miniOrange 2-Factor' ,'Account' ,'administrator','wpnsaccount' , array( $this, 'mo_wpns'));
68
- add_submenu_page( $menu_slug ,'miniOrange 2-Factor' ,'Upgrade' ,'administrator','upgrade' , array( $this, 'mo_wpns'));
69
  }
70
 
71
  function mo_wpns()
@@ -133,22 +133,26 @@
133
  $two_fa_settings->mo_auth_deactivate();
134
  }
135
 
136
- function mo_wpns_settings_style()
137
  {
138
- wp_enqueue_style( 'mo_wpns_admin_settings_style' , plugins_url('includes/css/style_settings.css', __FILE__));
139
- wp_enqueue_style( 'mo_wpns_admin_settings_phone_style' , plugins_url('includes/css/phone.css', __FILE__));
140
- wp_enqueue_style( 'mo_wpns_admin_settings_datatable_style' , plugins_url('includes/css/jquery.dataTables.min.css', __FILE__));
141
- wp_enqueue_style( 'mo_wpns_button_settings_style' , plugins_url('includes/css/button_styles.css',__FILE__));
 
 
142
 
143
  }
144
 
145
- function mo_wpns_settings_script()
146
  {
147
- wp_enqueue_script( 'mo_wpns_admin_settings_phone_script' , plugins_url('includes/js/phone.js', __FILE__ ));
148
- wp_enqueue_script( 'mo_wpns_admin_settings_script' , plugins_url('includes/js/settings_page.js', __FILE__ ), array('jquery'));
149
- wp_enqueue_script( 'mo_wpns_admin_datatable_script' , plugins_url('includes/js/jquery.dataTables.min.js', __FILE__ ), array('jquery'));
150
- wp_enqueue_script( 'mo_wpns_qrcode_script', plugins_url( "/includes/jquery-qrcode/jquery-qrcode.js", __FILE__ ) );
151
- wp_enqueue_script( 'mo_wpns_min_qrcode_script', plugins_url( "/includes/jquery-qrcode/jquery-qrcode.min.js", __FILE__ ) );
 
 
152
  }
153
  function mo_show_message($content,$type)
154
  {
3
  * Plugin Name: miniOrange 2 Factor Authentication
4
  * Plugin URI: https://miniorange.com
5
  * Description: This plugin provides various two-factor authentication methods as an additional layer of security after the default wordpress login. We Support Google/Authy/LastPass Authenticator, QR Code, Push Notification, Soft Token and Security Questions(KBA) for 1 User in the free version of the plugin.
6
+ * Version: 5.3.4
7
  * Author: miniOrange
8
  * Author URI: https://miniorange.com
9
  * License: GPL2
10
  */
11
  define( 'MO_HOST_NAME', 'https://login.xecurify.com' );
12
+ define( 'MO2F_VERSION', '5.3.4' );
13
  class Miniorange_twoFactor{
14
 
15
  function __construct()
51
 
52
  function mo_wpns_widget_menu()
53
  {
54
+ $menu_slug = 'mo_2fa_dashboard';
55
  add_menu_page ( 'miniOrange 2-Factor' , 'miniOrange 2-Factor' , 'activate_plugins', $menu_slug , array( $this, 'mo_wpns'), plugin_dir_url(__FILE__) . 'includes/images/miniorange_icon.png' );
56
 
57
  add_submenu_page( $menu_slug ,'miniOrange 2-Factor' ,'Dashboard' ,'administrator',$menu_slug , array( $this, 'mo_wpns'));
58
+ add_submenu_page( $menu_slug ,'miniOrange 2-Factor' ,'Two Factor' ,'administrator','mo_2fa_two_fa' , array( $this, 'mo_wpns'));
59
+ add_submenu_page( $menu_slug ,'miniOrange 2-Factor' ,'Firewall' ,'administrator','mo_2fa_waf' , array( $this, 'mo_wpns'));
60
+ add_submenu_page( $menu_slug ,'miniOrange 2-Factor' ,'Login and Spam' ,'administrator','mo_2fa_login_and_spam' , array( $this, 'mo_wpns'));
61
+ add_submenu_page( $menu_slug ,'miniOrange 2-Factor' ,'Backup' ,'administrator','mo_2fa_backup' , array( $this, 'mo_wpns'));
62
+ add_submenu_page( $menu_slug ,'miniOrange 2-Factor' ,'Malware Scan' ,'administrator','mo_2fa_malwarescan' , array( $this, 'mo_wpns'));
63
+ add_submenu_page( $menu_slug ,'miniOrange 2-Factor' ,'Advanced Blocking' ,'administrator','mo_2fa_advancedblocking' , array( $this, 'mo_wpns'));
64
+ add_submenu_page( $menu_slug ,'miniOrange 2-Factor' ,'Notifications' ,'administrator','mo_2fa_notifications' , array( $this, 'mo_wpns'));
65
+ add_submenu_page( $menu_slug ,'miniOrange 2-Factor' ,'Reports' ,'administrator','mo_2fa_reports' , array( $this, 'mo_wpns'));
66
+ add_submenu_page( $menu_slug ,'miniOrange 2-Factor' ,'Troubleshooting' ,'administrator','mo_2fa_troubleshooting' , array( $this, 'mo_wpns'));
67
+ add_submenu_page( $menu_slug ,'miniOrange 2-Factor' ,'Account' ,'administrator','mo_2fa_account' , array( $this, 'mo_wpns'));
68
+ add_submenu_page( $menu_slug ,'miniOrange 2-Factor' ,'Upgrade' ,'administrator','mo_2fa_upgrade' , array( $this, 'mo_wpns'));
69
  }
70
 
71
  function mo_wpns()
133
  $two_fa_settings->mo_auth_deactivate();
134
  }
135
 
136
+ function mo_wpns_settings_style($hook)
137
  {
138
+ if(strpos($hook, 'page_mo_2fa')){
139
+ wp_enqueue_style( 'mo_wpns_admin_settings_style' , plugins_url('includes/css/style_settings.css', __FILE__));
140
+ wp_enqueue_style( 'mo_wpns_admin_settings_phone_style' , plugins_url('includes/css/phone.css', __FILE__));
141
+ wp_enqueue_style( 'mo_wpns_admin_settings_datatable_style' , plugins_url('includes/css/jquery.dataTables.min.css', __FILE__));
142
+ wp_enqueue_style( 'mo_wpns_button_settings_style' , plugins_url('includes/css/button_styles.css',__FILE__));
143
+ }
144
 
145
  }
146
 
147
+ function mo_wpns_settings_script($hook)
148
  {
149
+ if(strpos($hook, 'page_mo_2fa')){
150
+ wp_enqueue_script( 'mo_wpns_admin_settings_phone_script' , plugins_url('includes/js/phone.js', __FILE__ ));
151
+ wp_enqueue_script( 'mo_wpns_admin_settings_script' , plugins_url('includes/js/settings_page.js', __FILE__ ), array('jquery'));
152
+ wp_enqueue_script( 'mo_wpns_admin_datatable_script' , plugins_url('includes/js/jquery.dataTables.min.js', __FILE__ ), array('jquery'));
153
+ wp_enqueue_script( 'mo_wpns_qrcode_script', plugins_url( "/includes/jquery-qrcode/jquery-qrcode.js", __FILE__ ) );
154
+ wp_enqueue_script( 'mo_wpns_min_qrcode_script', plugins_url( "/includes/jquery-qrcode/jquery-qrcode.min.js", __FILE__ ) );
155
+ }
156
  }
157
  function mo_show_message($content,$type)
158
  {
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: https://miniorange.com/
5
  Requires at least: 3.0.1
6
  Tested up to: 5.3
7
  Requires PHP: 5.3.0
8
- Stable tag: 5.3.3
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -271,6 +271,9 @@ miniOrange authentication service has 15+ authentication methods.One time passco
271
 
272
  == Changelog ==
273
 
 
 
 
274
  = 5.3.3 =
275
  * Google Authenticator-Two Factor Authentication (2FA) : Minor Malware Scanner issues fix.
276
 
@@ -671,6 +674,9 @@ More descriptive setup messages and UI changes.
671
 
672
  == Upgrade Notice ==
673
 
 
 
 
674
  = 5.3.3 =
675
  * Google Authenticator-Two Factor Authentication (2FA) : Minor Malware Scanner issues fix.
676
 
5
  Requires at least: 3.0.1
6
  Tested up to: 5.3
7
  Requires PHP: 5.3.0
8
+ Stable tag: 5.3.4
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
271
 
272
  == Changelog ==
273
 
274
+ = 5.3.4 =
275
+ * Google Authenticator-Two Factor Authentication (2FA) : CSS fix for Malware Scanner, Security and firewall.
276
+
277
  = 5.3.3 =
278
  * Google Authenticator-Two Factor Authentication (2FA) : Minor Malware Scanner issues fix.
279
 
674
 
675
  == Upgrade Notice ==
676
 
677
+ = 5.3.4 =
678
+ * Google Authenticator-Two Factor Authentication (2FA) : CSS fix for Malware Scanner, Security and firewall.
679
+
680
  = 5.3.3 =
681
  * Google Authenticator-Two Factor Authentication (2FA) : Minor Malware Scanner issues fix.
682
 
views/common-elements.php CHANGED
@@ -6,7 +6,7 @@
6
  function is_customer_valid()
7
  {
8
  global $moWpnsUtility;
9
- $url = add_query_arg( array('page' => 'wpnsaccount'), $_SERVER['REQUEST_URI'] );
10
  if (!$moWpnsUtility->icr())
11
  echo '<div class="warning_div">Please <a href="'.$url.'">Register or Login with miniOrange</a> to configure the miniOrange 2-Factor Plugin.</div>';
12
  }
6
  function is_customer_valid()
7
  {
8
  global $moWpnsUtility;
9
+ $url = add_query_arg( array('page' => 'mo_2fa_account'), $_SERVER['REQUEST_URI'] );
10
  if (!$moWpnsUtility->icr())
11
  echo '<div class="warning_div">Please <a href="'.$url.'">Register or Login with miniOrange</a> to configure the miniOrange 2-Factor Plugin.</div>';
12
  }
views/login-security.php CHANGED
@@ -148,7 +148,7 @@ echo' <br>
148
  ';
149
 
150
  function login_security_ajax(){
151
- if ( ('admin.php' != basename( $_SERVER['PHP_SELF'] )) || ($_GET['page'] != 'login_and_spam') ) {
152
  return;
153
  }
154
  ?>
148
  ';
149
 
150
  function login_security_ajax(){
151
+ if ( ('admin.php' != basename( $_SERVER['PHP_SELF'] )) || ($_GET['page'] != 'mo_2fa_login_and_spam') ) {
152
  return;
153
  }
154
  ?>
views/navbar.php CHANGED
@@ -21,15 +21,15 @@
21
  <h2 class="nav-tab-wrapper mo_wpns_nav-tab-wrapper">';
22
 
23
 
24
- echo ' <a class="nav-tab '.($active_tab == 'dashboard' ? 'nav-tab-active' : '').'" href="'.$dashboard_url .'">Dashboard</a>
25
- <a class="nav-tab '.($active_tab == 'two_fa' ? 'nav-tab-active' : '').'" href="'.$two_fa .'">Two Factor</a>
26
- <a class="nav-tab '.($active_tab == 'waf' ? 'nav-tab-active' : '').'" href="'.$waf .'">Firewall</a>
27
- <a class="nav-tab '.($active_tab == 'login_and_spam' ? 'nav-tab-active' : '').'" href="'.$login_and_spam .'">Login and Spam</a>
28
- <a class="nav-tab '.($active_tab == 'backup' ? 'nav-tab-active' : '').'" href="'.$backup .'">Encrypted Backup</a>
29
- <a class="nav-tab '.($active_tab == 'malwarescan' ? 'nav-tab-active' : '').'" href="'.$scan_url .'">Malware Scan</a>
30
- <a class="nav-tab '.($active_tab == 'advancedblocking'? 'nav-tab-active' : '').'" href="'.$advance_block .'">Advanced Blocking</a>
31
- <a class="nav-tab '.($active_tab == 'notifications' ? 'nav-tab-active' : '').'" href="'.$notif_url .'">Notifications</a>
32
- <a class="nav-tab '.($active_tab == 'reports' ? 'nav-tab-active' : '').'" href="'.$reports_url .'">Reports</a>
33
- <a class="nav-tab '.($active_tab == 'upgrade' ? 'nav-tab-active' : '').'" href="'.$upgrade_url .'">Upgrade</a>
34
  </h2>
35
  </div>';
21
  <h2 class="nav-tab-wrapper mo_wpns_nav-tab-wrapper">';
22
 
23
 
24
+ echo ' <a class="nav-tab '.($active_tab == 'mo_2fa_dashboard' ? 'nav-tab-active' : '').'" href="'.$dashboard_url .'">Dashboard</a>
25
+ <a class="nav-tab '.($active_tab == 'mo_2fa_two_fa' ? 'nav-tab-active' : '').'" href="'.$two_fa .'">Two Factor</a>
26
+ <a class="nav-tab '.($active_tab == 'mo_2fa_waf' ? 'nav-tab-active' : '').'" href="'.$waf .'">Firewall</a>
27
+ <a class="nav-tab '.($active_tab == 'mo_2fa_login_and_spam' ? 'nav-tab-active' : '').'" href="'.$login_and_spam .'">Login and Spam</a>
28
+ <a class="nav-tab '.($active_tab == 'mo_2fa_backup' ? 'nav-tab-active' : '').'" href="'.$backup .'">Encrypted Backup</a>
29
+ <a class="nav-tab '.($active_tab == 'mo_2fa_malwarescan' ? 'nav-tab-active' : '').'" href="'.$scan_url .'">Malware Scan</a>
30
+ <a class="nav-tab '.($active_tab == 'mo_2fa_advancedblocking'? 'nav-tab-active' : '').'" href="'.$advance_block .'">Advanced Blocking</a>
31
+ <a class="nav-tab '.($active_tab == 'mo_2fa_notifications' ? 'nav-tab-active' : '').'" href="'.$notif_url .'">Notifications</a>
32
+ <a class="nav-tab '.($active_tab == 'mo_2fa_reports' ? 'nav-tab-active' : '').'" href="'.$reports_url .'">Reports</a>
33
+ <a class="nav-tab '.($active_tab == 'mo_2fa_upgrade' ? 'nav-tab-active' : '').'" href="'.$upgrade_url .'">Upgrade</a>
34
  </h2>
35
  </div>';
views/scan_report_view.php CHANGED
@@ -46,7 +46,7 @@ add_action('admin_footer','mo_wpns_start_scan');
46
  <div class="mo_wpns_sub_scanmode mo_wpns_msdivl mo_wpns_msdivr">
47
  <div class="hdiv">
48
  <b>Deep Scan</b>
49
- <strong><a href="admin.php?page=upgrade"> <b style="color: red;">[Premium]</b> </a></strong>
50
  </div>
51
  <p class="mo_wpns_scan_desc">Deep Scan checks all Plugins, Themes and Core files for RFI, Trojans and Backdoors using advanced signatures and detects blacklisted domains as well.</p>
52
  <input id="deep_scan_button" type="button" name="deep_scan_button" class="mo_wpns_deep_scan_button" value="Deep Scan">
@@ -83,7 +83,7 @@ add_action('admin_footer','mo_wpns_start_scan');
83
  </div>
84
  <?php
85
  function mo_wpns_start_scan(){
86
- if ( ('admin.php' != basename( $_SERVER['PHP_SELF'] )) || ($_GET['page'] != 'malwarescan') ) {
87
  return;
88
  }
89
  ?>
@@ -407,24 +407,24 @@ function show_scan_details($detailreport, $result, $ignorefiles){
407
  echo "<div><span class='".$issuecolor." issue'><b>Malware</b></span></div>";
408
  echo "<div class='issuecontent' data-line='".$key."' data-issue='".$issues[$key]."'>Issue Found: ".$issues[$key]."</div>";
409
  }
410
- if($key=='Shell Script'){
411
- echo "<div><span class='".$issuecolor." issue'><b>".$key."</b></span></div>";
412
- foreach ($value as $issue) {
413
- echo "<div class='issuecontent' data-line='".$issue["l"]."' data-issue='".$issue["d"]."'>Match Found: ".$issue["d"]." Line: ".$issue["l"]."</div>";
414
- }
415
- }
416
- if($key=='Vulnerable Code'){
417
- echo "<div><span class='".$issuecolor." issue'><b>".$key."</b></span></div>";
418
- foreach ($value as $issue) {
419
- echo "<div class='issuecontent' data-line='".$issue["l"]."' data-issue='".$issue["d"]."'>Match Found: ".$issue["d"]." Line: ".$issue["l"]."</div>";
420
- }
421
- }
422
- if($key=='SQL Injection'){
423
- echo "<div><span class='".$issuecolor." issue'><b>".$key."</b></span></div>";
424
- foreach ($value as $issue) {
425
- echo "<div class='issuecontent' data-line='".$issue["l"]."' data-issue='".$issue["d"]."'>Match Found: ".$issue["d"]." Line: ".$issue["l"]."</div>";
426
- }
427
- }
428
  if($key=='repo'){
429
  echo "<div><span class='".$issuecolor." issue'><b>Check File with Repo: </b></span><div><div class='issuecontent'>File Status: ".$value["exist"]."</div>";
430
  }
46
  <div class="mo_wpns_sub_scanmode mo_wpns_msdivl mo_wpns_msdivr">
47
  <div class="hdiv">
48
  <b>Deep Scan</b>
49
+ <strong><a href="admin.php?page=mo_2fa_upgrade"> <b style="color: red;">[Premium]</b> </a></strong>
50
  </div>
51
  <p class="mo_wpns_scan_desc">Deep Scan checks all Plugins, Themes and Core files for RFI, Trojans and Backdoors using advanced signatures and detects blacklisted domains as well.</p>
52
  <input id="deep_scan_button" type="button" name="deep_scan_button" class="mo_wpns_deep_scan_button" value="Deep Scan">
83
  </div>
84
  <?php
85
  function mo_wpns_start_scan(){
86
+ if ( ('admin.php' != basename( $_SERVER['PHP_SELF'] )) || ($_GET['page'] != 'mo_2fa_malwarescan') ) {
87
  return;
88
  }
89
  ?>
407
  echo "<div><span class='".$issuecolor." issue'><b>Malware</b></span></div>";
408
  echo "<div class='issuecontent' data-line='".$key."' data-issue='".$issues[$key]."'>Issue Found: ".$issues[$key]."</div>";
409
  }
410
+ // if($key=='Shell Script'){
411
+ // echo "<div><span class='".$issuecolor." issue'><b>".$key."</b></span></div>";
412
+ // foreach ($value as $issue) {
413
+ // echo "<div class='issuecontent' data-line='".$issue["l"]."' data-issue='".$issue["d"]."'>Match Found: ".$issue["d"]." Line: ".$issue["l"]."</div>";
414
+ // }
415
+ // }
416
+ // if($key=='Vulnerable Code'){
417
+ // echo "<div><span class='".$issuecolor." issue'><b>".$key."</b></span></div>";
418
+ // foreach ($value as $issue) {
419
+ // echo "<div class='issuecontent' data-line='".$issue["l"]."' data-issue='".$issue["d"]."'>Match Found: ".$issue["d"]." Line: ".$issue["l"]."</div>";
420
+ // }
421
+ // }
422
+ // if($key=='SQL Injection'){
423
+ // echo "<div><span class='".$issuecolor." issue'><b>".$key."</b></span></div>";
424
+ // foreach ($value as $issue) {
425
+ // echo "<div class='issuecontent' data-line='".$issue["l"]."' data-issue='".$issue["d"]."'>Match Found: ".$issue["d"]." Line: ".$issue["l"]."</div>";
426
+ // }
427
+ // }
428
  if($key=='repo'){
429
  echo "<div><span class='".$issuecolor." issue'><b>Check File with Repo: </b></span><div><div class='issuecontent'>File Status: ".$value["exist"]."</div>";
430
  }
views/scan_settings_view.php CHANGED
@@ -123,7 +123,7 @@
123
  <?php
124
 
125
  function mo_malware_config_page_submit(){
126
- if ( ('admin.php' != basename( $_SERVER['PHP_SELF'] )) || ($_GET['page'] != 'malwarescan') ) {
127
  return;
128
  }
129
  ?>
123
  <?php
124
 
125
  function mo_malware_config_page_submit(){
126
+ if ( ('admin.php' != basename( $_SERVER['PHP_SELF'] )) || ($_GET['page'] != 'mo_2fa_malwarescan') ) {
127
  return;
128
  }
129
  ?>
views/setup_twofa.php CHANGED
@@ -182,7 +182,7 @@
182
  <p>
183
  * <?php echo mo2f_lt( 'These authentication methods are available in the STANDARD and PREMIUM plans' ); ?>
184
  . <a
185
- href="admin.php?page=upgrade"><?php echo mo2f_lt( 'Click here' ); ?></a> <?php echo mo2f_lt( 'to learn more' ) ?>
186
  .</p>
187
  <?php } ?>
188
  <form name="f" method="post" action="" id="mo2f_2factor_test_authentication_method_form">
182
  <p>
183
  * <?php echo mo2f_lt( 'These authentication methods are available in the STANDARD and PREMIUM plans' ); ?>
184
  . <a
185
+ href="admin.php?page=mo_2fa_upgrade"><?php echo mo2f_lt( 'Click here' ); ?></a> <?php echo mo2f_lt( 'to learn more' ) ?>
186
  .</p>
187
  <?php } ?>
188
  <form name="f" method="post" action="" id="mo2f_2factor_test_authentication_method_form">
views/waf.php CHANGED
@@ -172,7 +172,7 @@ echo' </tbody>
172
 
173
  <table style="width:100%">
174
  <tr><th align="left">
175
- <h3>Real time IP blocking <strong style="color: red"><a href="admin.php?page=upgrade"> [Premium Feature] </a></strong>:
176
  <br>
177
  <p><i class="mo_wpns_not_bold">Blocking those malicious IPs Which has been detected by miniOrange WAF. This feature contains a list of malicious IPs which is mantained in real time. By enabling this option if any attack has been detected on miniOrange WAF on others wbsite then that IP will be blocked from your site also.</i></p>
178
  </th><th align="right">
@@ -245,7 +245,7 @@ echo' </tbody>
245
  <div class="mo_wpns_setting_layout">
246
  <table style="width:100%">
247
  <tr><th align="left">
248
- <h3>Rate Limiting for Crawlers<strong style="color: red"><a href="admin.php?page=upgrade"> [Premium Feature] </a></strong>:
249
  <br>
250
  <p><i class="mo_wpns_not_bold">Web crawlers crawl your Webstie for increasing ranking in the search engine. But sometimes they can make so many request to the server that the service can get damage.By enabling this feature you can provide limit at which a crawler can visit your site.</i></p>
251
  </th><th align="right">
@@ -261,7 +261,7 @@ echo' </tbody>
261
  <div class="mo_wpns_setting_layout">
262
  <table style="width:100%">
263
  <tr><th align="left">
264
- <h3>Fake Web Crawler Protection<strong style="color: red"><a href="admin.php?page=upgrade"> [Premium Feature] </a></strong>:
265
  <br>
266
  <p><i class="mo_wpns_not_bold">Web Crawlers are used for scaning the Website and indexing it. Google, Bing, etc. are the top crwalers which increase your site's indexing in the seach engine. There are several fake crawlers which can damage your site. By enabling this feature all fake google and bing crawlers will be blocked. </i></p>
267
  </th><th align="right">
@@ -277,7 +277,7 @@ echo' </tbody>
277
  <div class="mo_wpns_setting_layout">
278
  <table style="width:100%">
279
  <tr><th align="left">
280
- <h3>BotNet Protection<strong style="color: red"><a href="admin.php?page=upgrade"> [Premium Feature] </a></strong>:
281
  <br>
282
  <p><i class="mo_wpns_not_bold"> BotNet is a network of robots or army of robots. The BotNet is used for Distributed denial of service attack. The attacker sends too many requests from multiple IPs to a service so that the legitimate traffic can not get the service. By enabling this your Website will be protected from such kind of attacks. </i>
283
  </p>
@@ -371,7 +371,7 @@ echo "<a href='". $url."' download='".$nameDownload."'>";?>
371
 
372
  <th align="left"><h2> SQL Injection Protection <strong style="color: #20b2aa">[Basic Level Protection] </strong>::
373
 
374
- <p><i class="mo_wpns_not_bold">SQL Injection attacks are used for attack on database. This option will block all illegal requests which tries to access your database. <a href="admin.php?page=upgrade"><strong style="color: #20b2aa">Advance Signatures</strong></a></i></p>
375
  </th>
376
  <th align="right">
377
  <label class='mo_wpns_switch'>
@@ -386,7 +386,7 @@ echo "<a href='". $url."' download='".$nameDownload."'>";?>
386
  <tr>
387
  <th align="left"><h2> Cross Site scripting Protection <strong style="color: #20b2aa">[Basic Level Protection] </strong>::
388
  <br>
389
- <p><i class="mo_wpns_not_bold">cross site scripting is used for script attacks. This will block illegal scripting on website. <a href="admin.php?page=upgrade"><strong style="color: #20b2aa">Advance Signatures</strong></a></i></p>
390
  </th>
391
  <th align="right">
392
  <label class='mo_wpns_switch'>
@@ -398,7 +398,7 @@ echo "<a href='". $url."' download='".$nameDownload."'>";?>
398
  <tr>
399
  <th align="left"><h2> Local File Inclusion Protection <strong style="color: #20b2aa">[Basic Level Protection] </strong>::
400
  <br>
401
- <p><i class="mo_wpns_not_bold">Local File inclusion is used for making changes to the local files of the server. This option will block Local File Inclusion. <a href="admin.php?page=upgrade"><strong style="color: #20b2aa">Advance Signatures</strong></a></i></p>
402
  </th>
403
  <th align="right">
404
  <label class='mo_wpns_switch'>
@@ -409,7 +409,7 @@ echo "<a href='". $url."' download='".$nameDownload."'>";?>
409
  </h2></tr>
410
 
411
  <tr>
412
- <th align="left"><h2> Remote File Inclusion Protection <strong style="color: red"><a href="admin.php?page=upgrade"> [Premium Feature] </a></strong>::
413
  <br>
414
  <p><i class="mo_wpns_not_bold">Remote File Inclusion is used by attackers for adding malicious files from remote server to your server.This option will block Remote File Inclusion Attacks.</i></p>
415
  </th>
@@ -422,7 +422,7 @@ echo "<a href='". $url."' download='".$nameDownload."'>";?>
422
  </h2></tr>
423
 
424
  <tr>
425
- <th align="left"><h2> Remote Code Execution Protection <strong style="color: red"><a href="admin.php?page=upgrade"> [Premium Feature] </a></strong>::
426
  <br>
427
  <p><i class="mo_wpns_not_bold">Remote Code Execution is used for executing malicious commands or files in your server.This option will block Remote File Inclusion </i></p>
428
  </th>
@@ -435,7 +435,7 @@ echo "<a href='". $url."' download='".$nameDownload."'>";?>
435
  </h2>
436
  </tr>
437
  <tr>
438
- <th align="left"><h2> SQL Injection Protection <strong style="color: #20b2aa">[Advance Level Protection]</strong> <strong style="color: red"><a href="admin.php?page=upgrade"> [Premium Feature] </a></strong>::
439
  <br>
440
  <p><i class="mo_wpns_not_bold">Advance Level Protection includes advance signatures to detect SQL injection. It is the recommended protection for all websites. </i></p>
441
  </th>
@@ -448,7 +448,7 @@ echo "<a href='". $url."' download='".$nameDownload."'>";?>
448
  </h2>
449
  </tr>
450
  <tr>
451
- <th align="left"><h2> Cross Site scripting Protection<strong style="color: #20b2aa"> [Advance Level Protection]</strong> <strong style="color: red"><a href="admin.php?page=upgrade"> [Premium Feature] </a></strong>::
452
  <br>
453
  <p><i class="mo_wpns_not_bold">Advance Level Protection includes advance signatures to detect Cross Site Scripting attacks.</i></p>
454
  </th>
@@ -461,7 +461,7 @@ echo "<a href='". $url."' download='".$nameDownload."'>";?>
461
  </h2>
462
  </tr>
463
  <tr>
464
- <th align="left"><h2> Local File Inclusion Protection Protection<strong style="color: #20b2aa"> [Advance Level Protection]</strong> <strong style="color: red"><a href="admin.php?page=upgrade"> [Premium Feature] </a></strong>::
465
  <br>
466
  <p><i class="mo_wpns_not_bold">Advance Level Protection includes advance signatures to detect LFI attacks on your website. Advance protection covers all files of your server to get protected from any kind of LFI attack.</i></p>
467
  </th>
172
 
173
  <table style="width:100%">
174
  <tr><th align="left">
175
+ <h3>Real time IP blocking <strong style="color: red"><a href="admin.php?page=mo_2fa_upgrade"> [Premium Feature] </a></strong>:
176
  <br>
177
  <p><i class="mo_wpns_not_bold">Blocking those malicious IPs Which has been detected by miniOrange WAF. This feature contains a list of malicious IPs which is mantained in real time. By enabling this option if any attack has been detected on miniOrange WAF on others wbsite then that IP will be blocked from your site also.</i></p>
178
  </th><th align="right">
245
  <div class="mo_wpns_setting_layout">
246
  <table style="width:100%">
247
  <tr><th align="left">
248
+ <h3>Rate Limiting for Crawlers<strong style="color: red"><a href="admin.php?page=mo_2fa_upgrade"> [Premium Feature] </a></strong>:
249
  <br>
250
  <p><i class="mo_wpns_not_bold">Web crawlers crawl your Webstie for increasing ranking in the search engine. But sometimes they can make so many request to the server that the service can get damage.By enabling this feature you can provide limit at which a crawler can visit your site.</i></p>
251
  </th><th align="right">
261
  <div class="mo_wpns_setting_layout">
262
  <table style="width:100%">
263
  <tr><th align="left">
264
+ <h3>Fake Web Crawler Protection<strong style="color: red"><a href="admin.php?page=mo-2fa_upgrade"> [Premium Feature] </a></strong>:
265
  <br>
266
  <p><i class="mo_wpns_not_bold">Web Crawlers are used for scaning the Website and indexing it. Google, Bing, etc. are the top crwalers which increase your site's indexing in the seach engine. There are several fake crawlers which can damage your site. By enabling this feature all fake google and bing crawlers will be blocked. </i></p>
267
  </th><th align="right">
277
  <div class="mo_wpns_setting_layout">
278
  <table style="width:100%">
279
  <tr><th align="left">
280
+ <h3>BotNet Protection<strong style="color: red"><a href="admin.php?page=mo_2fa_upgrade"> [Premium Feature] </a></strong>:
281
  <br>
282
  <p><i class="mo_wpns_not_bold"> BotNet is a network of robots or army of robots. The BotNet is used for Distributed denial of service attack. The attacker sends too many requests from multiple IPs to a service so that the legitimate traffic can not get the service. By enabling this your Website will be protected from such kind of attacks. </i>
283
  </p>
371
 
372
  <th align="left"><h2> SQL Injection Protection <strong style="color: #20b2aa">[Basic Level Protection] </strong>::
373
 
374
+ <p><i class="mo_wpns_not_bold">SQL Injection attacks are used for attack on database. This option will block all illegal requests which tries to access your database. <a href="admin.php?page=mo_2fa_upgrade"><strong style="color: #20b2aa">Advance Signatures</strong></a></i></p>
375
  </th>
376
  <th align="right">
377
  <label class='mo_wpns_switch'>
386
  <tr>
387
  <th align="left"><h2> Cross Site scripting Protection <strong style="color: #20b2aa">[Basic Level Protection] </strong>::
388
  <br>
389
+ <p><i class="mo_wpns_not_bold">cross site scripting is used for script attacks. This will block illegal scripting on website. <a href="admin.php?page=mo_2fa_upgrade"><strong style="color: #20b2aa">Advance Signatures</strong></a></i></p>
390
  </th>
391
  <th align="right">
392
  <label class='mo_wpns_switch'>
398
  <tr>
399
  <th align="left"><h2> Local File Inclusion Protection <strong style="color: #20b2aa">[Basic Level Protection] </strong>::
400
  <br>
401
+ <p><i class="mo_wpns_not_bold">Local File inclusion is used for making changes to the local files of the server. This option will block Local File Inclusion. <a href="admin.php?page=mo_2fa_upgrade"><strong style="color: #20b2aa">Advance Signatures</strong></a></i></p>
402
  </th>
403
  <th align="right">
404
  <label class='mo_wpns_switch'>
409
  </h2></tr>
410
 
411
  <tr>
412
+ <th align="left"><h2> Remote File Inclusion Protection <strong style="color: red"><a href="admin.php?page=mo_2fa_upgrade"> [Premium Feature] </a></strong>::
413
  <br>
414
  <p><i class="mo_wpns_not_bold">Remote File Inclusion is used by attackers for adding malicious files from remote server to your server.This option will block Remote File Inclusion Attacks.</i></p>
415
  </th>
422
  </h2></tr>
423
 
424
  <tr>
425
+ <th align="left"><h2> Remote Code Execution Protection <strong style="color: red"><a href="admin.php?page=mo_2fa_upgrade"> [Premium Feature] </a></strong>::
426
  <br>
427
  <p><i class="mo_wpns_not_bold">Remote Code Execution is used for executing malicious commands or files in your server.This option will block Remote File Inclusion </i></p>
428
  </th>
435
  </h2>
436
  </tr>
437
  <tr>
438
+ <th align="left"><h2> SQL Injection Protection <strong style="color: #20b2aa">[Advance Level Protection]</strong> <strong style="color: red"><a href="admin.php?page=mo_2fa_upgrade"> [Premium Feature] </a></strong>::
439
  <br>
440
  <p><i class="mo_wpns_not_bold">Advance Level Protection includes advance signatures to detect SQL injection. It is the recommended protection for all websites. </i></p>
441
  </th>
448
  </h2>
449
  </tr>
450
  <tr>
451
+ <th align="left"><h2> Cross Site scripting Protection<strong style="color: #20b2aa"> [Advance Level Protection]</strong> <strong style="color: red"><a href="admin.php?page=mo_2fa_upgrade"> [Premium Feature] </a></strong>::
452
  <br>
453
  <p><i class="mo_wpns_not_bold">Advance Level Protection includes advance signatures to detect Cross Site Scripting attacks.</i></p>
454
  </th>
461
  </h2>
462
  </tr>
463
  <tr>
464
+ <th align="left"><h2> Local File Inclusion Protection Protection<strong style="color: #20b2aa"> [Advance Level Protection]</strong> <strong style="color: red"><a href="admin.php?page=mo_2fa_upgrade"> [Premium Feature] </a></strong>::
465
  <br>
466
  <p><i class="mo_wpns_not_bold">Advance Level Protection includes advance signatures to detect LFI attacks on your website. Advance protection covers all files of your server to get protected from any kind of LFI attack.</i></p>
467
  </th>