agrica.vertical-expense.com
Open in
urlscan Pro
83.166.151.189
Public Scan
URL:
https://agrica.vertical-expense.com/
Submission: On July 15 via api from US — Scanned from CH
Submission: On July 15 via api from US — Scanned from CH
Form analysis
1 forms found in the DOMName: form_connexion — POST https://agrica.vertical-expense.com/c/
<form class="form-signin" method="post" name="form_connexion" action="https://agrica.vertical-expense.com/c/" onsubmit="return CheckValues();">
<div class="page-login">
<input type="hidden" name="csrf_t" value="JFzlx39mUJ1AoMkHBHsMeNAt4pLirYs_Tg7lsD9kCnY">
<!-- LOGO -->
<div class="login-company">
<div id="custom_logo" class="login-img-case">
<img class="logo-img" src="https://agrica.vertical-expense.com/ressspec/images/logo.png" alt="www.xyvertical.com">
</div>
<div id="size_screen"></div>
</div>
<!-- TITRE NON ACTIVE-->
<div class="login-main fadeInDown">
<div class="login-case">
<h1 class="login-title fadeIn first">Login</h1>
<!-- ANOMALIES DE CONNEXION-->
<div class="fadeIn second">
<!-- LOGIN -->
<div id="login_ini" class="input-container ">
<i role="img" class="fas fa-user-alt login-input-icon login-icon-color" aria-label="Decorative"></i>
<label class="sr-only" for="login">User</label>
<input class="input-field form-control" type="text" id="login" name="login" placeholder="User " title="User" required="" aria-required="true" autofocus="" value="" autocomplete="off">
</div>
<!-- MOT DE PASSE -->
<!-- <input id="inputPassword" class="form-control" placeholder="Password" required="" type="password"> -->
<div id="password_ini" class="">
<div class="input-container">
<i role="img" class="fas fa-lock login-input-icon login-icon-color" aria-label="Decorative"></i>
<label class="sr-only" for="pwd">Password</label>
<input id="pwd" class="input-field form-control" type="password" name="pwd" placeholder="Password" title="Password" required="" aria-required="true" value="" autocomplete="off">
<i role="img" class="far fa-eye fa-fw login-input-icon login-icon-right login-icon-color toggle-password" toggle="#pwd" aria-label="Decorative"></i>
</div>
</div>
<!-- NOUVEAU MOT DE PASSE -->
<label class="sr-only" for="new_pwd_1">New password</label>
<div id="password1" class="hidden_block">
<div class="input-container fadeIn zero">
<i role="img" class="fas fa-lock login-input-icon icon-lock-red" aria-label="Decorative"></i>
<input id="new_pwd_1" class="input-field" type="password" name="new_pwd_1" placeholder="New password" title="New password" autocomplete="off" onkeyup="CheckPassword('new_pwd_1')">
<i role="img" class="far fa-eye fa-fw login-input-icon login-icon-right login-icon-color toggle-password" toggle="#new_pwd_1" aria-label="Decorative"></i>
</div>
</div>
<!-- CONFIRMATION DU NOUVEAU MOT DE PASSE -->
<label class="sr-only" for="new_pwd_2">Confirm the password</label>
<div id="password2" class="hidden_block">
<div class="input-container fadeIn zero">
<i role="img" class="fas fa-lock login-input-icon icon-lock-red" aria-label="Decorative"></i>
<input id="new_pwd_2" class="input-field" type="password" name="new_pwd_2" placeholder="Confirm the password" title="Confirm the password" autocomplete="off" onkeyup="CheckPassword('new_pwd_2')">
<!-- <i class="far fa-eye fa-fw login-input-icon login-icon-right login-icon-color toggle-password" toggle="#new_pwd_2"></i> -->
</div>
</div>
</div>
<!-- BLOC JS POUR REGEX EN CAS DE CHANGEMENT DE MDP -->
<span id="check_pwd" class="hidden_block">
<div class="flex flex-direction-c login-text-space fadeIn zero">
<h2 class="login-txt-criteria login-title-criteria">Password rules</h2>
<p id="number_text" class="login-txt-criteria"><span id="number" class="fal fa-square login-text-criteria"></span>1 number</p>
<p id="majusc_text" class="login-txt-criteria"><span id="majusc" class="fal fa-square login-text-criteria"></span>1 capitalization</p>
<p id="minusc_text" class="login-txt-criteria"><span id="minusc" class="fal fa-square login-text-criteria"></span>1 lowercase</p>
<p id="caract_text" class="login-txt-criteria"><span id="caract" class="fal fa-square login-text-criteria"></span>8 characters</p>
<p id="corresp_text" class="login-txt-criteria"><span id="corresp" class="fal fa-square login-text-criteria"></span>correspondence</p>
</div>
</span>
<!-- SE RAPPELER DE MOI - ON NE PREND PAS
<div class="checkbox">
<label>
<input type="checkbox" value="remember-me"> Se rappeler de moi
</label>
</div> -->
<!-- BOUTON CONNEXION -->
<div id="button_connect" class="login-button-box fadeIn second">
<input type="hidden" name="langue" value="en_GB">
<button type="submit" class="btn btn-lg btn-primary btn-block login-log-button">SIGN IN</button>
</div>
<!-- CHANGER DE MOT DE PASSE -->
<div class="fadeIn third">
<div id="action_newpwd"
onclick="javascript:afficher_cacher_id('password1');afficher_cacher_id('password2');afficher_cacher_id('change_it');afficher_cacher_id('do_not_change_it');afficher_cacher_id('action_pbconnect0');afficher_cacher_id('check_pwd');"
class="visible_block">
<button type="button" class="btn-action login-text underlineHover" aria-label="">
<span id="change_it" class="visible_block">Change your password</span>
<span id="do_not_change_it" class="hidden_block" onclick="ClearFields('new_pwd_1', 'new_pwd_2');CheckPassword('new_pwd_1');">Cancel password modification</span>
</button>
</div>
<!-- DIFFICULTES DE CONNEXION -->
<div id="action_pbconnect0" class="visible_block">
<button type="button" class="btn-action login-text underlineHover" aria-label="">
<span
onclick="javascript:afficher_cacher_id('action_pbconnect0');afficher_cacher_id('password_ini');afficher_cacher_id('action_pbconnect1');afficher_cacher_id('action_newpwd');afficher_cacher_id('change_it');afficher_cacher_id('button_connect');">Forgotten
password or first login</span>
<!-- afficher_cacher_id('password_input'); -->
</button>
</div>
</div>
<!-- Message associé à la difficulté de connexion -->
<!-- <div id="action_pbconnect1" class="hidden_block">
<p class="alert alert-info">After entering your user Id, you can reset your password by clicking on the button below.<br> <input type="hidden" name="langue" value="en_GB"/> -->
<!-- Bonton associé -->
<!-- <input type="button" class="btn btn-default" onclick="javascript:CheckValuesReinitPassword(document.forms['form_connexion']);" value="Reset your password"/>
<br>If, despite this action, you do not receive a reset email, please contact your administrator. -->
<!-- Bonton annuler -->
<!-- <input type="button" class="btn btn-default" onclick="javascript:afficher_cacher_id('action_pbconnect0');afficher_cacher_id('password_ini');afficher_cacher_id('action_pbconnect1');afficher_cacher_id('action_newpwd');afficher_cacher_id('change_it');afficher_cacher_id('button_connect');" value="Cancel"></input> -->
<!-- afficher_cacher_id('password_input'); -->
<!-- </p> -->
<!-- </div> -->
<div id="action_pbconnect1" class="hidden_block">
<div class="flex flex-direction-c fadeIn zero">
<p class="login-txt-exp">After entering your user Id, you can reset your password by clicking on the button below.</p>
<input type="hidden" name="langue" value="en_GB">
<!-- Bonton associé -->
<input class="login-btn-reset" type="button" onclick="javascript:CheckValuesReinitPassword(document.forms['form_connexion']);" value="Reset your password">
<p class="login-txt-exp">If, despite this action, you do not receive a reset email, please contact your administrator.</p>
<!-- Bonton annuler -->
<input class="login-btn-close" type="button"
onclick="javascript:afficher_cacher_id('action_pbconnect0');afficher_cacher_id('password_ini');afficher_cacher_id('action_pbconnect1');afficher_cacher_id('action_newpwd');afficher_cacher_id('change_it');afficher_cacher_id('button_connect');"
value="Cancel">
<!-- afficher_cacher_id('password_input'); -->
</div>
</div>
<input id="language" type="hidden" name="language" value="en_GB">
<input id="screen_width" type="hidden" name="screen_width" value="1600">
<input id="screen_height" type="hidden" name="screen_height" value="1200">
<!-- BOUTON CONNEXION SSO-->
<div class="login-or fadeIn second">
<div class="hr-or"></div>
<span class="span-or">or</span>
</div>
<div id="button_connect" class="login-button-box fadeIn second">
<button class="btn btn-lg btn-primary btn-block login-log-button" style="margin-bottom: 0;" type="submit">AUTOMATIC CONNECTION</button>
</div>
</div>
</div>
<script type="text/JavaScript"> $(".toggle-password").click(function() {
$(this).toggleClass("fa-eye fa-eye-slash");
var input = $($(this).attr("toggle"));
if (input.attr("type") == "password") {
input.attr("type", "text");
}
else {
input.attr("type", "password");
}
});
function ClearFields(new_pass, confirm_pass) {
document.getElementById(new_pass).value = "";
document.getElementById(confirm_pass).value = "";
}
document.getElementById('screen_width').value= window.innerWidth;
document.getElementById('screen_height').value=window.innerHeight;
// Amélioration - gérer accent, gérer espace, problème avec minuscule
function CheckPassword(idPassword){
//if(idPassword == "new_pwd_1"){
//var pwd1 = document.getElementById(idPassword).value;
var pwd1 = document.getElementById("new_pwd_1").value;
var pwd2 = document.getElementById("new_pwd_2").value;
//var regexPwd = /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[#?!@$%^&*-_]).{8,20}$/;
//var regexPwd = new RegExp("^(0[1-68])(?:[ _.-]?(\\d{2})){4}$");
// https://openclassrooms.com/fr/courses/146276-tout-sur-le-javascript/145569-lobjet-regexp
// https://code.i-harness.com/fr/q/12b269e
// https://regex101.com/
var valid = 0;
//var regex_max_lenght_pwd = /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[#?!@$%^&*-_]).{8,20}$/;
//var regex_min_lenght_pwd = /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[#?!@$%^&*-_]).{8,20}$/;
var regex_min_max_lenght_pwd = /^(?=.).{8,20}$/;
var regex_min_majusc_pwd = /^(?=.*?[A-Z]).{1,}$/;
var regex_min_number_pwd = /^(?=.*?[0-9]).{1,}$/;
var regex_min_minusc_pwd = /^(?=.*?[a-z]).{1,}$/;
var regex_min_special_pwd = /^(?=.*?[#?!@$%^&*_-]).{1,}$/;
if($('#majusc').length > 0){
if(regex_min_majusc_pwd.test(pwd1)){
$('#majusc').removeClass('fal fa-square');
$('#majusc').addClass('fal fa-check-square');
$('#majusc').css('color', 'green');
$('#majusc_text').css('color', 'green');
valid = valid + 1;
} else {
$('#majusc').removeClass('fal fa-check-square');
$('#majusc').addClass('fal fa-square');
$('#majusc').css('color', 'black');
$('#majusc_text').css('color', 'black');
}
}
if($('#minusc').length > 0){
if(regex_min_minusc_pwd.test(pwd1)){
$('#minusc').removeClass('fal fa-square');
$('#minusc').addClass('fal fa-check-square');
$('#minusc').css('color', 'green');
$('#minusc_text').css('color', 'green');
valid = valid + 1;
} else {
$('#minusc').removeClass('fal fa-check-square');
$('#minusc').addClass('fal fa-square');
$('#minusc').css('color', 'black');
$('#minusc_text').css('color', 'black');
}
}
if($('#number').length > 0){
if(regex_min_number_pwd.test(pwd1)){
$('#number').removeClass('fal fa-square');
$('#number').addClass('fal fa-check-square');
$('#number').css('color', 'green');
$('#number_text').css('color', 'green');
valid = valid + 1;
} else {
$('#number').removeClass('fal fa-check-square');
$('#number').addClass('fal fa-square');
$('#number').css('color', 'black');
$('#number_text').css('color', 'black');
}
}
if(regex_min_special_pwd.test(pwd1)){
//$('#majusc').addClass('fal fa-check-square');
//valid = valid + 1;
} else {
//$('#majusc').removeClass('fal fa-check-square');
}
if($('#caract').length > 0){
if(regex_min_max_lenght_pwd.test(pwd1)){
$('#caract').removeClass('fal fa-square');
$('#caract').addClass('fal fa-check-square');
$('#caract').css('color', 'green');
$('#caract_text').css('color', 'green');
valid = valid + 1;
} else {
$('#caract').removeClass('fal fa-check-square');
$('#caract').addClass('fal fa-square');
$('#caract').css('color', 'black');
$('#caract_text').css('color', 'black');
}
}
//}
if (pwd1 != "" && pwd1 == pwd2){
$('#corresp').removeClass('fal fa-square');
$('#corresp').addClass('fal fa-check-square');
$('#corresp').css('color', 'green');
$('#corresp_text').css('color', 'green');
valid = valid + 1;
// alert(5);
if(valid >= 5){
$('.btn.btn-lg.btn-primary.btn-block.login-log-button').removeAttr('disabled');
}
} else {
$('#corresp').removeClass('fal fa-check-square');
$('#corresp').addClass('fal fa-square');
$('#corresp').css('color', 'black');
$('#corresp_text').css('color', 'black');
$('.btn.btn-lg.btn-primary.btn-block.login-log-button').attr('disabled', 'disabled');
}
}
function OuvrirPage(fichier, fenetre)
{
// Mes options d'ouverture de fenetre
//var options = "top=0, left=0, status=no, resizable=yes, location=no, menubar=no, scrollbars=yes, width="+screen.availWidth+", height="+screen.availHeight ;
var options = "top=50, left=50, status=yes, toolbar=yes, resizable=yes, location=yes, menubar=yes, scrollbars=yes, width="+screen.availWidth+", height="+screen.availHeight ;
ff=window.open(fichier, fenetre, options);
ff.focus();
}
function afficher_cacher_id(id_to_hide_or_display) {
//console.log(id_to_hide_or_display);
//console.log(document.getElementById(id_to_hide_or_display).className);
if (document.getElementById(id_to_hide_or_display).className=="hidden_block") {
document.getElementById(id_to_hide_or_display).className="visible_block";
// Dans le HTML button_connect doit être appelé en dernier
if(id_to_hide_or_display != 'button_connect'){
$('.btn.btn-lg.btn-primary.btn-block.login-log-button').attr('disabled', 'disabled');
} else {
$('.btn.btn-lg.btn-primary.btn-block.login-log-button').removeAttr('disabled');
}
}
else {
document.getElementById(id_to_hide_or_display).className="hidden_block";
$('.btn.btn-lg.btn-primary.btn-block.login-log-button').removeAttr('disabled');
}
}
function CheckValues()
{
if (document.form_connexion.login.value == "")
{
alert("Required user name");
return false;
}
else if (document.form_connexion.pwd.value == "")
{
alert("Required password");
return false;
}
else
{
// le problème de connexion et de redirection sur Edge
my_form = eval(document.form_connexion);
//OuvrirPage("c/", "_self");
my_form.target = "_self";
//my_form.action = "confirm.php";
my_form.action = "https://agrica.vertical-expense.com/c/";
my_form.submit();
my_form.focus();
a = setTimeout("document.form_connexion.pwd.value = \"\"",5000);
return false;
}
}
function CheckValuesReinitPassword()
{
if (document.form_connexion.login.value == "")
{
alert("Required user name");
return false;
}
else
{
my_form = eval(document.form_connexion);
adress_open="index?action=reinit_password";
//OuvrirPage(adress_open, "_self");
my_form.target = "_self";
my_form.action = adress_open;
my_form.submit();
my_form.focus();
a = setTimeout("document.form_connexion.pwd.value = \"\"",5000);
return false;
}
}
</script>
</div>
</form>
Text Content
LOGIN User Password New password Confirm the password PASSWORD RULES 1 number 1 capitalization 1 lowercase 8 characters correspondence SIGN IN Change your password Cancel password modification Forgotten password or first login After entering your user Id, you can reset your password by clicking on the button below. If, despite this action, you do not receive a reset email, please contact your administrator. or AUTOMATIC CONNECTION