This article is a mirror article of machine translation, please click here to jump to the original article.

View: 7325|Reply: 1

Modify the QQ number, select js script v2, until you are satisfied

[Copy link]
Posted on 10/25/2014 8:37:22 AM | | |
Suddenly found that there is no need for verification codes now, so I wrote an infinite selection, speed

If the IP is hacked, F5 refreshes and starts over
QQ registered address http://zc.qq.com/chs/new.html

Select the function select_number can be modified according to your own preferences

To use, open the registration URL, then f12, copy the code to console, i.e. the command window, enter,
began to choose



Note: This code will be selected continuously until you are satisfied

  1. var total = 100;        //号码总数1000*3
  2. var maxwait_ms=60*1000;//最大等待时间60秒
  3. var select_count_max = 5;//包含select_count_max个0-9即选取
  4. var select_stop_value = 1;//成功选取select_stop_value个号码就停止
  5. var selected_count = 0;
  6. var reselect_count = 1;

  7. console.log('%c注意:本代码会不停地选取,直到满意为止','font-size:40px;color:red;');


  8. function str_counof( str,findchar )
  9. {
  10.         var count = 0;
  11.         var pos = -1;
  12.          
  13.         pos = str.indexOf(findchar,pos);
  14.         while( pos >= 0 )
  15.         {
  16.                 count++;
  17.                 pos = str.indexOf(findchar,pos+1);
  18.         }

  19.         return count;
  20. }

  21. function select_number( strnumber )
  22. {

  23.         var ok;

  24.         do
  25.         {
  26.                 ok = true;
  27.                 //if(strnumber.length <= 9  )break;//去掉注释,选9位号码

  28.                 //if(strnumber.indexOf("000")>0)break;

  29.                 if(strnumber.indexOf("0000")>0)break;
  30.                 if(strnumber.indexOf("1111")>0)break;
  31.                 if(strnumber.indexOf("2222")>0)break;
  32.                 if(strnumber.indexOf("3333")>0)break;
  33.                 if(strnumber.indexOf("4444")>0)break;
  34.                 if(strnumber.indexOf("5555")>0)break;
  35.                 if(strnumber.indexOf("6666")>0)break;
  36.                 if(strnumber.indexOf("7777")>0)break;
  37.                 if(strnumber.indexOf("8888")>0)break;
  38.                 if(strnumber.indexOf("9999")>0)break;

  39.                 if(strnumber.indexOf("01234")>0)break;
  40.                 if(strnumber.indexOf("12345")>0)break;
  41.                 if(strnumber.indexOf("23456")>0)break;
  42.                 if(strnumber.indexOf("34567")>0)break;
  43.                 if(strnumber.indexOf("345678")>0)break;
  44.                 if(strnumber.indexOf("456789")>0)break;
  45.                 if(strnumber.indexOf("567890")>0)break;

  46.                 if(str_counof(strnumber,"0")>=select_count_max)break;
  47.                 if(str_counof(strnumber,"1")>=select_count_max)break;
  48.                 if(str_counof(strnumber,"2")>=select_count_max)break;
  49.                 if(str_counof(strnumber,"3")>=select_count_max)break;
  50.                 if(str_counof(strnumber,"4")>=select_count_max)break;
  51.                 if(str_counof(strnumber,"5")>=select_count_max)break;
  52.                 if(str_counof(strnumber,"6")>=select_count_max)break;
  53.                 if(str_counof(strnumber,"7")>=select_count_max)break;
  54.                 if(str_counof(strnumber,"8")>=select_count_max)break;
  55.                 if(str_counof(strnumber,"9")>=select_count_max)break;

  56.                 ok =false;

  57.         }while(0)

  58.                 return ok;
  59. }

  60. function start_select()
  61. {
  62.         var i = 1;
  63.         var _act_lsig = [];
  64.         index.goodNumArr = [];

  65.         console.log("正在选择(第"+reselect_count+"次),请等待");
  66.         reselect_count ++;

  67.         do {
  68.                 (function()
  69.                 {
  70.                         $.post(index.getNumUrl, index.submitObj, function(a)
  71.                         {
  72.                                 if (a.ec == 0)
  73.                                 {
  74.                                         index.submitObj.act_lsig = a.act_lsig;
  75.                                         _act_lsig.push(a.act_lsig);
  76.                                         _act_lsig.push(a.act_lsig);
  77.                                         _act_lsig.push(a.act_lsig);
  78.                                         $.cookie.set("_act_lsig", a.act_lsig, "zc.qq.com", "/", 0.5 * 1000);
  79.                                         index.goodNumArr.push(a.new_uin_0);
  80.                                         index.goodNumArr.push(a.new_uin_1);
  81.                                         index.goodNumArr.push(a.new_uin_2);
  82.                                         index.submitObj.safeverifyResult = a.safeverifyResult;
  83.                                         index.submitObj.elevel = a.safeverifyResult;
  84.                                 }
  85.                                  
  86.                         });
  87.                         i++;
  88.                 })();

  89.         } while (i <= total);

  90.          
  91.         setTimeout(function()
  92.         {

  93.                 index.goodNumArr.sort();

  94.                 if (!index.goodNumArr.length)
  95.                 {
  96.                         console.error('你被黑了IP');
  97.                         return;
  98.                 }


  99.                 for (num in index.goodNumArr)
  100.                 {

  101.                         if(select_number(index.goodNumArr[num])!=false)
  102.                         {
  103.                                 console.groupCollapsed("%c"+index.goodNumArr[num],"color:red");
  104.                                 console.log('第' + (parseInt(num) + 1) + '个');
  105.                                 console.group('如需选择此号码,首先在控制台粘贴下面的代码执行:');
  106.                                 console.log('$.cookie.set("_act_lsig", "' + _act_lsig[num] + '", "zc.qq.com", "/", 0.5*1000);\nindex.act_lsig = "' + _act_lsig[num] + '"; \nindex.currenNum=' + num + ';');
  107.                                 console.groupEnd();
  108.                                 console.group('然后填写页面表格信息后提交即可!只是测试哈!');
  109.                                 console.groupEnd();
  110.                                 console.groupEnd();
  111.                                 selected_count++;
  112.                         }

  113.                 }

  114.                 if( selected_count >= select_stop_value )
  115.                 {
  116.                         console.log('精选完成,共选取了号码数量:'+selected_count);
  117.                 }else
  118.                 {
  119.                         console.log('没有选中满意的号码,正在重选' );

  120.                         start_select()
  121.                 }
  122.         }, (total * 500>maxwait_ms)?maxwait_ms:(total * 500));

  123. }

  124. start_select();
Copy code






Previous:Tomorrow should be a break, and the school has to do an individual fitness test
Next:Free Internet access, free access to CMCC with QQWifi, etc
Posted on 10/25/2014 9:49:15 PM |
Worship the landlord
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com