Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
canvas-demo-techex17/test-app/htdocs/index.php
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
58 lines (41 sloc)
1.94 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<!-- Latest compiled and minified CSS --> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> | |
<!-- Optional theme --> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous"> | |
<!-- Latest compiled and minified JavaScript --> | |
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
</head> | |
<body> | |
<?php | |
echo "<div class='container'><h1>Welcome to TIER University Portal!</h1><hr>"; | |
echo "<h2>Hello " . $_SERVER['cn'] . ".</h2>"; | |
echo "It's a beautiful day in this neighborhood. <br /><br />"; | |
echo "Some links that might interest you: <br />"; | |
echo "<ul>"; | |
echo "<li><a href='http://localhost:8080'>Grouper Backdoor (bypass Shib Auth)</a></li>"; | |
echo "<li><a href='https://localhost:9443/grouper'>Grouper (using Shib to control access)</a></li>"; | |
echo "<li><a href='https://localhost:3000/users'>SIS (Back Door)</a></li>"; | |
echo "<li><a href='https://localhost:9443/sis/users'>SIS (using Shib)</a></li>"; | |
echo "<li><a href='http://tier.instructure.com/login/saml'>TIER University Canvas (using Shibboleth)</a></li>"; | |
echo "<li><a href='http://tier.instructure.com/login/canvas'>TIER University Canvas (canvas login / backdoor)</a></li>"; | |
echo "</ul>"; | |
echo "<hr>"; | |
echo "<h2>Variables from the Server</h2>"; | |
print_r2($_SERVER); | |
/* | |
say hello [name] | |
Here is some info about you: | |
Dump the environment variables | |
*/ | |
function print_r2($val){ | |
echo '<pre>'; | |
print_r($val); | |
echo '</pre>'; | |
} | |
?> | |
</div> | |
</body> | |
</html> |