Skip to content

Commit

Permalink
Update to 1.2.3
Browse files Browse the repository at this point in the history
veryyoung committed Jan 22, 2017
1 parent 0467338 commit 44312f2
Showing 5 changed files with 29 additions and 8 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,17 @@

微信抢红包插件,基于 Xposed 框架,速度快得冷人发指。为避免过度拉仇恨,请谨慎使用。


## 包含黑名单不抢

免打扰功能每个微信版本升级都需要适配,现在换了思路,可以设置白名单。需要先打开显示微信ID 的功能,点进微信个人信息页或者群信息页,能查看并自动复制微信 ID,把他粘贴到"包含微信ID不抢"的设置项里面去,多个ID 以逗号分隔。

## 关于微信 6.5.4

盗版猖獗,每次微信升级都是我先更新,他们随后抄袭。这次刚好微信来了点不一样的,我就先不更新了,让他们先更。

明天就回家过年了,祝大家鸡年大吉吧!

# 截图

![](http://ww1.sinaimg.cn/large/9732f922gw1f57ga6rkcpg20k00zkb29.gif)
Binary file modified app/app-release.apk
Binary file not shown.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -23,8 +23,8 @@ android {
applicationId "me.veryyoung.wechat.luckymoney"
minSdkVersion 15
targetSdkVersion 23
versionCode 19
versionName "1.2.2"
versionCode 20
versionName "1.2.3"
}

buildTypes {
7 changes: 5 additions & 2 deletions app/src/main/java/me/veryyoung/wechat/luckymoney/Main.java
Original file line number Diff line number Diff line change
@@ -63,9 +63,8 @@ protected void afterHookedMethod(MethodHookParam param) throws Throwable {
donateIntent.setClassName(activity, "com.tencent.mm.plugin.remittance.ui.RemittanceUI");
donateIntent.putExtra("scene", 1);
donateIntent.putExtra("pay_scene", 32);
donateIntent.putExtra("scan_remittance_id", "011259012001125901201468688368254");
donateIntent.putExtra("fee", 10.0d);
donateIntent.putExtra("pay_channel", 12);
donateIntent.putExtra("pay_channel", 13);
donateIntent.putExtra("receiver_name", "yang_xiongwei");
donateIntent.removeExtra("donate");
activity.startActivity(donateIntent);
@@ -82,6 +81,10 @@ protected void afterHookedMethod(MethodHookParam param) throws Throwable {
if (!PreferencesUtils.open()) {
return;
}
if (wechatVersion.equals("6.5.4")) {
log("don't support wechat 6.5.4");
return;
}


int type = (int) getObjectField(param.thisObject, "field_type");
15 changes: 11 additions & 4 deletions app/src/main/java/me/veryyoung/wechat/luckymoney/VersionParam.java
Original file line number Diff line number Diff line change
@@ -4,10 +4,10 @@
public class VersionParam {

public static String receiveUIFunctionName = "d";
public static String receiveUIParamName = "com.tencent.mm.v.k";
public static String receiveUIParamName = "com.tencent.mm.u.k";
public static String GET_LUCKY_MONEY_CLASS = "com.tencent.mm.model.ak";
public static String getNetworkByModelMethod = "vy";
public static String getMessageClass = "com.tencent.mm.e.b.bx";
public static String getMessageClass = "com.tencent.mm.e.b.by";

public static void init(String version) {
switch (version) {
@@ -68,12 +68,19 @@ public static void init(String version) {
getNetworkByModelMethod = "vy";
getMessageClass = "com.tencent.mm.e.b.bx";
break;
case "6.5.4":
receiveUIFunctionName = "d";
receiveUIParamName = "com.tencent.mm.u.k";
GET_LUCKY_MONEY_CLASS = "com.tencent.mm.model.ak";
getNetworkByModelMethod = "vy";
getMessageClass = "com.tencent.mm.e.b.by";
break;
default:
receiveUIFunctionName = "d";
receiveUIParamName = "com.tencent.mm.v.k";
receiveUIParamName = "com.tencent.mm.u.k";
GET_LUCKY_MONEY_CLASS = "com.tencent.mm.model.ak";
getNetworkByModelMethod = "vy";
getMessageClass = "com.tencent.mm.e.b.bx";
getMessageClass = "com.tencent.mm.e.b.by";
}
}
}

0 comments on commit 44312f2

Please sign in to comment.