Plugin Directory

Changeset 1556052


Ignore:
Timestamp:
12/16/2016 10:19:40 AM (9 years ago)
Author:
osexcel
Message:

6.5.15

  • Fixed mark as clean doesn't work correctly on schedule scanning issues
Location:
ose-firewall/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • ose-firewall/trunk/classes/Library/vsscanstat/vsscanstat.php

    r1460069 r1556052  
    563563        $this->db->setQuery($query);
    564564        $result = $this->db->loadArrayList();
     565        $this->updateMarkAsCleanList($result);
     566    }
     567
     568    private function updateMarkAsCleanList($result)
     569    {
    565570        $filePath = CENTRORABACKUP_FOLDER . ODS . "markasclean.php";
    566         file_put_contents($filePath, '<?php $whitelist = ' . var_export($result, true) . ';');
     571        if(file_exists($filePath))
     572        {
     573            $whitelist = $this->getWhiteListFiles();
     574            $temp = array_merge($whitelist,$result);
     575            file_put_contents($filePath, '<?php $whitelist = ' . var_export($temp, true) . ';');
     576        }else {
     577            file_put_contents($filePath, '<?php $whitelist = ' . var_export($result, true) . ';');
     578        }
     579    }
     580
     581    private function getWhiteListFiles()
     582    {
     583        $whitelist = null;
     584        $filePath = CENTRORABACKUP_FOLDER . ODS . "markasclean.php";
     585        if(file_exists($filePath)){
     586            require($filePath);
     587        }
     588        return $whitelist;
    567589    }
    568590
  • ose-firewall/trunk/ose_firewall_badge.php

    r1543739 r1556052  
    44   Description: Plugin For Showing Centrora Security Badge
    55   Author: Centrora Security
    6    Version: 6.5.14
     6   Version: 6.5.15
    77*/ 
    88//include(dirname(__FILE__).'/includes/oseBadgeWidget.php');
  • ose-firewall/trunk/ose_wordpress_firewall.php

    r1543739 r1556052  
    55Description: Centrora Security (previously OSE Firewall) - A WordPress Security Firewall plugin created by Centrora. Protect your WordPress site by identify any malicious codes, spam, virus, SQL injection, and security vulnerabilities.
    66Author: Centrora (Previously ProWeb)
    7 Version: 6.5.14
     7Version: 6.5.15
    88Author URI: http://www.centrora.com/
    99*/
  • ose-firewall/trunk/readme.txt

    r1543739 r1556052  
    66Requires at least: 3.7
    77Tested up to: 4.5.2
    8 Stable tag: 6.5.14
     8Stable tag: 6.5.15
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    164164
    165165== Changelog ==
     166
     167= 6.5.15 =
     168* Fixed mark as clean doesn't work correctly on schedule scanning issues
    166169
    167170= 6.5.14 =
Note: See TracChangeset for help on using the changeset viewer.