Advertisement
mesmariusz

hotspot-login

Jul 23rd, 2018
287
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.46 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2.   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html>
  4. <head>
  5. <title>internet hotspot > login</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta http-equiv="pragma" content="no-cache" />
  8. <meta http-equiv="expires" content="-1" />
  9. <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;"/>
  10. <style type="text/css">
  11. body {color: #737373; font-size: 10px; font-family: verdana;}
  12.  
  13. textarea,input,select {
  14. background-color: #FDFBFB;
  15. border: 1px solid #BBBBBB;
  16. padding: 2px;
  17. margin: 1px;
  18. font-size: 14px;
  19. color: #808080;
  20. }
  21.  
  22. a, a:link, a:visited, a:active { color: #AAAAAA; text-decoration: none; font-size: 10px; }
  23. a:hover { border-bottom: 1px dotted #c1c1c1; color: #AAAAAA; }
  24. img {border: none;}
  25. td { font-size: 14px; color: #7A7A7A; }
  26. </style>
  27.  
  28. </head>
  29.  
  30. <body>
  31. <center>
  32.  
  33.     <form name="sendin" action="$(link-login-only)" method="post">
  34.         <input type="hidden" name="username" />
  35.         <input type="hidden" name="password" />
  36.         <input type="hidden" name="dst" value="$(link-orig)" />
  37.         <input type="hidden" name="popup" value="true" />
  38.     </form>
  39.    
  40.     <script type="text/javascript" src="/md5.js"></script>
  41.     <script type="text/javascript">
  42.     <!--
  43.         function doLogin() {
  44.         document.sendin.username.value = document.login.username.value;
  45.         document.sendin.password.value = hexMD5('$(chap-id)' + document.login.password.value + '$(chap-challenge)');
  46.         document.sendin.submit();
  47.         return false;
  48.         }
  49.     //-->
  50.     </script>
  51.  
  52.    
  53.  
  54.  
  55. <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  56. $(if chap-id)
  57. <br>
  58. $(endif)
  59. <br><br>
  60.  
  61.                     <form name="login" action="$(link-login-only)" method="post"
  62.                         $(if chap-id) onSubmit="return doLogin()" $(endif)>
  63.                         <input type="hidden" name="dst" value="$(link-orig)" />
  64.                         <input type="hidden" name="popup" value="true" />
  65.                         <input style="width: 80px" name="username" type="hidden" value="$(mac)"/></td>
  66.                         <input style="width: 80px" name="password" type="hidden" value="$(mac)"/></td>
  67.                         <input style="background-color: #4CAF50; border: none; color: white; padding: 48px 48px; text-align: center; text-decoration: none; display: inline-block; font-size: 36px;" type="submit" value="Uzyskaj dostฤ™p do Internetu" /></td>
  68.                     </form>
  69.  
  70. <br>
  71. $(if error)<br /><div style="color: #FF8080; font-size: 9px">$(error)</div>$(endif)
  72.  </center>
  73. <script type="text/javascript">
  74. <!--
  75.  document.login.username.focus();
  76. //-->
  77. </script>
  78. </body>
  79. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement