前言
晨风开心补丁做了也有两三年了,一直是免费,后来是1元授权,被逼无奈。被诽谤过补丁带木马病毒,被说过带后门,但是群众的眼睛是雪亮的,补丁是否正常都看得见,毕竟免费影响了很多人赚钱嘛,我懂。既然打算不玩晨风机器人之类的东西了,那么就索性全都开源出来。
源码
也不废话了,直接上代码。
<?php
/*
晨风QQ机器人伪算法
基于老版流出伪算法修改
烟雨如花yyrh.me分享
*/
date_default_timezone_set('PRC');
$qqnum=$_REQUEST[ 'version']; //获取QQ
$qq=$qqnum;
$sj=rand(1000000,9999999);
$a=$qq+$sj;
$a=intval($a/7);
$a=substr($a,0,strlen($a)-3);
$a=$a.'472';
$a=$a*7;
$sj=intval($a-$qq);
$a=$sj; //随机取1个7位数
$b=$qqnum+$a; //QQ号于7位随机数相加
$a1=str_replace("0","da","$a"); //7位随机数结果数里面的0用da表示
$a2=str_replace("1","db","$a1"); //7位随机数结果数里面的1用db表示
$a3=str_replace("2","dc","$a2"); //......
$a4=str_replace("3","dd","$a3"); //......
$a5=str_replace("4","de","$a4"); //......
$a6=str_replace("5","df","$a5"); //......
$a7=str_replace("6","dg","$a6"); //......
$a8=str_replace("7","dh","$a7"); //......
$a9=str_replace("8","di","$a8"); //......
$a10=str_replace("9","dj","$a9"); //......
$b1=str_replace("0","da","$b"); //QQ于7位随机数相加的结果数里面的0用da表示
$b2=str_replace("1","db","$b1"); //QQ于7位随机数相加的结果数里面的1用db表示
$b3=str_replace("2","dc","$b2"); //......
$b4=str_replace("3","dd","$b3"); //......
$b5=str_replace("4","de","$b4"); //......
$b6=str_replace("5","df","$b5"); //......
$b7=str_replace("6","dg","$b6"); //......
$b8=str_replace("7","dh","$b7"); //......
$b9=str_replace("8","di","$b8"); //......
$b10=str_replace("9","dj","$b9"); //......
$kp1 = substr($qqnum, -2,1);
$kp1 = $kp1*9;
$kp2 =substr($qqnum, -4,1);
$kp2 = $kp2*5;
$kp3 =substr($qqnum, -5,1);
$kp3 =$kp3*3;
$kp4 =$kp1+$kp2+$kp3;
$kp5 =$kp4+52556;
$kpa1=str_replace("0","ghge","$kp5"); //7位随机数结果数里面的0用da表示
$kpa2=str_replace("1","ghgf","$kpa1"); //7位随机数结果数里面的1用db表示
$kpa3=str_replace("2","ghgg","$kpa2"); //......
$kpa4=str_replace("3","ghgh","$kpa3"); //......
$kpa5=str_replace("4","ghgi","$kpa4"); //......
$kpa6=str_replace("5","ghgj","$kpa5"); //......
$kpa7=str_replace("6","ghgk","$kpa6"); //......
$kpa8=str_replace("7","ghgl","$kpa7"); //......
$kpa9=str_replace("8","ghgm","$kpa8"); //......
$kpa10=str_replace("9","ghgn","$kpa9"); //......
echo '2000_'.$b10.'_gihehehadkcpcphhhhhhcogdgghihjcogngfcphcgpgcgphegmgjddcohehihe_'.$a10.'_'.$kpa10.'_2000';
One comment
[...]首先肯定要做个伪站,因为我们要结合算法,换掉原版晨风的授权网址链接。原版晨风的授权链接有两个,分别是:[...]