Changeset 1421523
- Timestamp:
- 05/21/2016 02:13:38 PM (10 years ago)
- Location:
- safly-cloud-protection
- Files:
-
- 15 added
- 3 edited
-
tags/1.6.1 (added)
-
tags/1.6.1/LICENSE.txt (added)
-
tags/1.6.1/assets (added)
-
tags/1.6.1/assets/screenshot-1.png (added)
-
tags/1.6.1/core (added)
-
tags/1.6.1/core/safly-avatar.php (added)
-
tags/1.6.1/core/safly-interact.php (added)
-
tags/1.6.1/core/safly-request-test.php (added)
-
tags/1.6.1/index.php (added)
-
tags/1.6.1/notice.php (added)
-
tags/1.6.1/options.php (added)
-
tags/1.6.1/readme.txt (added)
-
tags/1.6.1/safly-protection.php (added)
-
tags/1.6.1/variables.php (added)
-
tags/1.6.1/wrapper.php (added)
-
trunk/readme.txt (modified) (6 diffs)
-
trunk/safly-protection.php (modified) (2 diffs)
-
trunk/wrapper.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
safly-cloud-protection/trunk/readme.txt
r1391153 r1421523 3 3 Tags: security, secure, login, lockdown, hack, ban, restrict, access, protect, protection, admin, username, safly, org, api, cloud, ip, china, cn 4 4 Requires at least: 3.0.1 5 Tested up to: 4. 4.16 Stable tag: 1.6. 15 Tested up to: 4.5.2 6 Stable tag: 1.6.2 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 23 23 == Installation == 24 24 25 1. Download 26 2. Upload to your `/wp-contents/plugins/` directory. 27 3. Activate the plugin through the 'Plugins' menu in WordPress. 25 The easy way: 26 * Go to the Plugins Menu in WordPress 27 * Search for "SaFly Cloud Protection" 28 * Click "Install" 29 30 The not so easy way: 31 * Upload the ml-slider folder to the /wp-content/plugins/ directory 32 * Activate the plugin through the 'Plugins' menu in WordPress 28 33 29 34 == Frequently Asked Questions == … … 31 36 = How to use SaFly Cloud Protection? = 32 37 33 Just enable the plug-in and import the API KEY you have got in [JUICE.ORANME.COM] [1]. If it is the first time you use SaFly Cloud Protection, just keep other options default.38 Just enable the plug-in and import the API KEY you have got in [JUICE.ORANME.COM]. If it is the first time you use SaFly Cloud Protection, just keep other options default. 34 39 35 40 = How to get the API KEY? = 36 41 37 Register an account in [JUICE.ORANME.COM] [1], and you can apply an API KEY in the dashboard. The API KEY Grant is automatic and all are free! Also, you can manage the API KEY in the dashboard.42 Register an account in [JUICE.ORANME.COM], and you can apply an API KEY in the dashboard. The API KEY Grant is automatic and all are free! Also, you can manage the API KEY in the dashboard. 38 43 Notice: [JUICE.ORANME.COM] is in English, and you can translate it through your web browser. 39 44 … … 43 48 44 49 == Changelog == 50 51 = 1.6.2 = 52 * Improvement: Adapted to the latest SaFly Cloud API Release 2.6.1 45 53 46 54 = 1.6.1 = … … 52 60 * Improvement: Adapted to the latest SaFly Cloud API Release 2.6.0 53 61 * More about SaFly Cloud API Release 2.6.0: (https://blog.safly.org/safly-cloud-api-release-2-6-0/) 54 * 优化了 SaFly API System 核心55 * 新的 API KEY 认证方式:IP, TIME, DOUBLE 以及 PLUS 安全认证 (https://blog.safly.org/safly-cloud-api-sign-2-0/)56 * 更新了 API 模块:SaFly Interact WAF™,模块代码:00157 * 增加了 SaFly AVATAR 服务器:avatar.safly.org, avatar2.safly.org58 * 更新了 WordPress 插件 SaFly Cloud Protection 1.6.0,适配 SaFly Cloud API Release 2.6.059 * 更新了管理控制台 OranMe JUICE,适配 SaFly Cloud API Release 2.6.060 * 重新修订了 API 文档61 62 62 63 = 1.0.2 = … … 76 77 == Upgrade Notice == 77 78 79 = 1.6.2 = 80 Improvement: Adapted to the latest SaFly Cloud API Release 2.6.1 81 78 82 = 1.6.1 = 79 83 Some bugfixes. -
safly-cloud-protection/trunk/safly-protection.php
r1391153 r1421523 4 4 Plugin URI: https://www.safly.org 5 5 Description: A secure plug-in which helps you be away from being collected, brute force attack and so on, Based on SaFly Cloud API, Designed by SaFly.ORG™. 多方位保护您的 WordPress,基于 SaFly Interact WAF™ 技术。 6 Version: 1.6. 16 Version: 1.6.2 7 7 Author: SaFly.ORG™ 8 8 Author URI: https://safly.org … … 35 35 } 36 36 37 define('SaFly_VERSION', '1.6. 1');37 define('SaFly_VERSION', '1.6.2'); 38 38 define('SaFly_DIR', plugin_dir_path(__FILE__)); 39 39 define('SaFly_URL', plugin_dir_url(__FILE__)); -
safly-cloud-protection/trunk/wrapper.php
r1391153 r1421523 12 12 $safly_options['ifpostoff'] = 'on'; 13 13 $safly_options['level'] = 'medium'; 14 $safly_options['saflywafserver'] = 'http ://compatible.waf.oranme.com';14 $safly_options['saflywafserver'] = 'https://ips.waf.name'; 15 15 $safly_serialize = serialize($safly_options); 16 16 update_option('saflyoptions', $safly_serialize); … … 118 118 { 119 119 global $safly_api_domain, $saflysalt, $saflysign; 120 global $safly_api_server_url, $safly_ip, $safly_level ;121 $safly_interact_api = "{$safly_api_server_url}/api/saflyinteract/?ip={$safly_ip}&level={$safly_level}& apidomain={$safly_api_domain}&salt={$saflysalt}&sign={$saflysign}";120 global $safly_api_server_url, $safly_ip, $safly_level, $safly_current_url; 121 $safly_interact_api = "{$safly_api_server_url}/api/saflyinteract/?ip={$safly_ip}&level={$safly_level}&uri={$safly_current_url}&apidomain={$safly_api_domain}&salt={$saflysalt}&sign={$saflysign}"; 122 122 $safly_ch = curl_init(); 123 123 curl_setopt($safly_ch, CURLOPT_URL, $safly_interact_api); … … 150 150 $safly_current_url = 'https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; 151 151 } 152 $safly_current_url = base64_encode($safly_current_url); 152 153 } 153 154
Note: See TracChangeset
for help on using the changeset viewer.