dbexpertise.netexplorer.pro Open in urlscan Pro
2.57.142.4  Public Scan

URL: https://dbexpertise.netexplorer.pro/oauth2/pwdcreate/rj4rm3kmxnmw5pHQ0Dn3
Submission: On October 24 via manual from CH — Scanned from FR

Form analysis 1 forms found in the DOM

POST

<form method="post">
  <input type="hidden" name="csrf" value="xGhpIOmhN37cXS,QoQJONt0IWTznpQ0X">
  <input type="hidden" name="ticket" value="rj4rm3kmxnmw5pHQ0Dn3">
  <div>
    <div>
      <label for="password" style="height:21px;">Nouveau mot de passe</label>
      <div class="p-relative">
        <input type="password" class="revealable" id="password" autofocus="autofocus" name="password" autocomplete="new-password" required="required" minlength="16">
        <div class="icon-form" id="icon-form-pass">
          <i class="netexplorer-view" id="view-pass"></i>
        </div>
      </div>
    </div>
    <div class="secure-pass">
      <div class="row">
        <input type="checkbox" disabled="" id="secure-pass-length">
        <label for="secure-pass-length">contient au moins 16 caractères</label>
      </div>
      <div class="row">
        <input type="checkbox" disabled="" id="secure-pass-min">
        <label for="secure-pass-min">contient au moins une minuscule</label>
      </div>
      <div class="row">
        <input type="checkbox" disabled="" id="secure-pass-maj">
        <label for="secure-pass-maj">contient au moins une majuscule</label>
      </div>
      <div class="row">
        <input type="checkbox" disabled="" id="secure-pass-number">
        <label for="secure-pass-number">contient au moins un chiffre</label>
      </div>
      <div class="row">
        <input type="checkbox" disabled="" id="secure-pass-special">
        <label for="secure-pass-special">contient au moins un caractère spécial (ex: @!..)</label>
      </div>
    </div>
    <div>
      <label for="password_confirm" style="height:21px;">Ressaisir</label>
      <div class="p-relative">
        <input type="password" class="revealable" autofocus="autofocus" name="password_confirm" id="password_confirm" required="required" minlength="16">
        <div class="icon-form" id="icon-form-pass-confirm">
          <i class="netexplorer-view" id="view-pass-confirm"></i>
        </div>
      </div>
      <span id="error-matching"></span>
    </div>
  </div>
  <script type="application/javascript" nonce="">
    var updatePasswordStrength = function() {
      if (document.getElementById("password")) {
        var value = document.getElementById("password").value;
        var minLengthCompliant = false;
        var minCompliant = false;
        var majCompliant = false;
        var numberCompliant = false;
        var specialCompliant = false;
        var minLengthCheckbox = document.getElementById("secure-pass-length");
        if (minLengthCheckbox) {
          if (value.length >= 16) {
            minLengthCompliant = true;
            minLengthCheckbox.checked = true;
            minLengthCheckbox.disabled = false;
          } else {
            minLengthCompliant = false;
            minLengthCheckbox.checked = false;
            minLengthCheckbox.disabled = true;
          }
        }
        var minCheckbox = document.getElementById("secure-pass-min");
        if (minCheckbox) {
          if (value.match(/[a-z]/)) {
            minCompliant = true;
            minCheckbox.checked = true;
            minCheckbox.disabled = false;
          } else {
            minCompliant = false;
            minCheckbox.checked = false;
            minCheckbox.disabled = true;
          }
        }
        var majCheckbox = document.getElementById("secure-pass-maj");
        if (majCheckbox) {
          if (value.match(/[A-Z]/)) {
            majCompliant = true;
            majCheckbox.checked = true;
            majCheckbox.disabled = false;
          } else {
            majCompliant = false;
            majCheckbox.checked = false;
            majCheckbox.disabled = true;
          }
        }
        var numberCheckbox = document.getElementById("secure-pass-number");
        if (numberCheckbox) {
          if (value.match(/\d/)) {
            numberCompliant = true;
            numberCheckbox.checked = true;
            numberCheckbox.disabled = false;
          } else {
            numberCompliant = false;
            numberCheckbox.checked = false;
            numberCheckbox.disabled = true;
          }
        }
        var specialCheckbox = document.getElementById("secure-pass-special");
        if (specialCheckbox) {
          if (value.match(/[!"#$%&\'()*+,-./:;<=>?@[\]^_`{|}~]/)) {
            specialCompliant = true;
            specialCheckbox.checked = true;
            specialCheckbox.disabled = false;
          } else {
            specialCompliant = false;
            specialCheckbox.checked = false;
            specialCheckbox.disabled = true;
          }
        }
        var submit = document.getElementById("submit");
        if (submit) {
          var complexityWeakCompliant = minLengthCompliant && minCompliant && majCompliant;
          var complexityMediumCompliant = complexityWeakCompliant && numberCompliant;
          var complexityStrongCompliant = complexityMediumCompliant && specialCompliant;
          var passwordComplexity = 2;
          var disabled = (!complexityWeakCompliant && passwordComplexity == 0 || !complexityMediumCompliant && passwordComplexity == 1 || !complexityStrongCompliant && passwordComplexity == 2);
          if (document.getElementById("password_confirm")) {
            var passwordMatching = value === document.getElementById("password_confirm").value;
            disabled = disabled || !passwordMatching;
          }
          submit.disabled = disabled;
          if (disabled) {
            submit.classList.add("disabled");
          } else {
            submit.classList.remove("disabled");
          }
        }
      }
    };

    function debounce(callback, delay) {
      var timer;
      return function() {
        var args = arguments;
        var context = this;
        clearTimeout(timer);
        timer = setTimeout(function() {
          callback.apply(context, args);
        }, delay)
      }
    }
    // Vérification de la correspondance des mots de passes
    function checkPasswordMatching() {
      var passwordMatching = document.getElementById("password").value === document.getElementById("password_confirm").value;
      if (!passwordMatching) {
        document.getElementById("error-matching").innerText = "Les deux mots de passes sont différents. Veillez à saisir le même mot de passe dans les deux champs.";
      } else {
        document.getElementById("error-matching").innerText = "";
      }
    }
    window.document.getElementById("password").addEventListener("input", updatePasswordStrength);
    window.document.getElementById("password").addEventListener("input", function(e) {
      if (document.getElementById("password_confirm") && document.getElementById("password_confirm").value !== "") {
        checkPasswordMatching();
      }
    })
    if (document.getElementById("password_confirm")) {
      window.document.getElementById("password_confirm").addEventListener("input", function(e) {
        document.getElementById("error-matching").innerText = "";
      })
      window.document.getElementById("password_confirm").addEventListener("input", updatePasswordStrength);
      window.document.getElementById("password_confirm").addEventListener("input", debounce(checkPasswordMatching, 400))
    }
  </script>
  <script type="application/javascript" nonce="">
    if (!Element.prototype.matches) {
      Element.prototype.matches = Element.prototype.matchesSelector || Element.prototype.mozMatchesSelector || Element.prototype.msMatchesSelector || Element.prototype.oMatchesSelector || Element.prototype.webkitMatchesSelector || function(s) {
        var matches = (this.document || this.ownerDocument).querySelectorAll(s),
          i = matches.length;
        while (--i >= 0 && matches.item(i) !== this) {}
        return i > -1;
      };
    }
    (function() {
      function scorePassword(pass) {
        var score = 0;
        if (!pass) return score;
        // award every unique letter until 5 repetitions
        var letters = {};
        for (var i = 0; i < pass.length; i++) {
          letters[pass[i]] = (letters[pass[i]] || 0) + 1;
          score += 5.0 / letters[pass[i]];
        }
        // bonus points for mixing it up
        var variations = {
          digits: /\d/.test(pass),
          lower: /[a-z]/.test(pass),
          upper: /[A-Z]/.test(pass),
          nonWords: /\W/.test(pass),
        };
        var variationCount = 0;
        for (var check in variations) {
          variationCount += (variations[check] == true) ? 1 : 0;
        }
        score += (variationCount - 1) * 10;
        return parseInt(score);
      }
      if (document.forms.length > 0) {
        var sent = false;

        function submitForm(formId) {
          if (sent) {
            return;
          }
          var form;
          if (formId instanceof HTMLFormElement) {
            form = formId;
          } else if (formId) {
            form = document.getElementById(formId);
          } else {
            //Si on a pas l'identifiant on submit le forumaire par défaut
            form = document.getElementById("default-login-form");
          }
          if (form && (
              (form.reportValidity && form.reportValidity()) || (form.checkValidity && form.checkValidity()))) {
            sent = true;
            var btn = document.querySelector("button[type=submit]");
            if (btn) {
              btn.setAttribute("disabled", "disabled");
            }
            form.submit();
          }
        }
        window.addEventListener("keypress", function(e) {
          if (e.key == "Enter") submitForm();
        });
        var submitClick = function() {
          var formRef = this.getAttribute("form-ref");
          var form;
          if (!formRef || !(form = document.getElementById(formRef))) {
            var cur = this;
            while (cur.parentNode != null) {
              cur = cur.parentNode;
              if (cur.nodeName == "FORM") {
                submitForm(cur);
                return true;
              }
            }
            if (document.forms && document.forms.length > 0) {
              submitForm(document.forms[0]);
            }
          } else {
            submitForm(form);
          }
          return true;
        };
        var fsElements = document.getElementsByClassName("form-submit");
        for (var fsElem in fsElements) {
          if (fsElements.hasOwnProperty(fsElem)) fsElements[fsElem].addEventListener("click", submitClick.bind(fsElements[fsElem]));
        }
      }

      function closeSmartBanner() {
        document.cookie = 'no-smart-banner=1;expires=Fri, 08 Nov 2024 13:35:09 +0000';
        document.getElementById('smart-app-banner').parentNode.removeChild(document.getElementById('smart-app-banner'));
        return false;
      }
      var smartElements = document.getElementsByClassName("smart-close");
      for (var smartBtn in smartElements) {
        if (smartElements.hasOwnProperty(smartBtn)) smartElements[smartBtn].addEventListener("click", closeSmartBanner.bind(smartElements[smartBtn]));
      }

      function showMfaMethods() {
        this.style.display = 'none';
        this.nextElementSibling.style.display = 'block';
        return false;
      }

      function addEventOnInputForIcon(input, icon) {
        try {
          input.addEventListener("input", function(e) {
            if (e.target.value.length > 0) {
              icon.style.display = "flex";
            } else {
              icon.style.display = "none";
            }
          })
        } catch (e) {
          console.error(e);
        }
      }
      var mfaElements = document.getElementsByClassName("show-mfa-methods");
      for (var mfaLink in mfaElements) {
        if (mfaElements.hasOwnProperty(mfaLink)) mfaElements[mfaLink].addEventListener("click", showMfaMethods.bind(mfaElements[mfaLink]));
      }
      //Password
      var formPassIcon = document.getElementById("icon-form-pass");
      var formPassInput = document.getElementById("password");
      if (formPassIcon && formPassInput) {
        try {
          addEventOnInputForIcon(formPassInput, formPassIcon);
          var icon = document.getElementById("view-pass");
          if (icon) {
            function viewPassword() {
              icon.className = "netexplorer-view_off";
              formPassInput.type = "text";
            }

            function hidePassword() {
              icon.className = "netexplorer-view";
              formPassInput.type = "password";
            }
            formPassIcon.addEventListener('mousedown', viewPassword, false);
            formPassIcon.addEventListener('touchstart', viewPassword, false);
            formPassIcon.addEventListener('touchmove', viewPassword, false);
            formPassIcon.addEventListener('touchstop', hidePassword, false);
            formPassIcon.addEventListener('mouseout', hidePassword, false);
            formPassIcon.addEventListener('mouseup', hidePassword, false);
          }
        } catch (e) {
          console.error(e);
        }
      }
      //Password confirm
      var formPassIconConfirm = document.getElementById("icon-form-pass-confirm");
      var formPassConfirmInput = document.getElementById("password_confirm");
      if (formPassIconConfirm && formPassConfirmInput) {
        try {
          addEventOnInputForIcon(formPassConfirmInput, formPassIconConfirm);
          var iconConfirm = document.getElementById("view-pass-confirm");
          if (iconConfirm) {
            formPassIconConfirm.addEventListener("mousedown", function() {
              iconConfirm.className = "netexplorer-view_off";
              formPassConfirmInput.type = "text";
            });
            formPassIconConfirm.addEventListener("mouseout", function() {
              iconConfirm.className = "netexplorer-view";
              formPassConfirmInput.type = "password";
            });
            formPassIconConfirm.addEventListener("mouseup", function() {
              iconConfirm.className = "netexplorer-view";
              formPassConfirmInput.type = "password";
            })
          }
        } catch (e) {
          console.error(e);
        }
      }
      //Identifiant
      var formIdIcon = document.getElementById("icon-form-id");
      var formIdInput = document.getElementById("login");
      if (formIdIcon && formIdInput) {
        addEventOnInputForIcon(formIdInput, formIdIcon);
        formIdIcon.addEventListener("click", function() {
          formIdInput.value = "";
          formIdIcon.style.display = "none";
        });
      }
    })();
  </script>
  <div class="actions">
    <button class="button disabled" disabled="" type="submit" id="submit">VALIDER</button>
  </div>
</form>

Text Content

ESPACE DE PARTAGE DE FICHIERS NETEXPLORER


CRÉATION DE MOT DE PASSE

Pour finaliser la création de votre compte, merci de bien vouloir renseigner
votre nouveau mot de passe.

Nouveau mot de passe

contient au moins 16 caractères
contient au moins une minuscule
contient au moins une majuscule
contient au moins un chiffre
contient au moins un caractère spécial (ex: @!..)
Ressaisir

VALIDER