Priority File Manager

📁 public_html
Base Directory:
/home/ecedu/public_html/wp-content/plugins/really-simple-ssl
NameTypeSizeActions
📁 .. Folder -
📄 .wp-env.json File 469
Edit Download
📄 SECURITY.md File 1209
Edit Download
📁 assets Folder -
📄 class-admin.php File 110001
Edit Download
📄 class-cache.php File 3300
Edit Download
📄 class-certificate.php File 7565
Edit Download
📄 class-front-end.php File 2091
Edit Download
📄 class-installer.php File 4574
Edit Download
📄 class-mixed-content-fixer.php File 5681
Edit Download
📄 class-multisite.php File 21373
Edit Download
📄 class-really-simple-ssl.php File 26358
Edit Download
📄 class-server.php File 4547
Edit Download
📄 class-site-health.php File 14578
Edit Download
📄 class-wp-cli.php File 56067
Edit Download
📄 compatibility.php File 2193
Edit Download
📄 force-deactivate.txt File 3869
Edit Download
📄 functions.php File 20782
Edit Download
📄 index.php File 35
Edit Download
📁 languages Folder -
📁 lets-encrypt Folder -
📁 lib Folder -
📁 mailer Folder -
📁 modal Folder -
📁 onboarding Folder -
📁 placeholders Folder -
📁 progress Folder -
📄 readme.txt File 33148
Edit Download
📄 rector.php File 1091
Edit Download
📄 rlrsssl-really-simple-ssl.php File 12565
Edit Download
📄 rsssl-auto-loader.php File 1925
Edit Download
📄 sbom.json.gz File 23020
Edit Download
📁 security Folder -
📁 settings Folder -
📄 ssl-test-page.php File 1950
Edit Download
📄 system-status.php File 17301
Edit Download
📁 testssl Folder -
📄 uninstall.php File 6092
Edit Download
📁 upgrade Folder -
📄 upgrade.php File 11673
Edit Download

View File: ssl-test-page.php

<html>
<head>
	<meta charset="UTF-8">
	<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
</head>
<body>
<h1>#SSL TEST PAGE#</h1>
<p>This page is used purely to test for SSL availability.</p>
<?php
$rsssl_ssl_detected = false;
if ( isset( $_SERVER['HTTPS'] ) ) {
	if ( strtolower( $_SERVER['HTTPS'] ) === 'on' ) {

		echo '#SERVER-HTTPS-ON#' . ' (' . htmlentities( $_SERVER['HTTPS'], ENT_QUOTES, 'UTF-8' ) . ')<br>';
		$rsssl_ssl_detected = true;
	}
	if ( '1' === $_SERVER['HTTPS'] ) {
		echo '#SERVER-HTTPS-1#<br>';
		$rsssl_ssl_detected = true;
	}
}

if ( isset( $_SERVER['SERVER_PORT'] ) && '443' === $_SERVER['SERVER_PORT'] ) {
	echo '#SERVERPORT443#<br>';
	$rsssl_ssl_detected = true;
}

if ( isset( $_ENV['HTTPS'] ) && 'on' === $_ENV['HTTPS'] ) {
	echo '#ENVHTTPS#<br>';
	$rsssl_ssl_detected = true;
}

if ( ! empty( $_SERVER['HTTP_CLOUDFRONT_FORWARDED_PROTO'] ) && 'https' === $_SERVER['HTTP_CLOUDFRONT_FORWARDED_PROTO'] ) {
	echo '#CLOUDFRONT#<br>';
	$rsssl_ssl_detected = true;
}

if ( ! empty( $_SERVER['HTTP_CF_VISITOR'] ) && false !== strpos( $_SERVER['HTTP_CF_VISITOR'], 'https' ) ) {
	echo '#CLOUDFLARE#<br>';
	$rsssl_ssl_detected = true;
}

if ( ! empty( $_SERVER['HTTP_X_FORWARDED_PROTO'] ) && 'https' === $_SERVER['HTTP_X_FORWARDED_PROTO'] ) {
	echo '#LOADBALANCER#<br>';
	$rsssl_ssl_detected = true;
}

if ( ! empty( $_SERVER['HTTP_X_PROTO'] ) && 'SSL' === $_SERVER['HTTP_X_PROTO'] ) {
	echo '#HTTP_X_PROTO#<br>';
	$rsssl_ssl_detected = true;
}

if ( ! empty( $_SERVER['HTTP_X_FORWARDED_SSL'] ) && 'on' === $_SERVER['HTTP_X_FORWARDED_SSL'] ) {
	echo '#HTTP_X_FORWARDED_SSL_ON#<br>';
	$rsssl_ssl_detected = true;
}

if ( ! empty( $_SERVER['HTTP_X_FORWARDED_SSL'] ) && '1' === $_SERVER['HTTP_X_FORWARDED_SSL'] ) {
	echo '#HTTP_X_FORWARDED_SSL_1#<br>';
	$rsssl_ssl_detected = true;
}

if ( $rsssl_ssl_detected ) {
	echo '<br>#SUCCESSFULLY DETECTED SSL#';
} else {
	echo '<br>#NO KNOWN SSL CONFIGURATION DETECTED#';
}
?>

</body>
</html>