0byt3m1n1
Path:
/
home
/
mgatv524
/
vision.mgaplay.com.br
/
vendor
/
onelogin
/
php-saml
/
demo1
/
[
Home
]
File: attrs.php
<?php session_start(); if (isset($_SESSION['samlUserdata'])) { if (!empty($_SESSION['samlUserdata'])) { $attributes = $_SESSION['samlUserdata']; echo 'You have the following attributes:<br>'; echo '<table><thead><th>Name</th><th>Values</th></thead><tbody>'; foreach ($attributes as $attributeName => $attributeValues) { echo '<tr><td>' . htmlentities($attributeName) . '</td><td><ul>'; foreach ($attributeValues as $attributeValue) { echo '<li>' . htmlentities($attributeValue) . '</li>'; } echo '</ul></td></tr>'; } echo '</tbody></table>'; } else { echo "<p>You don't have any attribute</p>"; } echo '<p><a href="index.php?slo" >Logout</a></p>'; } else { echo '<p><a href="index.php?sso2" >Login and access later to this page</a></p>'; }