/
home
/
altere25
/
sportzsoftlivemeet.com
/
wp-content
/
plugins
/
really-simple-ssl
/
/home/altere25/sportzsoftlivemeet.com/wp-content/plugins/really-simple-ssl
mkdir
upload
Name
Size
Mode
Actions
assets/
-
0755
rm
core/
-
0755
rm
css/
-
0755
rm
img/
-
0755
rm
languages/
-
0755
rm
lets-encrypt/
-
0755
rm
lib/
-
0755
rm
mailer/
-
0755
rm
modal/
-
0755
rm
onboarding/
-
0755
rm
placeholders/
-
0755
rm
progress/
-
0755
rm
security/
-
0755
rm
settings/
-
0755
rm
testssl/
-
0755
rm
upgrade/
-
0755
rm
.wp-env.json
469
0644
edit
dl
rm
class-admin.php
164075
0644
edit
dl
rm
class-cache.php
1757
0644
edit
dl
rm
class-certificate.php
6318
0644
edit
dl
rm
class-front-end.php
5632
0644
edit
dl
rm
class-help.php
724
0644
edit
dl
rm
class-installer.php
4507
0644
edit
dl
rm
class-mixed-content-fixer.php
5732
0644
edit
dl
rm
class-multisite.php
44350
0644
edit
dl
rm
class-rsssl-wp-cli.php
574
0644
edit
dl
rm
class-server.php
1486
0644
edit
dl
rm
class-site-health.php
2018
0644
edit
dl
rm
class-url.php
40
0644
edit
dl
rm
class-wp-cli.php
1871
0644
edit
dl
rm
compatibility.php
2165
0644
edit
dl
rm
composer.json
546
0644
edit
dl
rm
force-deactivate.txt
3980
0644
edit
dl
rm
functions.php
5737
0644
edit
dl
rm
gulpfile.js
1562
0644
edit
dl
rm
index.php
34
0644
edit
dl
rm
LICENSE.txt
18416
0644
edit
dl
rm
multisite-cron.php
1299
0644
edit
dl
rm
readme.txt
27587
0644
edit
dl
rm
rector.php
1091
0644
edit
dl
rm
rlrsssl-really-simple-ssl.php
4582
0644
edit
dl
rm
rsssl-auto-loader.php
1925
0644
edit
dl
rm
sbom.json.gz
23020
0644
edit
dl
rm
security.md
686
0644
edit
dl
rm
SECURITY.md
1209
0644
edit
dl
rm
ssl-test-page.php
1819
0644
edit
dl
rm
system-status.php
8001
0644
edit
dl
rm
uninstall.php
354
0644
edit
dl
rm
upgrade.php
9122
0644
edit
dl
rm
Edit:
/home/altere25/sportzsoftlivemeet.com/wp-content/plugins/really-simple-ssl/system-status.php
(8001B)
<?php # No need for the template engine if ( ! defined( 'WP_USE_THEMES' ) ) { define( 'WP_USE_THEMES', false ); // phpcs:ignore } //we set wp admin to true, so the backend features get loaded. if ( ! defined( 'RSSSL_DOING_SYSTEM_STATUS' ) ) { define( 'RSSSL_DOING_SYSTEM_STATUS', true ); // phpcs:ignore } #find the base path if ( ! defined( 'BASE_PATH' ) ) { define( 'BASE_PATH', rsssl_find_wordpress_base_path() . '/' ); } # Load WordPress Core if ( ! file_exists( BASE_PATH . 'wp-load.php' ) ) { die( 'WordPress not installed here' ); } require_once BASE_PATH . 'wp-load.php'; require_once ABSPATH . 'wp-includes/class-phpass.php'; require_once ABSPATH . 'wp-admin/includes/image.php'; require_once ABSPATH . 'wp-admin/includes/plugin.php'; //by deleting these we make sure these functions run again delete_transient( 'rsssl_testpage' ); function rsssl_get_system_status() { $output = ''; global $wp_version; $output .= "General\n"; $output .= 'Domain: ' . site_url() . "\n"; $output .= 'Plugin version: ' . rsssl_version . "\n"; $output .= 'WordPress version: ' . $wp_version . "\n"; if ( RSSSL()->certificate->is_valid() ) { $output .= "SSL certificate is valid\n"; } else { if ( ! function_exists( 'stream_context_get_params' ) ) { $output .= "stream_context_get_params not available\n"; } elseif ( RSSSL()->certificate->detection_failed() ) { $output .= "Not able to detect certificate\n"; } else { $output .= "Invalid SSL certificate\n"; } } $output .= ( rsssl_get_option( 'ssl_enabled' ) ) ? "SSL is enabled\n\n" : "SSL is not yet enabled\n\n"; $output .= "Options\n"; if ( rsssl_get_option( 'mixed_content_fixer' ) ) { $output .= "* Mixed content fixer\n"; } $output .= '* WordPress redirect' . rsssl_get_option( 'redirect' ) . "\n"; if ( rsssl_get_option( 'switch_mixed_content_fixer_hook' ) ) { $output .= "* Use alternative method to fix mixed content\n"; } if ( rsssl_get_option( 'dismiss_all_notices' ) ) { $output .= "* Dismiss all Really Simple SSL notices\n"; } $output .= "\n"; $output .= "Server information\n"; $output .= 'Server: ' . RSSSL()->server->get_server() . "\n"; $output .= 'SSL Type: ' . RSSSL()->admin->ssl_type . "\n"; if ( function_exists( 'phpversion' ) ) { $output .= 'PHP Version: ' . phpversion() . "\n"; } if ( is_multisite() ) { $output .= "MULTISITE\n"; } if ( rsssl_is_networkwide_active() ) { $output .= "Really Simple SSL network wide activated\n"; } elseif ( is_multisite() ) { $output .= "Really Simple SSL per site activated\n"; } $output .= '<br>' . '<b>' . 'SSL Configuration' . '</b>'; $domain = RSSSL()->certificate->get_domain(); $certinfo = RSSSL()->certificate->get_certinfo( $domain ); if ( ! $certinfo ) { $output .= 'SSL certificate not valid<br>'; } $domain_valid = RSSSL()->certificate->is_domain_valid( $certinfo, $domain ); if ( ! $domain_valid ) { $output .= "Domain on certificate does not match website's domain<br>"; } $date_valid = RSSSL()->certificate->is_date_valid( $certinfo ); if ( ! $date_valid ) { $output .= 'Date on certificate expired or not valid<br>'; } $filecontents = get_transient( 'rsssl_testpage' ); if ( strpos( $filecontents, '#SSL TEST PAGE#' ) !== false ) { $output .= 'SSL test page loaded successfully<br>'; } else { $output .= 'Could not open testpage<br>'; } if ( RSSSL()->admin->wpconfig_siteurl_not_fixed ) { $output .= 'siteurl or home url defines found in wpconfig<br>'; } if ( RSSSL()->admin->wpconfig_siteurl_not_fixed ) { $output .= 'not able to fix wpconfig siteurl/homeurl.<br>'; } if ( ! is_writable( RSSSL()->admin->find_wp_config_path() ) ) { $output .= 'wp-config.php not writable<br>'; } $output .= 'Detected SSL setup: ' . RSSSL()->admin->ssl_type . '<br>'; if ( file_exists( RSSSL()->admin->htaccess_file() ) ) { $output .= 'htaccess file exists.<br>'; if ( ! is_writable( RSSSL()->admin->htaccess_file() ) ) { $output .= 'htaccess file not writable.<br>'; } } else { $output .= 'no htaccess file available.<br>'; } if ( get_transient( 'rsssl_htaccess_test_success' ) === 'success' ) { $output .= 'htaccess redirect tested successfully.<br>'; } elseif ( get_transient( 'rsssl_htaccess_test_success' ) === 'error' ) { $output .= 'htaccess redirect test failed.<br>'; } elseif ( get_transient( 'rsssl_htaccess_test_success' ) === 'no-response' ) { $output .= 'htaccess redirect test failed: no response from server.<br>'; } $mixed_content_fixer_detected = get_transient( 'rsssl_mixed_content_fixer_detected' ); if ( 'no-response' === $mixed_content_fixer_detected ) { $output .= 'Could not connect to webpage to detect mixed content fixer<br>'; } if ( 'not-found' === $mixed_content_fixer_detected ) { $output .= 'Mixed content marker not found in websource<br>'; } if ( 'error' === $mixed_content_fixer_detected ) { $output .= 'Mixed content marker not found: unknown error<br>'; } if ( 'curl-error' === $mixed_content_fixer_detected ) { //Site has has a cURL error $output .= 'Mixed content fixer could not be detected: cURL error<br>'; } if ( 'found' === $mixed_content_fixer_detected ) { $output .= 'Mixed content fixer successfully detected<br>'; } if ( ! rsssl_get_option( 'mixed_content_fixer' ) ) { $output .= 'Mixed content fixer not enabled<br>'; } if ( ! RSSSL()->admin->htaccess_contains_redirect_rules() ) { $output .= '.htaccess does not contain default Really Simple SSL redirect.<br>'; } $output .= "\nConstants\n"; if ( defined( 'RSSSL_FORCE_ACTIVATE' ) ) { $output .= "RSSSL_FORCE_ACTIVATE defined\n"; } if ( defined( 'RSSSL_NO_FLUSH' ) ) { $output .= 'RSSSL_NO_FLUSH defined'; } if ( defined( 'RSSSL_DISMISS_ACTIVATE_SSL_NOTICE' ) ) { $output .= "RSSSL_DISMISS_ACTIVATE_SSL_NOTICE defined\n"; } if ( defined( 'RSSSL_SAFE_MODE' ) ) { $output .= "RSSSL_SAFE_MODE defined\n"; } if ( defined( 'RSSSL_SERVER_OVERRIDE' ) ) { $output .= "RSSSL_SERVER_OVERRIDE defined\n"; } if ( ! defined( 'RSSSL_FORCE_ACTIVATE' ) && ! defined( 'RSSSL_NO_FLUSH' ) && ! defined( 'RSSSL_DISMISS_ACTIVATE_SSL_NOTICE' ) && ! defined( 'RSSSL_SAFE_MODE' ) && ! defined( 'RSSSL_SERVER_OVERRIDE' ) ) { $output .= "No constants defined\n"; } return $output; } if ( rsssl_user_can_manage() && isset( $_GET['download'] ) ) { $rsssl_content = rsssl_get_system_status(); $rsssl_fsize = function_exists( 'mb_strlen' ) ? mb_strlen( $rsssl_content, '8bit' ) : strlen( $rsssl_content ); $rsssl_file_name = 'really-simple-ssl-system-status.txt'; //direct download header( 'Content-type: application/octet-stream' ); header( 'Content-Disposition: attachment; filename="' . $rsssl_file_name . '"' ); //open in browser //header("Content-Disposition: inline; filename=\"".$file_name."\""); header( "Content-length: $rsssl_fsize" ); header( 'Cache-Control: private', false ); // required for certain browsers header( 'Pragma: public' ); // required header( 'Expires: 0' ); header( 'Cache-Control: must-revalidate, post-check=0, pre-check=0' ); header( 'Content-Transfer-Encoding: binary' ); echo $rsssl_content; } function rsssl_find_wordpress_base_path() { $path = __DIR__; do { if ( file_exists( $path . '/wp-config.php' ) ) { //check if the wp-load.php file exists here. If not, we assume it's in a subdir. if ( file_exists( $path . '/wp-load.php' ) ) { return $path; } else { //wp not in this directory. Look in each folder to see if it's there. if ( file_exists( $path ) && $handle = opendir( $path ) ) { //phpcs:ignore while ( false !== ( $file = readdir( $handle ) ) ) {//phpcs:ignore if ( '.' !== $file && '..' !== $file ) { $file = $path . '/' . $file; if ( is_dir( $file ) && file_exists( $file . '/wp-load.php' ) ) { $path = $file; break; } } } closedir( $handle ); } } return $path; } } while ( $path = realpath( "$path/.." ) ); //phpcs:ignore return false; }
Save
cmd:
run