Plugin Directory

Changeset 1421523


Ignore:
Timestamp:
05/21/2016 02:13:38 PM (10 years ago)
Author:
safly
Message:

1.6.2

Location:
safly-cloud-protection
Files:
15 added
3 edited

Legend:

Unmodified
Added
Removed
  • safly-cloud-protection/trunk/readme.txt

    r1391153 r1421523  
    33Tags: security, secure, login, lockdown, hack, ban, restrict, access, protect, protection, admin, username, safly, org, api, cloud, ip, china, cn
    44Requires at least: 3.0.1
    5 Tested up to: 4.4.1
    6 Stable tag: 1.6.1
     5Tested up to: 4.5.2
     6Stable tag: 1.6.2
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2323== Installation ==
    2424
    25 1. Download
    26 2. Upload to your `/wp-contents/plugins/` directory.
    27 3. Activate the plugin through the 'Plugins' menu in WordPress.
     25The easy way:
     26* Go to the Plugins Menu in WordPress
     27* Search for "SaFly Cloud Protection"
     28* Click "Install"
     29
     30The 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
    2833
    2934== Frequently Asked Questions ==
     
    3136= How to use SaFly Cloud Protection? =
    3237
    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.
     38Just 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.
    3439
    3540= How to get the API KEY? =
    3641
    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.
     42Register 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.
    3843Notice: [JUICE.ORANME.COM] is in English, and you can translate it through your web browser.
    3944
     
    4348
    4449== Changelog ==
     50
     51= 1.6.2 =
     52* Improvement: Adapted to the latest SaFly Cloud API Release 2.6.1
    4553
    4654= 1.6.1 =
     
    5260* Improvement: Adapted to the latest SaFly Cloud API Release 2.6.0
    5361* 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™,模块代码:001
    57 * 增加了 SaFly AVATAR 服务器:avatar.safly.org, avatar2.safly.org
    58 * 更新了 WordPress 插件 SaFly Cloud Protection 1.6.0,适配 SaFly Cloud API Release 2.6.0
    59 * 更新了管理控制台 OranMe JUICE,适配 SaFly Cloud API Release 2.6.0
    60 * 重新修订了 API 文档
    6162
    6263= 1.0.2 =
     
    7677== Upgrade Notice ==
    7778
     79= 1.6.2 =
     80Improvement: Adapted to the latest SaFly Cloud API Release 2.6.1
     81
    7882= 1.6.1 =
    7983Some bugfixes.
  • safly-cloud-protection/trunk/safly-protection.php

    r1391153 r1421523  
    44Plugin URI: https://www.safly.org
    55Description: 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.1
     6Version: 1.6.2
    77Author: SaFly.ORG™
    88Author URI: https://safly.org
     
    3535}
    3636
    37 define('SaFly_VERSION', '1.6.1');
     37define('SaFly_VERSION', '1.6.2');
    3838define('SaFly_DIR', plugin_dir_path(__FILE__));
    3939define('SaFly_URL', plugin_dir_url(__FILE__));
  • safly-cloud-protection/trunk/wrapper.php

    r1391153 r1421523  
    1212    $safly_options['ifpostoff']           = 'on';
    1313    $safly_options['level']               = 'medium';
    14     $safly_options['saflywafserver']      = 'http://compatible.waf.oranme.com';
     14    $safly_options['saflywafserver']      = 'https://ips.waf.name';
    1515    $safly_serialize                      = serialize($safly_options);
    1616    update_option('saflyoptions', $safly_serialize);
     
    118118{
    119119    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}";
    122122    $safly_ch = curl_init();
    123123    curl_setopt($safly_ch, CURLOPT_URL, $safly_interact_api);
     
    150150        $safly_current_url = 'https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
    151151    }
     152    $safly_current_url = base64_encode($safly_current_url);
    152153}
    153154
Note: See TracChangeset for help on using the changeset viewer.