gestionale.swissklima-energie.ch
Open in
urlscan Pro
95.110.154.100
Public Scan
Submitted URL: https://gestionale.swissklima-energie.ch/
Effective URL: https://gestionale.swissklima-energie.ch/Secure/Login.aspx?ReturnUrl=/&rupid=7277
Submission: On April 05 via automatic, source certstream-suspicious — Scanned from IT
Effective URL: https://gestionale.swissklima-energie.ch/Secure/Login.aspx?ReturnUrl=/&rupid=7277
Submission: On April 05 via automatic, source certstream-suspicious — Scanned from IT
Form analysis
1 forms found in the DOMPOST ./Login.aspx?ReturnUrl=%2f&rupid=7277
<form method="post" action="./Login.aspx?ReturnUrl=%2f&rupid=7277" id="aspnetForm" class="login sitehost-id-603">
<div class="aspNetHidden">
<input type="hidden" name="__LASTFOCUS" id="__LASTFOCUS" value="">
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="">
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="">
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKLTMxNjc3NTM3NWQYAQUeX19Db250cm9sc1JlcXVpcmVQb3N0QmFja0tleV9fFgEFOWN0bDAwJENvbnRlbnRQYW5lUGxhY2VIb2xkZXIkY3RsMDAka2VlcExvZ2luSW5wdXRDaGVja2JveG8gRh+UWhkEv1c5jtM9syyAM0Xe">
</div>
<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['aspnetForm'];
if (!theForm) {
theForm = document.aspnetForm;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
//]]>
</script>
<script src="/WebResource.axd?d=DEPKF6q0-53tAnJ8CNAK_IR2qoI9V1-3f-wzxPD72dNuOGfA2vaTAzmzZ-yl0ADzOba5YxHR9pWT-P_ZvcjZAFGyNdM1&t=637811765229275428" type="text/javascript"></script>
<script src="/WebResource.axd?d=EzDLPg7PQaQYOzJfKw1Z3iq7q4GaDz6ZtC7-Di4BD_G1dv5hgg3KXGpUnQGhF3CONeYJScuxMIVcoeeBHMBm0T-a9lY1&t=637811765229275428" type="text/javascript"></script>
<div class="aspNetHidden">
<input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="88FDF362">
</div>
<header class="container-block">
<a href="/" title="Home" class="brand">
</a>
<span class="header-title">
</span>
<a type="button" class="toggle-left-panel" onclick="toggleNavbar()" title="Apri / chiudi">
<i class="fas fa-bars"></i>
</a>
<div id="header-sections-container">
</div>
</header>
<div id="left-panel">
<nav class="navbar navbar-default" role="navigation">
<div class="collapse navbar-collapse navbar-to-collapse" role="navigation">
</div>
</nav>
</div>
<div id="page-content">
<div id="top" class="container-block">
</div>
<div id="two-column-layout" class="row">
<div class="column-container col-sm-6">
</div>
<div class="column-container col-sm-6">
</div>
</div>
<div id="middle" class="container-block">
<div id="utility" class="utility">
</div>
<div id="content" role="main" class="content col-xs-12">
<script src="https://connect.facebook.net/it_IT/all.js"></script>
<script type="text/javascript" src="//js.live.net/v5.0/wl.js"></script>
<script type="text/javascript" src="https://platform.linkedin.com/in.js">
//api_key: 7735yxmkin1ttz
api_key: authorize: true
</script>
<script type="text/javascript">
function noErrorInForm() {
$("div.login.panel .ow-container input").valid();
return ($(".validation-error-label:visible").length == 0);
}
var doPostBackForGoogle = false;
var doPostBackForWindows = false;
// Facebook
//Inizializzazione Applicazione
FB.init({
appId: '',
status: true, // controlla lo stato di login
cookie: true, // abilita i cookie per consentire al server di accedere alla sessione
xfbml: true // abilita i tag FBML
});
function loginWithFacebook() {
FB.login(function(response) {
if (response.authResponse) {
// The person logged into your app
checkPermission();
} else {
// The person cancelled the login dialog
}
}, {
scope: 'email',
auth_type: 'rerequest'
});
}
function checkPermission() {
//Controlla che abbia dato i permessi per la mail
FB.api('/me/permissions', function(response) {
var declined = [];
for (i = 0; i < response.data.length; i++) {
if (response.data[i].status == "declined") {
alert("Devi dare il permesso per utilizzare il tuo indirizzo mail");
return;
}
}
});
//Ha dato il consenso per la mail
callApiWithFacebook();
}
// Invoco direttamente dal client le API per ottenere i dati dell'utente connesso
function callApiWithFacebook() {
FB.api('/me', {
fields: 'last_name, first_name, email'
}, function(response) {
if (response.email != undefined) {
$("#externalUserIdInputHidden").val(response.id);
$("#emailInputHidden").val(response.email);
$("#firstNameInputHidden").val(response.first_name);
$("#lastNameInputHidden").val(response.last_name);
$(".FaceBookLogin").trigger("click"); // Forzo il click sul bottone login
}
});
}
/*-------------------------------------------------*/
// Google +
/*-------------------------------------------------*/
(function() {
var po = document.createElement('script');
po.type = 'text/javascript';
po.async = true;
po.src = 'https://apis.google.com/js/client:plusone.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(po, s);
})();
function signinCallback(authResult) {
if (authResult['access_token']) {
// Autorizzazione riuscita
gapi.client.load('plus', 'v1', function() {
gapi.client.plus.people.get({
userId: 'me'
}).execute(googleLogin);
});
} else if (authResult['error']) {
// Si è verificato un errore.
// Possibili codici di errore:
// "access_denied" - L'utente ha negato l'accesso alla tua app
// "immediate_failed" - Impossibile eseguire l'accesso automatico dell'utente
}
}
function googleLogin(userGoogle) {
$("#externalUserIdInputHidden").val(userGoogle.id);
$("#emailInputHidden").val(userGoogle.emails[0].value);
$("#firstNameInputHidden").val(userGoogle.name.givenName);
$("#lastNameInputHidden").val(userGoogle.name.familyName);
// Dopo esserci loggati con Google, Google ricorda che ci siamo loggati e a seguito di un logout in ObjectWeb e un successivo
//login Google ci rilogga automaticamente. Per evitare questo abbiamo utilizzato un'apposita variabile.
if (doPostBackForGoogle) $(".GoogleLogin").trigger("click"); // Forzo il click sul bottone login
}
/*-------------------------------------------------*/
// Windows
/*-------------------------------------------------*/
WL.Event.subscribe("auth.login", loginWithWindows);
WL.init({
// client_id: '0000000048128845',
// redirect_uri: 'http://test.loginow.it/Secure/Login.aspx',
client_id: '',
redirect_uri: 'https://gestionale.swissklima-energie.ch/Secure/Login.aspx',
scope: "wl.signin",
response_type: "token"
});
function loginWithWindows() {
WL.login({
scope: ["wl.signin", "wl.basic"]
})
windowsLogin();
}
function windowsLogin() {
WL.login({
scope: ["wl.basic", "wl.emails"]
}).then(function(response) {
WL.api({
path: "me",
method: "GET"
}).then(function(response) {
$("#externalUserIdInputHidden").val(response.id);
$("#emailInputHidden").val(response.emails.preferred);
$("#firstNameInputHidden").val(response.first_name);
$("#lastNameInputHidden").val(response.last_name);
if (doPostBackForWindows) $(".WindowsLogin").trigger("click"); // Forzo il click sul bottone login
}, function(responseFailed) {
//alert("Error calling API: " + responseFailed.error.message);
});
}, function(responseFailed) {
//alert("Error signing in: " + responseFailed.error_description);
});
}
/*-------------------------------------------------*/
// LinkedIn
/*-------------------------------------------------*/
function loginWithLinkedIn() {
IN.User.authorize(function() {
IN.API.Profile("me").fields("firstName", "lastName", "id", "email-address").result(linkedInLogin).error();
});
}
function linkedInLogin(linkedInUser) {
$("#externalUserIdInputHidden").val(linkedInUser.values[0].id);
$("#emailInputHidden").val(linkedInUser.values[0].emailAddress);
$("#firstNameInputHidden").val(linkedInUser.values[0].firstName);
$("#lastNameInputHidden").val(linkedInUser.values[0].lastName);
$(".LinkedInLogin").trigger("click"); // Forzo il click sul bottone login
}
</script>
<input type="hidden" name="ctl00$ContentPanePlaceHolder$ctl00$UrlReferrerHiddenField" id="ContentPanePlaceHolder_ctl00_UrlReferrerHiddenField">
<input type="hidden" name="ctl00$ContentPanePlaceHolder$ctl00$ReturnUrlHiddenField" id="ContentPanePlaceHolder_ctl00_ReturnUrlHiddenField" value="/">
<div class="col-sm-6 col-sm-offset-3">
<div class="login panel panel-success">
<div class="header panel-heading">
<span>Accedi</span>
</div>
<div class="content inputbox horizontal form-horizontal text-center">
<span class="info row"> Inserisci i tuoi dati di login </span>
<div class="ow-container form-group col-sm-12">
<label for="ContentPanePlaceHolder_ctl00_UserNameText" class="col-sm-3 control-label">Email:</label>
<div class="input-div col-sm-9">
<input name="ctl00$ContentPanePlaceHolder$ctl00$UserNameText" type="text" id="ContentPanePlaceHolder_ctl00_UserNameText" accesskey="u" class="form-control input-type-text {validate: {required: true}}">
</div>
</div>
<div class="ow-container form-group col-sm-12">
<label for="ContentPanePlaceHolder_ctl00_PasswordText" class="col-sm-3 control-label">Password:</label>
<div class="input-div col-sm-9">
<input name="ctl00$ContentPanePlaceHolder$ctl00$PasswordText" type="password" id="ContentPanePlaceHolder_ctl00_PasswordText" accesskey="p" class="form-control input-type-text {validate: {required: true}}">
</div>
</div>
<div class="ow-container form-group col-sm-12 keep-login">
<label class="col-sm-3 control-label"> </label>
<div class="input-div col-sm-9">
<input name="ctl00$ContentPanePlaceHolder$ctl00$keepLoginInputCheckbox" type="checkbox" id="ContentPanePlaceHolder_ctl00_keepLoginInputCheckbox" class="xinput-type-checkbox3">
<span onclick="$('input', $(this).closest('div')).trigger('click')">Resta connesso</span>
</div>
</div>
<input id="externalUserIdInputHidden" name="externalUserIdInputHidden" value="" type="hidden">
<input id="emailInputHidden" name="emailInputHidden" value="" type="hidden">
<input id="firstNameInputHidden" name="firstNameInputHidden" value="" type="hidden">
<input id="lastNameInputHidden" name="lastNameInputHidden" value="" type="hidden">
<div class="buttons">
<input type="submit" name="ctl00$ContentPanePlaceHolder$ctl00$LoginButton" value="Login" onclick="return noErrorInForm();" id="ContentPanePlaceHolder_ctl00_LoginButton" class="button btn btn-primary">
<div class="social-buttons">
</div>
<div id="ContentPanePlaceHolder_ctl00_PasswordReminderDiv">
<a class="button-secondary" href="javascript:__doPostBack('ctl00$ContentPanePlaceHolder$ctl00$ctl05','')">Hai dimenticato la password?</a>
</div>
</div>
</div>
</div>
<div id="loginbox-bottom"></div>
</div>
</div>
<div id="sidebar" class="sidebar">
</div>
</div>
<div id="bottom" class="container-block">
</div>
</div>
<script type="text/javascript">
//<![CDATA[
WebForm_AutoFocus('ContentPanePlaceHolder_ctl00_UserNameText'); //]]>
</script>
</form>
Text Content
Accedi Inserisci i tuoi dati di login Email: Password: Resta connesso Hai dimenticato la password?