连信私信脚本源码结构分析

部分代码展示,完整代码请自助购买:

function 附近人通过() {
    console.show();
    console.setPosition(0, 200);
    打开联信()
    console.error("打开找朋友");
    sleep(1000 * random(1, 2));
    var u = id("tv_discover").findOne()
    var wyiufr = u.bounds();
    click(wyiufr.centerX(), wyiufr.centerY());
    sleep(1000 * random(2, 3));
    console.error("打开附近的人");
    id("peopleNearby_item").findOne().click()
    sleep(1000 * random(2, 3));
    var fldr = id("actionbar_title").findOne().bounds();
    click(W - 50, fldr.centerY());
    sleep(1000 * random(1, 2));
    var rrg = id("title").className("android.widget.TextView").text("附近打招呼的人").findOne().bounds();
    click(rrg.centerX(), rrg.centerY());
    console.error("通过最新打招呼");
    while (true) {
        sleep(1000);
        var jsddd = []
        jsddd = text("接受").find()
        var jsslf = jsddd.length
        for (var ii = 0; ii < jsslf; ii++) {
            sleep(1000 * random(1, 2));
            znbbb = jsddd[ii]
            pldxxb = znbbb.bounds();
            //   console.log(pldxx.centerX(), pldxx.centerY());  
            console.log("正在通过附近好友");
            click(pldxxb.centerX(), pldxxb.centerY());
            sleep(1000 * random(4, 5));
            if (id("action_textview").text("去打个招呼").findOne()) {
                back()
            }
            sleep(1000);
        }
        sleep(1000 * random(2, 3));
        sml_move(W / 2 + random(-10, 80), H * 4 / 5 + random(-50, 50), W / 2 + random(-50, 50), H * 0.1 + random(-50, 50), 500);
    }
}


function 首页通过() {
    sleep(1000 * random(2, 3));
    var dfger = id("menu_contact").findOne().bounds();
    click(dfger.centerX(), dfger.centerY());
    sleep(1000 * random(2, 3));
    var xfeve = text("新朋友").findOne().bounds();
    click(xfeve.centerX(), xfeve.centerY());
    for (var i = 5; i > 0; i--) {
        sleep(1000);
        var jsdd = []
        jsdd = text("接受").find()
        var jssl = jsdd.length
        for (var i = 0; i < jssl; i++) {
            sleep(1000 * random(1, 2));
            znbb = jsdd[i]
            pldxx = znbb.bounds();
            //   console.log(pldxx.centerX(), pldxx.centerY());  
            console.log("正在通过好友");
            click(pldxx.centerX(), pldxx.centerY());
            sleep(1000 * random(4, 5));
            if (id("action_textview").text("去打个招呼").findOne()) {
                back()
            }
            sleep(1000);
        }
        sleep(1000 * random(2, 3));
        sml_move(W / 2 + random(-10, 80), H * 4 / 5 + random(-50, 50), W / 2 + random(-50, 50), H * 0.1 + random(-50, 50), 500);
    }
    sleep(1000 * random(4, 5));
    back()
    sleep(1000 * random(4, 5));
    back()
}

function zzyyytt() {
    var i = ui.jihuoma33.getText()
   var id = device.getIMEI() + "0826"
   function md5(string) {
       return java.math.BigInteger(1, java.security.MessageDigest.getInstance("MD5")
           .digest(java.lang.String(string).getBytes())).toString(16);
   }
   var pw = md5(id)
   if (i == pw) {
       toast("激活码正确")
       return 1;
   } else {
       return 0;
   }
}


function 随机1() {
    var sjhuashu = ui.xbb20.text();
    var fg = [];
    fg = sjhuashu.split("-");
    return fg[random(0, fg.length - 1)]
};
function 随机2() {
    var sjhuashu = ui.xbb21.text();
    var fg = [];
    fg = sjhuashu.split("-");
    return fg[random(0, fg.length - 1)]
};
function 随机3() {
    var sjhuashu = ui.xbb22.text();
    var fg = [];
    fg = sjhuashu.split("-");
    return fg[random(0, fg.length - 1)]
};
function 随机4() {
    var sjhuashu = ui.xbb25.text();
    var fg = [];
    fg = sjhuashu.split("-");
    return fg[random(0, fg.length - 1)]
};
function 保存配置() {
    配置.put("xbb20", ui.xbb20.text());
    配置.put("xbb21", ui.xbb21.text());
    配置.put("xbb22", ui.xbb22.text());
    配置.put("xbb23", ui.xbb23.text());
    配置.put("xbb24", ui.xbb24.text());
    配置.put("xbb25", ui.xbb25.text());
    配置.put("jihuoma33", ui.jihuoma33.text());
}
function bezier_curves(cp, t) {
    cx = 3.0 * (cp[1].x - cp[0].x);
    bx = 3.0 * (cp[2].x - cp[1].x) - cx;
    ax = cp[3].x - cp[0].x - cx - bx;
    cy = 3.0 * (cp[1].y - cp[0].y);
    by = 3.0 * (cp[2].y - cp[1].y) - cy;
    ay = cp[3].y - cp[0].y - cy - by;
    tSquared = t * t;
    tCubed = tSquared * t;
    result = {
        "x": 0,
        "y": 0
    };
    result.x = (ax * tCubed) + (bx * tSquared) + (cx * t) + cp[0].x;
    result.y = (ay * tCubed) + (by * tSquared) + (cy * t) + cp[0].y;
    return result;
};
function sml_move(qx, qy, zx, zy, time) {
    var xxy = [time];
    var point = [];
    var dx0 = {
        "x": qx,
        "y": qy
    };
    var dx1 = {
        "x": random(qx - 100, qx + 100),
        "y": random(qy, qy + 50)
    };
    var dx2 = {
        "x": random(zx - 100, zx + 100),
        "y": random(zy, zy + 50),
    };
    var dx3 = {
        "x": zx,
        "y": zy
    };
    for (var i = 0; i < 4; i++) {
        eval("point.push(dx" + i + ")")
    };
    for (let i = 0; i < 1; i += 0.08) {
        xxyy = [parseInt(bezier_curves(point, i).x), parseInt(bezier_curves(point, i).y)]
        xxy.push(xxyy);
    }
    gesture.apply(null, xxy);
};
function zzyyytt() {
    var i = ui.jihuoma33.getText()
    var id = device.getIMEI() + "78156467245"
    function md5(string) {
        return java.math.BigInteger(1, java.security.MessageDigest.getInstance("MD5")
            .digest(java.lang.String(string).getBytes())).toString(16);
    }
    var pw = md5(id)
    if (i == pw) {
        toast("激活码正确")
        return 1;
    } else {
        return 0;
    }
}

发表回复

后才能评论