1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html> 3<head> 4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 5 <title>Server Login</title> 6 <link nonce="A2D2AA1B68C003519554744B24DB57226B3F4CB97EE8D08457627A43D1AFA5D4" rel="stylesheet" type="text/css" media="screen" href="/Web/Shared/forms.css" /> 7
7<script nonce="A2D2AA1B68C003519554744B24DB57226B3F4CB97EE8D08457627A43D1AFA5D4" type="text/javascript"> 8 document.addEventListener("DOMContentLoaded", function () { 9 var switchtoptc = getCookie("switchtoptc"); 10 11 const form = document.getElementById('mainform'); 12 form.addEventListener('submit', (e) => { 13 form.action += "?csrftoken=" + getCookie("csrftoken"); 14 }); 15 16 var EftServerLoginFailureMsg = 'Not logged in.'; 17 var WtcLoginFailedMsg = 'Login failed.<br/><br/> Please check your credentials and try again.'; 18 var LoginErrorClass = '.loginErrorMsg'; 19 20 // Modify generic server login fail message with new WTC credentials failing message. 21 var loginErr = document.querySelector(LoginErrorClass); 22 if (loginErr && loginErr.innerHTML.length > 0) { 23 var moddedMsg = loginErr.innerHTML.replace(EftServerLoginFailureMsg, WtcLoginFailedMsg); 24 loginErr.innerHTML = moddedMsg; 25 } 26 }); 27 28 function submitHandler() { 29 // trim spaces around username and password 30 // note: previously used name attr instead of id 31 var u = document.querySelector('input[id=username]'); 32 u.value = u.value.trim(); 33 var p = document.querySelector('input[id=password]'); 34 p.value = p.value.trim(); 35 } 36 37 function getCookie(name) { 38 // Split cookie string and get all individual name=value pairs in an array 39 var cookieArr = document.cookie.split(";"); 40 41 // Loop through the array elements 42 for(var i = 0; i < cookieArr.length; i++) { 43 var cookiePair = cookieArr[i].split("="); 44 45 /* Removing whitespace at the beginning of the cookie name 46 and compare it with the given string */ 47 if(name == cookiePair[0].trim()) { 48 // Decode the cookie value and return 49 return (cookiePair[1]); 50 } 51 } 52 53 // Return null if not found 54 return null; 55 } 56 </script>
56 57</head> 58<body> 59 <noscript> 60 <div class="scriptRequired">This site requires JavaScript. Please enable JavaScript in your browser settings and reload this page.</div> 61 </noscript> 62 63 64 65 66 <div class="loginWrapper loginTablularForm" role="main"> 67 <fieldset id="loginFieldset"> 68 <legend id="loginLegend">Log in</legend> 69 70 <img id="login-logo" src="/Web/Shared/images/gs-atom-logo.png" alt="Globalscape" height="125"> 71 72 73 74 <form id="mainform" method="post" autocomplete="off" action="/Web/Account/Login.htm" onsubmit="submitHandler(); return true;"> 75 <table class="loginTable"> 76 <tr> 77 <td class="col1" ><label id="userNameLabel" for="username" accesskey="u"><u>U</u>sername:</label></td> 78 <td class="col2" ><input class="tbInput" type="text" maxlength="1024" id="username" name="username" tabindex="1" /></td> 79 </tr> 80 81 <tr> 82 <td class="colSpanRow inputText" colspan="2"> 83 <a href="/Web/Shadowfax/reg/register.html/#/forgot-username" target="_blank" rel="noopener" class="forgotCreds">Forgot Username</a> 84 </td> 85 </tr> 86 87 <tr> 88 <td class="col1"> 89 <label id="passwordLabel" accesskey="p" for="password"><u>P</u>assword:</label> 90 </td> 91 <td class="col2"> 92 <input class="tbInput" type="password" maxlength="1024" id="password" name="password" tabindex="2" autocomplete="off" /> 93 </td> 94 95 </tr> 96 97 <tr> 98 <td class="colSpanRow inputText" colspan="2"> 99 <a href="/Web/Shadowfax/reg/register.html/#/forgot-password" target="_blank" rel="noopener" class="forgotCreds">Forgot Password</a> 100 </td> 101 </tr> 102 103 104 <tr> 105 <td colspan="2" class="colSpanRow colSpanRowCheckBox"> 106 </td> 107 </tr> 108 109 <tr> 110 <td colspan="2" class="colSpanRow" id="loginSubmitTd"> 111 <input type="submit" value="Log in" tabindex="4" id="loginSubmit" /> 112 </td> 113 </tr> 114 115 </table> 116 </form> 117 </fieldset> 118 119 120 </div> 121 122 123 124 125</body> 126</html>
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.