Plugin Directory

Changeset 1921717


Ignore:
Timestamp:
08/08/2018 03:27:49 PM (8 years ago)
Author:
osexcel
Message:

Centrora Joomla 7.4.4

Location:
ose-firewall/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • ose-firewall/trunk/assets/config/define.php

    r1821941 r1921717  
    5151    define("BACKUP_API_SERVER","https://backup-api.centrora.com/");
    5252    define("VSSCAN_API_SERVER","https://vsscan-api.centrora.com/");
    53     define('VIRUS_PATTERN_DOWNLOAD_URL',"https://update-api.centrora.com/download/updateVSPattern?domain=".$_SERVER['HTTP_HOST']);
    54     define("FIREWALL_PATTERN_DOWNLOAD_URL","https://update-api.centrora.com/download/updateFWPattern&update=0&domain=".$_SERVER['HTTP_HOST']);
    55     define("FIREWALL_PATTERN_UPDATE_DOWNLOAD_URL","https://update-api.centrora.com/download/updateFWPattern&update=1&domain=".$_SERVER['HTTP_HOST']);
    56     define("GET_VIRUS_PATTERN_VERSION_URL","https://update-api.centrora.com/version/getVSPatternVersion");
    57     define("GET_FIREWALL_PATTERN_VERSION_URL","https://update-api.centrora.com/version/getFWPatternVersion");
     53    define('VIRUS_PATTERN_DOWNLOAD_URL',"https://update-api-dev.centrora.com/download/updateVSPattern?domain=".$_SERVER['HTTP_HOST']);
     54    define("FIREWALL_PATTERN_DOWNLOAD_URL","https://update-api-dev.centrora.com/download/updateFWPattern&update=0&domain=".$_SERVER['HTTP_HOST']);
     55    define("FIREWALL_PATTERN_UPDATE_DOWNLOAD_URL","https://update-api-dev.centrora.com/download/updateFWPattern&update=1&domain=".$_SERVER['HTTP_HOST']);
     56    define("GET_VIRUS_PATTERN_VERSION_URL","https://update-api-dev.centrora.com/version/getVSPatternVersion");
     57    define("GET_FIREWALL_PATTERN_VERSION_URL","https://update-api-dev.centrora.com/version/getFWPatternVersion");
    5858    define("BACKUP_API","https://backup-api.centrora.com/");
    5959    define("ACCOUNT_API","https://account-api.centrora.com/");
    60     define("UPDATE_API","https://update-api.centrora.com/");
    61     define("DOWNLOAD_CORE_FILES","https://update-api.centrora.com/download/getCoreFile");
     60    define("UPDATE_API","https://update-api-dev.centrora.com/");
     61    define("DOWNLOAD_CORE_FILES","https://update-api-dev.centrora.com/download/getCoreFile");
    6262}
    6363define('FIREWALL_VERSION_CHECK_THRESHOLD',1); //1 hour
  • ose-firewall/trunk/classes/Library/oseFirewallBase.php

    r1844703 r1921717  
    20632063    public function checkPermissions()
    20642064    {
    2065         if(oseFirewallBase::isSuite()) {
    2066             $permissions = substr(sprintf('%o', fileperms(OSE_CONTENTFOLDER)), -3);
    2067             $user = substr($permissions, 0, 1);
    2068             $group = substr($permissions, 1, 1);
    2069             $other = substr($permissions, 2, 1);
    2070             $msg = "mkdir " . OSE_WEBLOGFOLDER . "; mkdir " . OSE_WEBLOG_BACKUPFOLDER . "; chmod -R 0777 " . OSE_WEBLOGFOLDER . "<br/>; chmod -R 0777 " . OSE_WEBLOG_BACKUPFOLDER;
    2071             if (($user == 7) && ($group >= 5) && ($other >= 5)) {
    2072                 $this->permission = true;
    2073                 $this->makeDirectories();
    2074                 if (file_exists(OSE_WEBLOG_BACKUPFOLDER) && file_exists(OSE_WEBLOGFOLDER) && $this->checkWebLogBackupFolderPermission() && $this->checkWebLogFolderPermission()) {
    2075                     return $this->prepareSuccessMessage('The folder has appropriate folder permissions');
    2076                 } else {
    2077                     return oseFirewallBase::prepareErrorMessage("The folders do not appropriate permissions, please run the following commands : <br/>" . $msg);
    2078                 }
    2079             } else {
    2080                 $change_perm = chmod(OSE_CONTENTFOLDER, 0755);
    2081                 if ($change_perm == true) {
    2082                     $this->permission = true;
    2083                     $this->makeDirectories();
    2084                     if (file_exists(OSE_WEBLOG_BACKUPFOLDER) && file_exists(OSE_WEBLOGFOLDER) && $this->checkWebLogBackupFolderPermission() && $this->checkWebLogFolderPermission()) {
    2085                         return $this->prepareSuccessMessage('The folder has appropriate folder permissions');
    2086                     } else {
    2087                         return oseFirewallBase::prepareErrorMessage("The folders do not appropriate permissions, please run the following commands : <br/>" . $msg);
    2088                     }
    2089                 } else {
    2090                     $this->permission = false;
    2091                     $msg = "mkdir " . OSE_CONTENTFOLDER . "; chmod 0755 " . OSE_CONTENTFOLDER . "<br/> ; mkdir " . OSE_WEBLOGFOLDER . "; mkdir " . OSE_WEBLOG_BACKUPFOLDER . "; chmod -R 0777 " . OSE_WEBLOGFOLDER . "<br/>; chmod -R 0777 " . OSE_WEBLOG_BACKUPFOLDER;
    2092                     return oseFirewallBase::prepareErrorMessage("The folders do not appropriate permissions, please run the following commands : <br/>" . $msg);
    2093                 }
    2094             }
    2095         }else{
    2096             return $this->prepareSuccessMessage('The folder has appropriate folder permissions');
    2097         }
    2098     }
    2099 
    2100 
    2101 
     2065        oseFirewall::callLibClass('fwscannerv7','fwscannerv7');
     2066        $fwscannerv7 = new oseFirewallScannerV7();
     2067        return $fwscannerv7->checkPermissions();
     2068    }
    21022069}
    21032070
  • ose-firewall/trunk/ose_firewall_badge.php

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

    r1900946 r1921717  
    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: 7.4.3
     7Version: 7.4.4
    88Author URI: http://www.centrora.com/
    99*/
Note: See TracChangeset for help on using the changeset viewer.