首页 > Web开发 > 详细

[wechall] Time to Reset (Exploit, Coding, PHP)

时间:2016-01-22 14:03:32      阅读:326      评论:0      收藏:0      [点我收藏+]

Time to Reset (Exploit, Coding, PHP)

<?php
$start=1453000000;
$cstf="nipNlJ6ZQPuGQ3i90QUTP8JrZSu7W7Va";
function ttr_random($len,$alpha=‘abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789‘)
{
        $alphalen = strlen($alpha) - 1;
        $key = ‘‘;        for($i = 0; $i < $len; $i++)
        {
                $key .= $alpha[rand(0, $alphalen)];
        }
        return $key;
}
for($i=0;$i<1000000;$i++){
    srand($start+$i);
$temp = ttr_random(32);
if($temp===$cstf){
    echo $i ."\n";
    echo ttr_random(16)."\n";
    break;
}
}

?>

 

[wechall] Time to Reset (Exploit, Coding, PHP)

原文:http://www.cnblogs.com/Christmas/p/5150633.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!