REGQQ分析

if (g_dataArray[0].length != g_dataArray[1].length) {
    return
}
g_regform.action = g_dataArray[2];
var B = f_readCookie("PCCOOKIE");
if (B.length == 0) {
    return
}
g_RealPostData = "";
var K, I, D = B.length;
var P = parseInt(B.substring(D - 2, D), 16);
var M = new Array(g_dataArray[0].length);
for (var O = 0,
F = g_dataArray[1].length; O < F; O++) {
    K = g_dataArray[1][O] ^ P;
    I = g_dataArray[1].length - O - 1;
    for (var N = 0,
    C = g_NameRandSeed.length; N < C; N++) {
        K ^= g_NameRandSeed[N]
    }
    K %= g_elementsArr.length;
    g_elementsArr[K].name = g_dataArray[0][I];
    g_RealPostData += g_elementsArr[K].name + "=" + encodeURIComponent(g_elementsArr[K].value) + "&"
}
var L = document.getElementById("qzone").checked;
g_RealPostData += L ? ("qzone_flag=1") : ("qzone_flag=0");
g_RealPostData += "&alskdjf=fjdksla";
if (L) {
    document.cookie = "qzone=1"
} else {
    document.cookie = "qzone=0"
}
var J = 0;
var H = function(R) {
    var Q = document.cookie.match(new RegExp("(^| )" + R + "=([^;]*)(;|$)"));
    return ! Q ? "": unescape(Q[2])
};
for (var E = 0; E < g_array.length; E++) {
    J += g_array[E]
}
J += parseInt(H("PCCOOKIE").substring(0, 2), 16);
document.cookie = "code=" + g_array.join("-") + "-" + J % 100 + ";domain=reg.qq.com;path=/;";
if (typeof pgvSendClick == "function") {
    if (!L) {
        pgvSendClick({
            hottag: "R1JT.reg.step1.qzone_unchecked"
        })
    } else {
        pgvSendClick({
            hottag: "R1JT.reg.step1.qzone_checked"
        })
    }

}
log(g_RealPostData)

ss
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值