Snippets

Hostspot alogin.html

Updated by Omar Regino

File alogin.html Modified

  • Ignore whitespace
  • Hide word diff
 </head>
 <body>
 
-<form name="redirect" action="http://portals.hostspot.mx/login" method="post">
+<form name="redirect" action="http://portals.hostspot.mx/login" method="POST">
 
 <input type="hidden" name="res" value="success" />
 <input type="hidden" name="mac" value="$(mac)" />
Updated by Omar Regino

File alogin.html Modified

  • Ignore whitespace
  • Hide word diff
 <input type="hidden" name="identity" value="$(identity)" />
 </form>
 
-<script language="JavaScript"> 
-
-<!--
-
+<script language="JavaScript">
  document.redirect.submit();
-
- //-->
-
 </script>
 </body>
 </html>
Updated by Omar Regino

File alogin.html Modified

  • Ignore whitespace
  • Hide word diff
 <meta http-equiv="expires" content="-1">
 
 </head>
-<body onLoad="startClock()">
+<body>
 
 <form name="redirect" action="http://portals.hostspot.mx/login" method="post">
 
Created by Omar Regino

File alogin.html Added

  • Ignore whitespace
  • Hide word diff
+<html><head>
+<title>HotSpot System Login</title>
+
+<meta http-equiv="pragma" content="no-cache">
+<meta http-equiv="expires" content="-1">
+
+</head>
+<body onLoad="startClock()">
+
+<form name="redirect" action="http://portals.hostspot.mx/login" method="post">
+
+<input type="hidden" name="res" value="success" />
+<input type="hidden" name="mac" value="$(mac)" />
+<input type="hidden" name="uid" value="$(username)" />
+<input type="hidden" name="userurl" value="$(link-orig)" />
+<input type="hidden" name="link-login" value="$(link-login)">
+<input type="hidden" name="nasid" value="$(identity)" />
+<input type="hidden" name="uamip" value="$(server-address)" />
+<input type="hidden" name="uamport" value="mikrotik" />
+<input type="hidden" name="error" value="$(error)" />
+<input type="hidden" name="chap-id" value="$(chap-id)" />
+<input type="hidden" name="chap-challenge" value="$(chap-challenge)" />
+<input type="hidden" name="server-name" value="$(server-name)" />
+<input type="hidden" name="identity" value="$(identity)" />
+</form>
+
+<script language="JavaScript"> 
+
+<!--
+
+ document.redirect.submit();
+
+ //-->
+
+</script>
+</body>
+</html>
  1. 1
  2. 2
HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.