viewtheard
千年狐狸
千年狐狸
  • UID2383
  • 注册日期2005-01-20
  • 最后登录2024-05-04
  • 发帖数1984
  • 经验496枚
  • 威望1点
  • 贡献值376点
  • 好评度20点
  • 社区居民
  • 忠实会员
阅读:1102回复:0

这个抽奖是否能作弊

楼主#
更多 发布于:2013-02-22 08:22
网址:
http://web.4399.com/ddt/other/100cj/

js脚本在客户端
function new_d() {
if ((new Date).getTime() < 1361462400000) {$("#demo1").html("活动尚未开启");return;}
if ((new Date).getTime() > 1361721600000) {$("#demo1").html("活动已经结束");return;}
if (parseInt(Math.random() * 200) == 16) var pn = '<b style="color:red">价值10000元大奖</b>';
else if (parseInt(Math.random() * 200) == 18) var pn = '<b style="color:red">尊贵珍稀大奖</b>';
else pn = p[parseInt(Math.random() * p.length)];
$("#demo1 div:last").remove();
$("#demo1").prepend('<div>' + get_d(0) + '<span>' + get_rank_char() + get_rank_char() +
get_repeat_char('*', 2) + '</span>获得<span>' + pn + '</span></div>');
setTimeout("new_d();", parseInt(Math.random() * 10) * 1000);
}


用猴子处理这个抽奖是否能作弊强制转到5000元大奖
My Technical Blog: http://art-technical.blogspot.com/
游客

返回顶部