Changeset 642435
- Timestamp:
- 12/20/2012 06:08:32 PM (13 years ago)
- Location:
- 6scan-protection/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-protection/trunk/6scan.php
r634376 r642435 5 5 Description: 6Scan Security provides enterprise-grade security with a firewall, automatic backup, analytics and much more. 6 6 Author: 6Scan 7 Version: 2.3. 07 Version: 2.3.1 8 8 Author URI: http://www.6scan.com 9 9 */ -
6scan-protection/trunk/admin/includes/common.php
r634376 r642435 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-protection/trunk/admin/includes/installation.php
r634376 r642435 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-protection/trunk/data/regpage/reg.html
r637565 r642435 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-protection/trunk/readme.txt
r637565 r642435 1 1 === 6Scan Security === 2 2 Contributors: 6Scan 3 Version: 2.3. 03 Version: 2.3.1 4 4 Tags: security,secure,wordpress security,firewall,antivirus,security plugin,securty,protection,anti-hack,hack,scan,exploit,anti-virus 5 5 Requires at least: 3.0.0 … … 297 297 * Supports Wordpress 3.5 298 298 299 = 2.3.1 = 300 * Minor bugfixes 301 299 302 300 303 == Upgrade Notice ==
Note: See TracChangeset
for help on using the changeset viewer.