Changeset 1496143
- Timestamp:
- 09/15/2016 07:09:14 AM (10 years ago)
- Location:
- ose-firewall/trunk
- Files:
-
- 18 edited
-
assets/config/wordpress.php (modified) (2 diffs)
-
assets/views/news.php (modified) (1 diff)
-
classes/Library/CountryBlock/CountryBlock.php (modified) (2 diffs)
-
classes/Library/RemoteLogin/RemoteLogin.php (modified) (1 diff)
-
classes/Library/adminemails/email.tpl (modified) (1 diff)
-
classes/Library/backup/googledrive/googledrive.php (modified) (1 diff)
-
classes/Library/backup/onedrive/onedrive.php (modified) (1 diff)
-
classes/Library/backup/oseBackup.php (modified) (1 diff)
-
classes/Library/downloader/oseDownloader.php (modified) (1 diff)
-
classes/Library/emails/email.tpl (modified) (1 diff)
-
classes/Library/fwscanner/email.tpl (modified) (1 diff)
-
classes/Library/fwscanner/fwscanner.php (modified) (2 diffs)
-
classes/Library/panel/panel.php (modified) (3 diffs)
-
classes/Library/vlscanner/vlscanner.php (modified) (1 diff)
-
classes/Library/vsscanner/surfscanner.php (modified) (2 diffs)
-
ose_firewall_badge.php (modified) (1 diff)
-
ose_wordpress_firewall.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ose-firewall/trunk/assets/config/wordpress.php
r1425230 r1496143 53 53 $plugins = parse_url(WP_PLUGIN_URL); 54 54 define('OSE_FWRELURL',$plugins['path'].'/ose-firewall'); 55 define('OSE_FWASSETS', OSEFWDIR . ODS .'assets');55 define('OSE_FWASSETS', OSEFWDIR . 'assets'); 56 56 define('OSE_WPURL',rtrim(site_url(), '/') ); 57 57 define('OSE_ADMINURL', OSE_WPURL.'/wp-admin/admin.php'); … … 59 59 define('OSE_FWCONTROLLERS', OSEFWDIR . 'protected' . ODS . 'controllers'); 60 60 define('OSE_FWMODEL', OSEFWDIR . 'classes' . ODS.'App' . ODS . 'Model'); 61 define('OSE_FWFRAMEWORK', OSEFWDIR . 'classes' . ODS.'Library'); 62 define('OSE_FWPUBLIC', OSEFWDIR . ODS .'public');61 define('OSE_FWFRAMEWORK', OSEFWDIR . 'classes' . ODS.'Library'); 62 define('OSE_FWPUBLIC', OSEFWDIR . 'public'); 63 63 define('OSE_FWPUBLICURL', OSE_FWURL . '/public/'); 64 64 define('OSE_FWLANGUAGE', OSE_FWPUBLIC . ODS.'messages'); -
ose-firewall/trunk/assets/views/news.php
r1387925 r1496143 26 26 <div class="tab-content"> 27 27 <div class="tab-pane active" id="latest"> 28 <?php $this->model->getAnyFeed("http ://www.centrora.com/category/blog/feed", $limit); ?>28 <?php $this->model->getAnyFeed("https://www.centrora.com/category/blog/feed", $limit); ?> 29 29 </div> 30 30 <div class="tab-pane" id="changelog"> 31 <?php $this->model->getChangelogFeed("http ://www.centrora.com/category/changelog/feed/atom/", $limit); ?>31 <?php $this->model->getChangelogFeed("https://www.centrora.com/category/changelog/feed/atom/", $limit); ?> 32 32 </div> 33 33 <!-- <div class="tab-pane" id="research-lab">--> -
ose-firewall/trunk/classes/Library/CountryBlock/CountryBlock.php
r1387925 r1496143 46 46 if ($step == - 1) 47 47 { 48 $handle = $this->downloadFile("http ://www.centrora.com/downloads/geoip/wp_osefirewall_country".".data");48 $handle = $this->downloadFile("https://www.centrora.com/downloads/geoip/wp_osefirewall_country".".data"); 49 49 if ($handle == false) 50 50 { … … 72 72 else 73 73 { 74 $handle = $this->downloadFile("http ://www.centrora.com/downloads/geoip/osegeoip".$step.".data");74 $handle = $this->downloadFile("https://www.centrora.com/downloads/geoip/osegeoip".$step.".data"); 75 75 if ($handle == false) 76 76 { -
ose-firewall/trunk/classes/Library/RemoteLogin/RemoteLogin.php
r1454480 r1496143 340 340 $ip = $this->getRealIP(); 341 341 // Centrora server IP List; 342 $iplist = array ('158.69.52.171', '59.167.181.233', '108.162.216.190', '158.69.56.254', '175.45.147.116');342 $iplist = array('158.69.52.171', '49.255.209.82', '108.162.216.190', '158.69.56.254', '175.45.147.116', '149.56.117.155'); 343 343 if (in_array($ip, $iplist) == false) 344 344 { -
ose-firewall/trunk/classes/Library/adminemails/email.tpl
r1387925 r1496143 368 368 style="font-family: Helvetica, arial, sans-serif; font-size: 13px;color: #ffffff" 369 369 st-content="preheader"> 370 Need help? <a href="http ://www.centrora.com/contact-us/"370 Need help? <a href="https://www.centrora.com/contact-us/" 371 371 style="text-decoration: none; color: #e51d1d">Contact us here </a> 372 372 </td> -
ose-firewall/trunk/classes/Library/backup/googledrive/googledrive.php
r1387925 r1496143 21 21 private $scope = 'https://www.googleapis.com/auth/drive'; 22 22 23 private $redirect_url = 'http ://www.centrora.com/backupRedirect/googledrive/index.php';23 private $redirect_url = 'https://www.centrora.com/backupRedirect/googledrive/index.php'; 24 24 25 25 private $_folderName = 'centrora'; -
ose-firewall/trunk/classes/Library/backup/onedrive/onedrive.php
r1387925 r1496143 11 11 const AUTH_URL = 'https://login.live.com/oauth20_authorize.srf'; 12 12 const TOKEN_URL = 'https://login.live.com/oauth20_token.srf'; 13 const REDIRECT_URI = 'http ://www.centrora.com/backupRedirect/index.php';13 const REDIRECT_URI = 'https://www.centrora.com/backupRedirect/index.php'; 14 14 private $configTable = '#__ose_secConfig'; 15 15 -
ose-firewall/trunk/classes/Library/backup/oseBackup.php
r1425230 r1496143 2034 2034 $webkey = $this->getWebKey(); 2035 2035 if ($upload == 1 && $uploaded == false && $varOne != 0){ 2036 $url = "http ://www.centrora.com/accountApi/cronjobs/runMultiReqCloudUpload?webkey=" . $webkey2036 $url = "https://www.centrora.com/accountApi/cronjobs/runMultiReqCloudUpload?webkey=" . $webkey 2037 2037 . "&key=" . $key . "&completed=0&status=" . (int)$varOne . "&numFiles=" . (int)$varTwo; 2038 2038 } else{ 2039 $url = "http ://www.centrora.com/accountApi/cronjobs/completeBackup?webkey=" . $webkey2039 $url = "https://www.centrora.com/accountApi/cronjobs/completeBackup?webkey=" . $webkey 2040 2040 . "&key=" . $key . "&completed=1&status=" . (int)$varOne . "&statusMsg=" . urlencode($varTwo); 2041 2041 } -
ose-firewall/trunk/classes/Library/downloader/oseDownloader.php
r1401965 r1496143 40 40 $this->key = $key; 41 41 $this->version = $version; 42 $this->live_url = "http ://www.centrora.com/?";42 $this->live_url = "https://www.centrora.com/?"; 43 43 $this->url = $this->live_url."download=1&downloadKey=".$this->key; 44 44 oseFirewall::loadFiles(); -
ose-firewall/trunk/classes/Library/emails/email.tpl
r1387925 r1496143 348 348 <tr> 349 349 <td align="center" valign="middle" style="font-family: Helvetica, arial, sans-serif; font-size: 13px;color: #ffffff" st-content="preheader"> 350 Need help? <a href="http ://www.centrora.com/contact-us/" style="text-decoration: none; color: #e51d1d">Contact us here </a>350 Need help? <a href="https://www.centrora.com/contact-us/" style="text-decoration: none; color: #e51d1d">Contact us here </a> 351 351 </td> 352 352 </tr> -
ose-firewall/trunk/classes/Library/fwscanner/email.tpl
r1387925 r1496143 350 350 <tr> 351 351 <td align="center" valign="middle" style="font-family: Helvetica, arial, sans-serif; font-size: 13px;color: #ffffff" st-content="preheader"> 352 Need help? <a href="http ://www.centrora.com/contact-us/" style="text-decoration: none; color: #e51d1d">Contact us here </a>352 Need help? <a href="https://www.centrora.com/contact-us/" style="text-decoration: none; color: #e51d1d">Contact us here </a> 353 353 </td> 354 354 </tr> -
ose-firewall/trunk/classes/Library/fwscanner/fwscanner.php
r1436160 r1496143 1137 1137 $mimeType = $this->getMimeType($file); 1138 1138 $ext = explode('/', $file['type']); 1139 $filename = is_array($file['name']) ? $file['name'][$i] : $file['name']; //convert array files to get single file names 1139 if (is_array($file['name'])) { 1140 $filename = $file['name'][$i]; 1141 $i++; 1142 } else { 1143 $filename = $file['name']; 1144 } 1140 1145 $info = new SplFileInfo($filename); 1141 1146 $extname = strtolower($info->getExtension()); … … 1190 1195 } 1191 1196 } 1192 $i++;1193 1197 } 1194 1198 } -
ose-firewall/trunk/classes/Library/panel/panel.php
r1408513 r1496143 348 348 349 349 private function getUpdateCheck () { 350 $url = "http ://www.centrora.com/accountApi/version/getLastestVersion";350 $url = "https://www.centrora.com/accountApi/version/getLastestVersion"; 351 351 $ch = curl_init(); 352 352 curl_setopt($ch, CURLOPT_URL, $url); … … 410 410 } 411 411 } 412 $url = "http ://www.centrora.com/software/".$zipFileName;412 $url = "https://www.centrora.com/software/".$zipFileName; 413 413 // Define Temp Folder; 414 414 $config = JFactory::getConfig(); … … 635 635 #check for new News if interval passed and has read old news items 636 636 if ($checkUpdateInterval && !$result ) { 637 $data = $this->getJSONFeed("http ://www.centrora.com/category/blog/feed/atom", $limit);637 $data = $this->getJSONFeed("https://www.centrora.com/category/blog/feed/atom", $limit); 638 638 $LatestNewsHash = hash('md5', serialize($data->feed->entries)); 639 639 $query = "SELECT `value` FROM `#__ose_secConfig` WHERE `key` = 'LastNewsHash'"; -
ose-firewall/trunk/classes/Library/vlscanner/vlscanner.php
r1387925 r1496143 228 228 $url = 'https://wpvulndb.com/api/v1/' . $value['urltype'] . '/' . $value['slug']; 229 229 } elseif (OSE_CMS == 'joomla') { 230 $url = "http ://www.centrora.com/accountApi/Exploitdb/checkVulnJL?type=" . $value['type']230 $url = "https://www.centrora.com/accountApi/Exploitdb/checkVulnJL?type=" . $value['type'] 231 231 . "&slug=" . $value['slug'] . "&slug_type=" . $value['localtype'] . "&check=lkjunKKJB788GH"; 232 232 } -
ose-firewall/trunk/classes/Library/vsscanner/surfscanner.php
r1454480 r1496143 82 82 { 83 83 $data = array(); 84 $url = 'http ://www.centrora.com/accountApi/Maldetect/checkLastMD5Update';84 $url = 'https://www.centrora.com/accountApi/Maldetect/checkLastMD5Update'; 85 85 $serverresult = oseJSON::decode( $this->getJsonData($url), true ); 86 86 $query = 'SELECT MAX(inserted_on) as inserted_on FROM '. $this->db->quoteTable($this->vshashtable); … … 102 102 public function updateMD5DB() 103 103 { 104 $url = 'http ://www.centrora.com/accountApi/Maldetect/getUpdateMD5Data';104 $url = 'https://www.centrora.com/accountApi/Maldetect/getUpdateMD5Data'; 105 105 $resultlist = oseJSON::decode( $this->getJsonData($url), true ); 106 106 $this->deleteMD5DBData(); -
ose-firewall/trunk/ose_firewall_badge.php
r1487677 r1496143 4 4 Description: Plugin For Showing Centrora Security Badge 5 5 Author: Centrora Security 6 Version: 6.5. 96 Version: 6.5.10 7 7 */ 8 8 //include(dirname(__FILE__).'/includes/oseBadgeWidget.php'); -
ose-firewall/trunk/ose_wordpress_firewall.php
r1487677 r1496143 5 5 Description: 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. 6 6 Author: Centrora (Previously ProWeb) 7 Version: 6.5. 97 Version: 6.5.10 8 8 Author URI: http://www.centrora.com/ 9 9 */ -
ose-firewall/trunk/readme.txt
r1487677 r1496143 6 6 Requires at least: 3.7 7 7 Tested up to: 4.5.2 8 Stable tag: 6.5. 98 Stable tag: 6.5.10 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 164 164 165 165 == Changelog == 166 167 = 6.5.10 = 168 * Updated API IP address 169 * Updated API Web Address to https protocols 166 170 167 171 = 6.5.9 =
Note: See TracChangeset
for help on using the changeset viewer.