Changeset 642439
- Timestamp:
- 12/20/2012 06:13:44 PM (13 years ago)
- Location:
- 6scan-backup/trunk
- Files:
-
- 5 edited
-
6scan.php (modified) (1 diff)
-
admin/includes/common.php (modified) (2 diffs)
-
admin/includes/installation.php (modified) (5 diffs)
-
data/regpage/reg.html (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
6scan-backup/trunk/6scan.php
r637584 r642439 5 5 Description: 6Scan Backup goes beyond existing backup plugins, easily and automatically creating backups of your site and securely storing them in the cloud. 6 6 Author: 6Scan 7 Version: 2.3. 07 Version: 2.3.1 8 8 Author URI: http://www.6scan.com 9 9 */ -
6scan-backup/trunk/admin/includes/common.php
r637584 r642439 4 4 die( 'No direct access allowed' ); 5 5 6 define ( 'SIXSCAN_VERSION' , '2.3. 0.0' );6 define ( 'SIXSCAN_VERSION' , '2.3.1.0' ); 7 7 define ( 'SIXSCAN_HTACCESS_VERSION' , '1' ); 8 8 … … 93 93 define ( 'SIXSCAN_SIGNATURE_LINKS_DELIMITER', "\n" ); 94 94 define ( 'SIXSCAN_SIGNATURE_MULTIPART_DELIMITER', '###UZhup3v1ENMefI7Wy44QNppgZmp0cu6RPenZewotclc2ZCWUDE4zAfXIJX354turrscbFBL2pOiKpiNLYosm6Z1Qp8b3PNjgd1xqtuskjcT9MC4fZvQfx7FPUDF11oTiTrMeayQr7JHk3UuEK7fR0###' ); 95 define ( 'SIXSCAN_SIGNATURE_SCANNER_IP_LIST', '108.59.1.37, 108.59.5.197, 108.59.2.209, 95.211.58.114, 95.211.70.82, 107.22.183.61, 78.47.11.131 ' );95 define ( 'SIXSCAN_SIGNATURE_SCANNER_IP_LIST', '108.59.1.37, 108.59.5.197, 108.59.2.209, 95.211.58.114, 95.211.70.82, 107.22.183.61, 78.47.11.131, 199.115.112.90' ); 96 96 define ( 'SIXSCAN_SIGNATURE_DEFAULT_PLACEHOLDER_LINK', '/just/a/random/dir/to/avoid/htaccess/mixups\.php' ); 97 97 -
6scan-backup/trunk/admin/includes/installation.php
r637584 r642439 87 87 When the current page is 6Scan Dashboard - show him the registration page 88 88 */ 89 $just_activated = isset( $_ GET[ 'activate' ] ) ? strtolower( $_GET[ 'activate' ] ) : '';90 $current_page = isset( $_ GET[ 'page' ] ) ? strtolower( $_GET[ 'page' ] ) : '';91 $agree_val = isset( $_ GET[ 'agree' ] ) ? strtolower( $_GET[ 'agree' ] ) : '';89 $just_activated = isset( $_REQUEST[ 'activate' ] ) ? strtolower( $_REQUEST[ 'activate' ] ) : ''; 90 $current_page = isset( $_REQUEST[ 'page' ] ) ? strtolower( $_REQUEST[ 'page' ] ) : ''; 91 $agree_val = isset( $_REQUEST[ 'agree' ] ) ? strtolower( $_REQUEST[ 'agree' ] ) : ''; 92 92 93 93 if ( $just_activated == 'true' ){ … … 109 109 $registration_page = str_replace ( $replaced_values , $new_values , $registration_page ); 110 110 111 112 113 111 print $registration_page; 114 112 return FALSE; … … 116 114 117 115 /* Origin verification */ 118 if (! wp_verify_nonce( $_ GET[ '_sixscannonce' ], 'sixscan_registration_html') ) die( 'Security failure' );116 if (! wp_verify_nonce( $_REQUEST[ '_sixscannonce' ], 'sixscan_registration_html') ) die( 'Security failure' ); 119 117 120 118 /* User clicked 'yes'. Continue to registration */ 121 if ( $agree_val == 'yes' ){119 if ( $agree_val == 'yes' ){ 122 120 return TRUE; 123 121 } … … 329 327 function sixscan_installation_register_with_server( $tmpkey ){ 330 328 331 $admin_email = isset( $_ GET['email'] ) ? $_GET['email'] : "";329 $admin_email = isset( $_REQUEST['email'] ) ? $_REQUEST['email'] : ""; 332 330 333 331 /* If there is partner file, partner_id and partner_key are filled */ … … 411 409 print "<p><h1>6Scan requires filesystem credentials to update signature files - fill the information below and click proceed</h1></p>"; 412 410 413 if ( ( $creds = request_filesystem_credentials( $url ) ) !== FALSE ){ 411 /* request_filesystem_credentials() has to pass $_POST['email'] to the next registration stage */ 412 if ( ( $creds = request_filesystem_credentials( $url , '' , FALSE , FALSE, array( 'email' , 'agree' , '_sixscannonce' ) ) ) !== FALSE ){ 414 413 if ( ! WP_Filesystem( $creds ) ) { 415 414 /* Current POST data failed, present new form . Error is now "TRUE" */ 416 request_filesystem_credentials( $url , '' , TRUE );415 request_filesystem_credentials( $url , '' , TRUE , FALSE , array( 'email' , 'agree' , '_sixscannonce' ) ); 417 416 } 418 417 else{ -
6scan-backup/trunk/data/regpage/reg.html
r637584 r642439 308 308 <h2 id='register_status_inf'>Create 6Scan Account.</h2> 309 309 </div> 310 <form method=' get' action="" onsubmit="return check_submit();">310 <form method='post' action="" onsubmit="return check_submit();"> 311 311 <input type=hidden name="page" value="_page_value_sixscan"> 312 312 <input type=hidden name='_sixscannonce' value="_nonce_value_sixscan"> -
6scan-backup/trunk/readme.txt
r597897 r642439 1 1 === 6Scan Backup === 2 2 Contributors: 6Scan 3 Version: 2. 2.93 Version: 2.3.1 4 4 Tags: backup, automatic backup, cloud, online, secured, restore, recovery 5 5 Requires at least: 3.0.0 6 Tested up to: 3. 4.26 Tested up to: 3.5 7 7 Stable tag: trunk 8 8 … … 168 168 * Changed path references from 'direct' access constants (like 'ABSPATH') to their wp_filesystem counterparts (like $wp_filesystem->abspath). This is used to create backups in filesystems, where FTP credentials are required to access the files (Read/write permissions issues) 169 169 170 = 2.3.0 = 171 * Fixed a bug during install with wp_filesystem() 172 * When user clicks "Activation" he sees a local page with terms, textbox for his email address and an "Install" button. Registration data (user's email and url) will be passed to 6Scan server only after user clicks Install. 173 * Supports Wordpress 3.5 174 175 = 2.3.1 = 176 * Minor bugfixes 170 177 171 178 == Upgrade Notice ==
Note: See TracChangeset
for help on using the changeset viewer.