Advertisement
Guest User

Untitled

a guest
Oct 3rd, 2017
367
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.94 KB | None | 0 0
  1.  
  2. <!-- saved from url=(0192)https://1.1.1.1/fs/customwebauth/login.html?switch_url=https://1.1.1.1/login.html&ap_mac=64:ae:0c:87:e1:30&client_mac=54:13:79:fd:d7:af&wlan=UTFPR-WEB&redirect=www.msftconnecttest.com/redirect -->
  3. <html><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
  4. <meta http-equiv="Pragma" content="no-cache">
  5.  
  6. <title>Bem Vindo a Rede Wireless da UTFPR</title>
  7. <script>
  8.  
  9.  
  10. function submitAction(){
  11. var link = document.location.href;
  12. var searchString = "redirect=";
  13. var equalIndex = link.indexOf(searchString);
  14. var redirectUrl = "";
  15.  
  16. if (document.forms[0].action == "") {
  17. var url = window.location.href;
  18. var args = new Object();
  19. var query = location.search.substring(1);
  20. var pairs = query.split("&");
  21. for(var i=0;i<pairs.length;i++){
  22. var pos = pairs[i].indexOf('=');
  23. if(pos == -1) continue;
  24. var argname = pairs[i].substring(0,pos);
  25. var value = pairs[i].substring(pos+1);
  26. args[argname] = unescape(value);
  27. }
  28. document.forms[0].action = args.switch_url;
  29. }
  30. if(equalIndex >= 0) {
  31. equalIndex += searchString.length;
  32. redirectUrl = "";
  33. redirectUrl += link.substring(equalIndex);
  34. }
  35. if(redirectUrl.length > 255)
  36. redirectUrl = redirectUrl.substring(0,255);
  37. document.forms[0].redirect_url.value = redirectUrl;
  38. document.forms[0].buttonClicked.value = 4;
  39. document.forms[0].submit();
  40. }
  41.  
  42.  
  43. function change_case()
  44. {
  45. // This function changes username input from upper-case to lower-case
  46. // If the radius-server used cannot perform this function,
  47. // the WLC will:
  48. document.form1.username.value=document.form1.username.value.toLowerCase();
  49. }
  50.  
  51. function loadAction(){
  52. var url = window.location.href;
  53. var args = new Object();
  54. var query = location.search.substring(1);
  55. var pairs = query.split("&");
  56. for(var i=0;i<pairs.length;i++){
  57. var pos = pairs[i].indexOf('=');
  58. if(pos == -1) continue;
  59. var argname = pairs[i].substring(0,pos);
  60. var value = pairs[i].substring(pos+1);
  61. args[argname] = unescape(value);
  62. }
  63.  
  64.  
  65. document.forms[0].action = args.switch_url;
  66.  
  67. // This is the status code returned from webauth login action
  68. // Any value of status code from 1 to 5 is error condition and user
  69. // should be shown error as below or modify the message as it suits
  70. // the customer
  71.  
  72. if(args.statusCode == 1){
  73. alert("You are already logged in. No further action is required on your part.");
  74. }
  75. else if(args.statusCode == 2){
  76. alert("You are not configured to authenticate against web portal. No further action is required on your part.");
  77. }
  78. else if(args.statusCode == 3){
  79. alert("The username specified cannot be used at this time. Perhaps the user is already logged into the system?");
  80. }
  81. else if(args.statusCode == 4){
  82. alert("Wrong username and password. Please try again.");
  83. }
  84. else if(args.statusCode == 5){
  85. alert("The User Name and Password combination you have entered is invalid. Please try again.");
  86. }
  87. }
  88.  
  89. </script>
  90.  
  91. </head><body><div id="fundo" align="center">
  92. <img src="./Bem Vindo a Rede Wireless da UTFPR_files/gov_hdr1.png" alt="" usemap="#Map">
  93.  
  94. <map name="Map" id="Map">
  95. <area shape="rect" alt="" coords="652,3,716,13" href="http://www.brasil.gov.br/" onclick="window.open(this.href,&quot;" _blank'")="" ;return="" false="" ;'="">
  96. </map>
  97. <div id="barrautfpr" align="center">
  98. <a href="http://www.utfpr.edu.br/" onclick="window.open(this.href,&quot;" _blank'");return="" false;'=""><img class="logoutfpr" alt="" src="./Bem Vindo a Rede Wireless da UTFPR_files/logout.png"></a>
  99. <table border="0" cellspacing="0" cellpadding="0">
  100.  
  101. <tbody><tr> <td>&nbsp;</td></tr>
  102. <tr align="center"> <td colspan="2"><font size="4" color="#000000" face="arial">Bem-vindo à&nbsp; rede sem fio da UTFPR.<p></p></font></td></tr>
  103.  
  104. <tr align="center"> <td colspan="2"><font size="4" color="#000000" face="arial">UTFPRWEB - Instruções de Acesso<p></p></font></td></tr>
  105. <tr align="left"> <td colspan="2"><font size="3" color="#000000" face="arial">Você deve se conectar conforme seu perfil<p></p></font></td></tr>
  106. <tr align="left"> <td colspan="2"><font size="3" color="#000000" face="arial"><b>Servidor</b><br>Usuário: login do e-mail<br>Senha: senha do e-mail Institucional<p></p></font></td></tr>
  107. <tr align="left"> <td colspan="2"><font size="3" color="#000000" face="arial"><b>Aluno</b><br>Usuário: a (minúscula) e número de matrícula Ex. a470775<br>Senha: senha do Sistema Acadêmico<p></p></font></td></tr>
  108. <tr align="left"> <td colspan="2"><font size="3" color="#000000" face="arial"><b>Visitante</b><br>Usuário e senha fornecidos pela Coordenadoria de TI do seu Câmpus<p></p></font></td></tr>
  109.  
  110. <tr align="center">
  111.  
  112.  
  113. <form name="form1" method="post"></form> <input name="buttonClicked" size="16" maxlength="15" value="0" type="hidden"> <input name="redirect_url" size="255" maxlength="255" value="" type="hidden"> <input name="err_flag" size="16" maxlength="15" value="0" type="hidden">
  114.  
  115.  
  116. <td colspan="2"> Usuário &nbsp;&nbsp;&nbsp;<input type="TEXT" name="username" size="25" maxlength="63" value="">
  117.  
  118. </td>
  119.  
  120. </tr>
  121.  
  122. <tr align="center">
  123.  
  124. <td colspan="2"> Senha &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="password" name="password" size="25" maxlength="24">
  125.  
  126. </td>
  127.  
  128. </tr>
  129.  
  130. <tr align="center">
  131.  
  132. <td colspan="2"><input type="button" name="Submit" value="Enviar" class="button" onclick="submitAction();">
  133.  
  134. </td>
  135.  
  136. </tr>
  137.  
  138.  
  139. <tr align="center"> <td colspan="2"><font size="3" color="#000000"><a href="https://1.1.1.1/fs/customwebauth/imagens/rec.pdf"><br>Recomendações de uso<p></p></a></font></td></tr>
  140.  
  141. </tbody></table>
  142.  
  143.  
  144.  
  145.  
  146.  
  147. </div></div></body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement