Script AutoLogin Mikrotik-Simlez
Script AutoLogin Mikrotik-Simlez
Benar)');</script><!DOCTYPE html>
<html lang="id">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="theme-color" content="#D52830">
<title>WIFI.ID ABDUL MUIZ ISMAIL MUNAWAR</title>
<link rel="stylesheet" type="text/css" href="assets/css/fonts.css">
<link rel="stylesheet" type="text/css" href="assets/css/vendor_revamp.css">
<link rel="stylesheet" type="text/css" href="assets/css/style_revamp.css?
v=0.02">
<link rel="icon" href="assets/images/favicon.ico">
<script src="assets/js/jquery.min.js"></script>
<!-- DARTS -->
<link rel="stylesheet" type="text/css" href="assets/css/adsengine.min.css">
<script src="assets/js/adsengine.bundle.js"></script>
<script src="assets/js/adsengine.telkom.js"></script>
<script src="assets/js/socket.io.slim.js"></script>
<script src="assets/js/statistic.bundle.js"></script>
<!-- SLICK CAROUSEL-->
<link rel="stylesheet" type="text/css" href="assets/slick/slick.css"/>
<link rel="stylesheet" type="text/css" href="assets/slick/slick-theme.css"/>
<script type="text/javascript" src="assets/slick/slick.min.js"></script>
<script type="text/javascript">
function makeid()
{
var text = "";
var possible =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
return text;
}
$(document).ready(function(e){
window.addEventListener('message', (event) => {
if (event.data == 'onpopup') {
$("#olive").css("height", "450px");
$("#olive").css("width", "320px");
}else{
$("#olive").css("height", "80px");
$("#olive").css("width", "80px");
}
});
$('#loginForm').submit(function(e){
e.preventDefault();
var makeId = makeid();
var username= $("#username").val();
// var user = $
("#username_hidden").val(username+'.'+makeId+'@freeMS');
var user = $
("#username_hidden").val(username+'.'+makeId+'@wms.1703434625.000');
var password = $
("#password").val(username);
$('#landURL').val('');
$("#loading-overlay").css("display", "block");
$.ajax({
type: 'POST',
url: 'auth/authnew/autologin/quarantine.php?
ipc=10.128.114.244&gw_id=WAG3-D3-LBG&mac=72:66:fd:92:e0:fd&redirect=http://
www.msftconnecttest.com/redirect&wlan=KEEDS00058-N/TLK-CI-
36714:kangmungiz&landURL=',
dataType:'json',
data: $(this).serialize(),
timeout: 15000,
error: function(){
alert("Silahkan Coba Koneksi Kembali");
},
statusCode: {
500: function() {
alert( "Login Gagal [500], Silahkan Coba Koneksi
Kembali" );
},
404: function() {
alert( "Login Gagal [404], Silahkan Coba Koneksi
Kembali" );
}
},
success: function(data)
{
$("#loading-overlay").css("display", "none");
if(data.result == 0)
{
alert(data.message);
}else
{
$("#loading-success").css("display", "block");
setTimeout(function()
{window.location=data.redirect},3000);
}
}
});
return false;
});
});
var image = ['revamp1.jpg', 'revamp2.jpg', 'revamp3.jpg'];
function getRandomImage()
{
var num = Math.floor( Math.random() * 3);
var img = image[num];
document.getElementById("randImage").innerHTML = ('<img src="' +
'assets/images/' + img + '" class="banner-image">')
}
</script>
<style>
body {
font-family: "", sans-serif;
background-color: #ffffff
}
button, input{
font-family: "", sans-serif;
}
.logo-wifi{
z-index: 100;
position: relative;
width: 110px!important;
height: 110px!important;
}
.slick-dots{
position: absolute;
bottom: 20px;
display: block;
width: 100%;
padding: 10;
margin: 0;
list-style: none;
text-align: center;
}
.slick-prev {
z-index: 10;
left: 10px;
}
.slick-next {
right: 10px;
}
.slick-prev:before, .slick-next:before{
color: red;
}
</style>
</head>
<body class="login-page" onload="getRandomImage()" style="padding: 0px 0;">
<div id="loading-overlay" class="loading-overlay">
<div class="sk-circle">
<div class="sk-circle1 sk-child"></div>
<div class="sk-circle2 sk-child"></div>
<div class="sk-circle3 sk-child"></div>
<div class="sk-circle4 sk-child"></div>
<div class="sk-circle5 sk-child"></div>
<div class="sk-circle6 sk-child"></div>
<div class="sk-circle7 sk-child"></div>
<div class="sk-circle8 sk-child"></div>
<div class="sk-circle9 sk-child"></div>
<div class="sk-circle10 sk-child"></div>
<div class="sk-circle11 sk-child"></div>
<div class="sk-circle12 sk-child"></div>
</div>
</div>
<div id="loading-success" class="loading-lay text-center">
<div class="sk-bulat">
<img width="50" src="assets/images/spinner_success.gif">
<div class="loading-word">Login Anda berhasil.. Anda sedang dialihkan
ke halaman Landing Page</div>
</div>
</div>
<span id="randImage"></span>
</div>
<div class="right-content" >
</body>
</html>