Changeset 1961022
- Timestamp:
- 10/23/2018 03:52:24 AM (7 years ago)
- Location:
- ose-firewall/trunk
- Files:
-
- 3 edited
-
classes/Library/fwscannerv7/fwscannerv7.php (modified) (2 diffs)
-
ose_firewall_badge.php (modified) (1 diff)
-
ose_wordpress_firewall.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ose-firewall/trunk/classes/Library/fwscannerv7/fwscannerv7.php
r1892670 r1961022 1696 1696 $content = $temp_content; 1697 1697 } 1698 $content = $this->removeUselessContent($content); 1698 1699 $contenttoput = "<?php\n" . '$attackrecord = ' . var_export($content, true) . ";"; 1699 1700 $result = file_put_contents($filepath, $contenttoput); … … 4153 4154 return json_decode($resp); 4154 4155 } 4156 protected function removeUselessContent($content){ 4157 if(empty($content)){ 4158 return $content; 4159 } 4160 $temp_conent = array(); 4161 foreach ($content as $array){ 4162 foreach ($array as $key => $val){ 4163 if($key == 'useragent' || $key == 'attack'){ 4164 unset($array[$key]); 4165 } 4166 } 4167 $temp_conent[] = $array; 4168 } 4169 return $temp_conent; 4170 } 4155 4171 } 4156 4172 -
ose-firewall/trunk/ose_firewall_badge.php
r1936614 r1961022 4 4 Description: Plugin For Showing Centrora Security Badge 5 5 Author: Centrora Security 6 Version: 7.4. 76 Version: 7.4.8 7 7 */ 8 8 include(dirname(__FILE__).'/includes/oseBadgeWidget.php'); -
ose-firewall/trunk/ose_wordpress_firewall.php
r1936614 r1961022 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: 7.4. 77 Version: 7.4.8 8 8 Author URI: http://www.centrora.com/ 9 9 */
Note: See TracChangeset
for help on using the changeset viewer.