https://alyafg.com/index/user/register/invite_code/ZC24R3.html

ID da verificação
b32aaa76-e2f1-4ee6-815b-4f83e5e7712aConcluído
URL enviado:
https://alyafg.com/index/user/register/invite_code/ZC24R3.html
Relatório concluído:

Os links de saída identificados na página

Variáveis JavaScript · 8 encontrada(s)

Variáveis JavaScript globais carregadas no objeto janela de uma página são variáveis declaradas fora das funções e acessíveis de qualquer lugar no código dentro do escopo atual

NomeTipo
onbeforetoggleobject
documentPictureInPictureobject
onscrollendobject
$function
jQueryfunction
Popperfunction
bootstrapobject
Swiperfunction

Mensagens de registro do console · 2 encontrada(s)

Mensagens registradas no console web

TipoCategoriaLog
verbosedom
URL
https://alyafg.com/index/user/register/invite_code/ZC24R3.html
Texto
[DOM] Input elements should have autocomplete attributes (suggested: "new-password"): (More info: https://goo.gl/9p2vKq) %o
verbosedom
URL
https://alyafg.com/index/user/register/invite_code/ZC24R3.html
Texto
[DOM] Input elements should have autocomplete attributes (suggested: "new-password"): (More info: https://goo.gl/9p2vKq) %o

HTML

O corpo HTML bruto da página

<!DOCTYPE html><html lang="en" class="deeppurple-theme"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, viewport-fit=cover, user-scalable=no"><meta name="description" content=""><title>reg_title</title><meta property="og:site_name" content="T.E.M"><meta property="og:type" content="website"><meta name="title" content="T.E.M"><meta property="og:title" content="T.E.M"><meta name="twitter:title" content="T.E.M"><meta name="description" content="T.E.M"><meta property="og:description" content="T.E.M"><meta name="twitter:description" content="T.E.M"><meta property="og:type" content="website"><meta property="og:url" content="https://alyafg.com/index/user/register.html"><!-- Material design icons CSS --><link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"><!-- Roboto fonts CSS --><link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&amp;display=swap" rel="stylesheet"><!-- Bootstrap core CSS --><link href="/red/bootstrap/css/bootstrap.min.css" rel="stylesheet"><!-- Swiper CSS --><link href="/red/swiper/swiper-bundle.min.css" rel="stylesheet"><!-- Custom styles for this template --><link href="/red/style.css?v=V1.24" rel="stylesheet"><link rel="stylesheet" href="/static_new/css/public.css?v=V1.24"></head><body class=""><div class="wrapper passport"><!-- header --><div class="header"><div class="row no-gutters"><div class="col-2"></div><div class="col-8 text-center"><span class="btn small" style="width: 100%;display: none">reg_title</span></div><div class="col-2 text-right"><a href="/index/user/lang" class="btn btn-link text-dark"><i class="material-icons" style="display: inline-block">language</i></a></div></div></div><!-- header ends --><div class="container"><div class="bg-default"><div class="row no-gutters login-row"><div class="col align-self-center px-3 text-center mt-3"><img src="https://aaglby.com/upload/9926deed5556457a/04f5af59aefd629c.png" style="width:100px;height:100px;border-radius: 10px"><p class="mt-2"><b>T.E.M</b></p><p class="mt-1 small"><i>login_comment</i></p><form class="form-signin "><div class="form-group"><input type="text" name="user_name" class="form-control form-control-lg text-center" placeholder="login_name" value="" required="" autofocus=""></div><!--<div class="form-group"><input type="text" class="form-control form-control-lg text-center" name="tel" value=""
                                   placeholder="login_phone" class="form-control"></div>--><div class="form-group input-group"><div class="input-group-prepend"><button class="btn dropdown-toggle address" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">+33</button><div class="dropdown-menu"><a class="dropdown-item" href="#">+33</a></div></div><input type="text" name="tel" placeholder="login_phone" class="form-control" aria-label="Recipient's username"><div class="input-group-append"><button class="btn btn-link get-code" type="button">send_sms</button></div></div><div class="form-group"><input type="text" name="verify" class="form-control form-control-lg text-center" placeholder="login_q_yzm" value="" required="" autofocus=""></div><div class="form-group"><input type="password" name="pwd" class="form-control form-control-lg text-center" placeholder="login_pass" value="" required="" autofocus=""></div><div class="form-group"><input type="password" name="deposit_pwd" class="form-control form-control-lg text-center" placeholder="login_pass2" value="" required="" autofocus=""></div><div class="form-group"><input type="text" name="invite_code" class="form-control form-control-lg text-center" placeholder="login_qr" value="ZC24R3" required="" autofocus=""></div><!--<div class="form-group my-4 text-left"><div class="custom-control custom-checkbox"><input type="checkbox" class="custom-control-input" id="rememberme"><label class="custom-control-label" for="rememberme">Remember Me</label></div></div>--><input type="hidden" name="_csrf_" value="csrf672cb7735aef4"></form></div></div><!-- login buttons --><div class="row mx-0 mt-4"><div class="col"><a class="btn btn-default btn-lg btn-rounded shadow btn-block form-buttom">reg_title</a></div></div><!-- login buttons --><div class="row mx-0 text-center justify-content-center"><a href="/index/user/login" class="mt-4 d-block">login</a></div></div></div></div><!-- jquery, popper and bootstrap js --><script src="/red/jquery-3.3.1.min.js"></script><script src="/red/popper.min.js"></script><script src="/red/bootstrap/js/bootstrap.min.js"></script><!-- swiper js --><script src="/red/swiper/swiper-bundle.min.js"></script><!-- cookie js --><script src="/red/jquery.cookie.js"></script><script charset="utf-8" src="/static_new/js/dialog.min.js"></script><script charset="utf-8" src="/static_new/js/common.js"></script><script type="application/javascript">
    $(function () {
        var countdown = 180;
        var flag = true;
        var loading = null;

        /*检查表单*/
        function check() {
            if (!check_phone()) return false;
            
                       if($.trim($("input[name=verify]").val())==''){
                
                 $(document).dialog({
                 infoText: 'verify_no'
                });
                return false;
               
            }
            
                          if ($("input[name=pwd]").val() == '') {
                $(document).dialog({
                    infoText: 'login_pass'
                });
                return false;
            }
            if ($("input[name=deposit_pwd]").val() == '' || $("input[name=deposit_pwd_re]").val() == '') {
                $(document).dialog({
                    infoText: 'login_pass2'
                });
                return false;
            }
           /*
            if ($("input[name=deposit_pwd]").val() !== $("input[name=pwd]").val()) {
                $(document).dialog({
                    infoText: 'login_passnot'
                });
                return false;
            }
            */
            if ($("input[name=invite_code]").val() == '') {
                $(document).dialog({
                    infoText: "login_qr"
                });
                return false;
            }
            
             
              var myreg2 = /^[\w]{2,30}$/;
            if (!myreg2.test($("input[name=user_name]").val())) {
                $(document).dialog({
                    infoText: "login_name"
                });
                return false;
            }
            
            return true;
        }

        /*Verifikasi nomor ponsel*/
        function check_phone() {
            if ($("input[name=user_name]").val() == '') {
                $(document).dialog({
                    infoText: "login_name"
                });
                return false;
            } 
            var myreg = /^[0-9]{2,12}$/;
            if (!myreg.test($("input[name=tel]").val())) {
                $(document).dialog({
                    infoText: "login_phone"
                });
                return false;
            }
            return true;
        }

        /*验证码倒计时*/
        function time_down(obj) {
            if (countdown == 0) {
                flag = true;
                obj.text("Enviar");
                countdown = 180;
                return;
            } else {
                flag = false;
                obj.text(countdown + "s");
                countdown--;
            }
            setTimeout(function () {
                time_down(obj)
            }, 1000);
        }

        /*获取验证码*/
        $(".get-code").on('click', function () {
            var myreg = /^[0-9]{2,12}$/;
            if (!myreg.test($("input[name=tel]").val())) {
                $(document).dialog({
                    infoText: "login_phone"
                });
                return false;
            }
             var myreg2 = /^[\w]{2,30}$/;
            if (!myreg2.test($("input[name=user_name]").val())) {
                $(document).dialog({
                    infoText: "login_name"
                });
                return false;
            }
            sendCode(123)
        });


        function sendCode(reCAPTCHA) {
            $.ajax({
                url: '/index/send/sendsms',
                data: {
                    'tel': $("input[name=tel]").val(),
                    'code': $(".address").text()
                },
                type: 'POST',
                success: function (data) {
                    $('#reCAPTCHA_V2').modal('hide');
                    if (data.code == 0) {
                        $(document).dialog({infoText: data.info, autoClose: 3000});
                        time_down($(".get-code"));
                        if (data.verify) {
                            $("input[name=verify]").val(data.verify);
                        }
                    } else {
                        flag = true;
                        $(document).dialog({infoText: data.info});
                    }
                },
                error: function (err) {
                    $('#reCAPTCHA_V2').modal('hide');
                    flag = true;
                    console.log(err);
                }
            });
        }

        /*提交*/
        $(".form-buttom").on('click', function () {
            var ret = check();
            console.log(ret);
            if (ret) {
                $.ajax({
                    url: "/index/user/do_register.html",
                    data: $(".form-signin").serialize(),
                    type: 'POST',
                    beforeSend: function () {
                        loading = $(document).dialog({
                            type: 'notice',
                            infoIcon: '/static_new/img/loading.gif',
                            infoText: 'loading...',
                            autoClose: 0
                        });
                    },
                    success: function (data) {
                        loading.close();
                        if (data.code == 0) {
                            //$(document).dialog({infoText: 'reg_ok'});
                            /*
                            setTimeout(function () {
                                location.href = "/index/user/login.html"
                            }, 1500);
                            */
                            
                             var tel = $("input[name=tel]").val();
                            var pwd = $("input[name=pwd]").val();
                            var jizhu = $("input[name=jizhu]").val();
                            var _csrf_ = "csrf672cb7735b069";
                           // alert('here');
                            //do_login
                             $.ajax({
                                    url: "/index/user/do_login.html",
                                    data: {
                                        tel: tel,
                                        pwd: pwd,
                                        jizhu: jizhu,
                                        '_csrf_': _csrf_,
                                        'reCAPTCHA': ''
                                    },
                                    type: 'POST',
                                    beforeSend: function(request) {
                                        request.setRequestHeader('User-Token-Csrf', _csrf_);
                                        loading = $(document).dialog({
                                            type: 'notice',
                                            infoIcon: '/static_new/img/loading.gif',
                                            infoText: 'loading...',
                                            autoClose: 0
                                        });
                                    },
                                    success: function(data) {
                                        loading.close();
                                        if (data.code == 0) {
                                            $(document).dialog({
                                                infoText: data.info
                                            });
                                            setTimeout(function() {
                                                    location.href = "/index/index/home.html"
                                                },
                                                2000);
                                        } else {
                                            loading.close();
                                            if (data.info) {
                                                $(document).dialog({
                                                    infoText: data.info
                                                });
                                            } else {
                                                $(document).dialog({
                                                    infoText: "Network unstable, please try again at a place with better signal!",
                                                    autoClose: 2000
                                                });
                                            }
                                        }
                                    },
                                    error: function(data) {
                                        loading.close();
                                    }
                                });
                            
                            
                        } else {
                            $(document).dialog({infoText: data.info});
                        }
                    }
                });
            }
            return false;
        });


    })
</script></body></html>