Plugin Directory

Changeset 652986


Ignore:
Timestamp:
01/15/2013 02:16:04 PM (13 years ago)
Author:
6Scan
Message:

6Scan Security now allows users to access their security dashboard of all registered websites. To allow that, newly registered users now have to enter a password (while activating the plugin)

Location:
6scan-protection/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • 6scan-protection/trunk/6scan.php

    r652001 r652986  
    55Description: 6Scan Security provides enterprise-grade security with a firewall, automatic backup, analytics and much more.
    66Author: 6Scan
    7 Version: 2.3.2
     7Version: 3.0.1
    88Author URI: http://www.6scan.com
    99*/
  • 6scan-protection/trunk/admin/includes/common.php

    r652001 r652986  
    44    die( 'No direct access allowed' );
    55
    6 define ( 'SIXSCAN_VERSION' ,                            '2.3.2.0' );
     6define ( 'SIXSCAN_VERSION' ,                            '3.0.1.0' );
    77define ( 'SIXSCAN_HTACCESS_VERSION' ,                   '1' );
    88
  • 6scan-protection/trunk/admin/includes/installation.php

    r652001 r652986  
    331331   
    332332    $admin_email = isset( $_REQUEST['email'] ) ? $_REQUEST['email'] : "";
    333    
     333    $admin_pass = isset( $_REQUEST['password'] ) ? $_REQUEST['password'] : "";
     334
    334335    /*  If there is partner file, partner_id and partner_key are filled */
    335336    sixscan_installation_partner_info_get( $partner_id , $partner_key );
    336337
    337338    $sixscan_register_result = sixscan_communication_oracle_reg_register( get_option( 'siteurl' ) ,
    338                             $admin_email , SIXSCAN_PLUGIN_URL . "modules/signatures/notice.php" ,
     339                            $admin_email , $admin_pass,  SIXSCAN_PLUGIN_URL . "modules/signatures/notice.php" ,
    339340                            $sixscan_oracle_auth_struct , $partner_id , $partner_key , $tmpkey );           
    340341
     
    412413        print "<p><h1>6Scan requires filesystem credentials to update signature files - fill the information below and click proceed</h1></p>";
    413414
    414     /* request_filesystem_credentials() has to pass $_POST['email'] to the next registration stage */
    415     if ( ( $creds = request_filesystem_credentials( $url , '' , FALSE , FALSE, array( 'email' , 'agree' , '_sixscannonce' ) ) ) !== FALSE ){   
     415    /* request_filesystem_credentials() has to pass $_POST['email'] + $_POST['password'] to the next registration stage */
     416    if ( ( $creds = request_filesystem_credentials( $url , '' , FALSE , FALSE, array( 'email' , 'password' , 'agree' , '_sixscannonce' ) ) ) !== FALSE ){   
    416417        if ( ! WP_Filesystem( $creds ) ) {
    417418            /* Current POST data failed, present new form . Error is now "TRUE" */
    418             request_filesystem_credentials( $url , '' , TRUE , FALSE , array( 'email' , 'agree' , '_sixscannonce' ) );
     419            request_filesystem_credentials( $url , '' , TRUE , FALSE , array( 'email' , 'password' , 'agree' , '_sixscannonce' ) );
    419420        }
    420421        else{           
  • 6scan-protection/trunk/data/regpage/reg.html

    r642435 r652986  
    306306    <div id='register_box'>
    307307        <div class="title">         
    308             <h2 id='register_status_inf'>Create 6Scan Account.</h2>           
     308            <h2 id='register_status_inf'>Create 6Scan Account</h2>           
    309309        </div>
    310310        <form method='post' action="" onsubmit="return check_submit();">                   
     
    317317                    <label for="email">Email</label>
    318318                    <input type="text"  value="_email_value_sixscan" name="email" id="email" placeholder="Email" />
     319                </span>
     320                <br/>
     321                <span>
     322                    <label for="password">Password</label>
     323                    <input type="password"  value="" name="password" id="password" placeholder="Password" />
    319324                </span>
    320325            </p>
  • 6scan-protection/trunk/modules/communication/oracle-reg.php

    r576663 r652986  
    55
    66/*  Register new user/site */
    7 function sixscan_communication_oracle_reg_register( $site_url , $user_email , $notice_script_url , & $sixscan_oracle_auth_struct , $partner_id , $partner_key , $dbkey ){
     7function sixscan_communication_oracle_reg_register( $site_url , $user_email , $user_password, $notice_script_url , & $sixscan_oracle_auth_struct , $partner_id , $partner_key , $dbkey ){
    88       
    99    $expected = array( "site_id" , "api_token" , "dashboard_token" , "verification_token" );
     
    1515        /*  Sending registration data to server, using GET */
    1616        $request_register_url = SIXSCAN_BODYGUARD_REGISTER_URL ."?platform=" . SIXSCAN_PLATFORM_TYPE . "&platform_version=" . sixscan_common_get_wp_version() . "&platform_locale="
    17         . get_locale() . "&current_version=" . SIXSCAN_VERSION . "&url=$site_url&email=$user_email&notice_script_url=$relative_notice_url&dbkey=$dbkey";
     17        . get_locale() . "&current_version=" . SIXSCAN_VERSION . "&url=$site_url&email=$user_email&password=$user_password&notice_script_url=$relative_notice_url&dbkey=$dbkey";
    1818       
    1919        /*  If partner ID and Key exists, add it to registration request. */       
  • 6scan-protection/trunk/modules/signatures/loginsec.php

    r551328 r652986  
    3939   
    4040    $is_to_block_user = false;
    41     $loginsec_options = get_option( SIXSCAN_OPTION_LOGIN_SETTINGS );   
     41    $loginsec_options = false;
     42   
     43    if ( is_array(  get_option( SIXSCAN_OPTION_LOGIN_SETTINGS ) ) )
     44        $loginsec_options = array();
    4245
    4346    /*  Handle login count */
  • 6scan-protection/trunk/readme.txt

    r652448 r652986  
    11=== 6Scan Security ===
    22Contributors: 6Scan
    3 Version: 2.3.2
     3Version: 3.0.1
    44Tags: security,secure,wordpress security,firewall,antivirus,security plugin,securty,protection,anti-hack,hack,scan,exploit,anti-virus
    55Requires at least: 3.0.0
     
    303303* A minor UI change. During plugin's reactivation user could see a "register" while already logged into his secure dashboard
    304304
     305= 3.0.1 =
     306* 6Scan Security now allows users to access their security dashboard of all registered websites. To allow that, newly registered users now have to enter a password (while activating the plugin)
     307
    305308== Upgrade Notice ==
    306309
Note: See TracChangeset for help on using the changeset viewer.