support.gasanzammit.com.mt
Open in
urlscan Pro
54.154.156.172
Public Scan
Submitted URL: https://support.gasanzammit.com.mt/
Effective URL: https://support.gasanzammit.com.mt/index.php?/home/login
Submission: On March 22 via automatic, source certstream-suspicious — Scanned from DE
Effective URL: https://support.gasanzammit.com.mt/index.php?/home/login
Submission: On March 22 via automatic, source certstream-suspicious — Scanned from DE
Form analysis
1 forms found in the DOMName: vis_form_login — POST
<form id="vis_form_login" name="vis_form_login" method="post" autocomplete="off">
<div class="list-group">
<div class="list-group-item m-b b-light">
<input type="text" placeholder="Email or Username" class="form-control no-border" name="vis_email" id="vis_email">
</div>
<div class="list-group-item m-b b-light">
<input type="password" placeholder="Password" class="form-control no-border" name="vis_password" id="vis_password">
</div>
<input type="hidden" name="vis_operation" value="check_login"><input type="hidden" name="vis_module" value="home">
<button type="submit" class="btn btn-lg btn-primary btn-block">Login</button>
<div class="line line-dashed"></div>
<p class="text-center">
<a href="index.php?/home/forgot-password" class="btn btn-link"><small>Forgot password?</small></a>
</p>
</div>
<p class="text-muted text-center"><small>Do not have an account?</small></p>
<a href="index.php?/client/register" class="btn btn-lg btn-default btn-block">Register</a>
<div class="text-divider"><big>Or</big></div>
<div class="text-center">
<script src="https://secure.aadcdn.microsoftonline-p.com/lib/1.0.12/js/adal.min.js"></script>
<script>
var ADAL = new AuthenticationContext({
instance: 'https://login.microsoftonline.com/',
tenant: '61d276c0-72b6-4e22-a984-3124d1db59d3', //COMMON OR YOUR TENANT ID
clientId: '326deade-8fb4-4dae-9476-27a6f3a3b9f4', //This is your client ID
redirectUri: 'https://support.gasanzammit.com.mt/windows_success.php', //This is your redirect URI
callback: userSignedIn,
popUp: true
});
function signIn() {
ADAL.login();
}
function userSignedIn(err, token) {
console.log('userSignedIn called');
if (!err) {
//console.log("token: " + token);
showWelcomeMessage();
} else {
console.error("error: " + err);
}
}
function showWelcomeMessage() {
var user = ADAL.getCachedUser();
//var divWelcome = document.getElementById('WelcomeMessage');
divWelcome = "Welcome " + user.profile.name + " --" + user.userName + "----" + user.profile.unique_name;
//console.log("divWelcome: " + divWelcome);
//alert(JSON.stringify(user));
set_cook(user.profile.name, user.userName, user.profile.unique_name, user.profile.oid);
//ADAL.logOut();
}
/* //url: 'http://iamdemo.com/vision4/amoln/nicolas/index.php?/client/windows_login',
url: 'index.php',
dataType: 'json',*/
function set_cook(profile_name, userName, unique_name, oid) {
$.ajax({
url: 'index.php',
//dataType: 'json',
data: {
'vis_module': 'client',
'vis_operation': 'windows_login',
'profile_name': profile_name,
'userName': userName,
'unique_name': unique_name,
'oid': oid
},
type: "POST",
success: function(data) { //alert(data);
window.location.reload();
// $("#ajax_subcategory").html(data);
}
});
}
</script>
<div class="m-t-md text-center">
<!-- <label>Login with</label>-->
<button type="button" class="btn btn-lg btn-icon btn-default vh-linkedin-bg" value="" onclick="signIn();"><i class="vh vh-lg vh-ms-office365" aria-hidden="true"></i></button>
</div>
</div>
</form>
Text Content
Toggle navigation * Custom menu * Custom menu link-1 * Custom menu link-2 * Custom menu link-3 * * Custom menu another link-1 * Login 1. Home 2. Login LOGIN Login Forgot password? Do not have an account? Register Or Service Desk Software by Vision Helpdesk