Autojs打包APK中的泡椒云卡密验证更改方法,可以自己用

查看 113|回复 11
作者:verber34   
目 的: 把泡椒云的卡密验证过程换成自己的.接上篇内容 https://www.52pojie.cn/thread-1437241-1-1.html早晨吃饭的时候突然想到, 能不能把泡椒云的卡密验证换成自己的呢?来了就测试了一下,结果是可以的.
先看了下泡椒云的卡密验证过程, 注册了用户,看了下,是比较简单的, 原作者为什么没有更新卡密呢? 我猜想是,泡椒云的卡密系统是需要积分和钱的.
过程
1. 注册用户后,新建软件, 泡椒云的后台会生成一个appkey 和appscrect  


1.jpg (18.24 KB, 下载次数: 1)
下载附件
2021-5-12 08:31 上传

2.把在原文件中,替换成自己 生成的appkey 和appscrect
搜索joy.dex,找到appkey 和appscrect ,换成自己的. 原先的是混淆的,我们可以直接赋值,然后按上面的返回是object类型.照猫画虎, 加一句 check-cast 把string强制转换成object


11.jpg (27.5 KB, 下载次数: 1)
下载附件
2021-5-12 08:48 上传



2222.jpg (20.55 KB, 下载次数: 1)
下载附件
2021-5-12 08:48 上传

3.在泡椒云中生成卡密:


2.jpg (12.21 KB, 下载次数: 0)
下载附件
2021-5-12 08:32 上传

3.运行:


6.jpg (12.05 KB, 下载次数: 0)
下载附件
2021-5-12 08:44 上传



8.jpg (2.74 KB, 下载次数: 0)
下载附件
2021-5-12 08:44 上传

哈哈~自己的卡密自己用~~
--------------------------------------
有兴趣的可以自己试一下.
结论:
1. 泡椒云中创建APPkey 和APPscret,不需要上传软件, 也不需要提供软件包名, 也就是说, APPkey 和APPscret 两个数据压根与软件没有任何关系. 同一组APPkey 和APPscret可以用在不同的软件中
2. 如果你使用的程序 是泡椒云验证,可以使用这种方法,自己给自己提供卡密, 还是免费的,何乐而不为呢?

下载次数, 自己的

king253   

楼主照你的修改,软件运行提示卡密不存在。还是在修改什么内容?
.class public Lkiller/core/valid/PJYValid;
.super Ljava/lang/Object;
.source "PJYValid.java"
# static fields
.field private static final appKey:Ljava/lang/String; = "已改自己的"
.field private static final appSecret:Ljava/lang/String; = "已改自己的"
.field private static final cardFile:Ljava/lang/String; = "卡密数据"
.field private static heartBeatThread:Ljava/lang/Thread; = null
.field private static final host:Ljava/lang/String; = "api.paojiaoyun.com"
.field private static token:Ljava/lang/String;
# direct methods
.method static constructor ()V
    .registers 1
    .prologue
    const/4 v0, 0x0
    .line 33
    sput-object v0, Lkiller/core/valid/PJYValid;->token:Ljava/lang/String;
    .line 35
    sput-object v0, Lkiller/core/valid/PJYValid;->heartBeatThread:Ljava/lang/Thread;
    return-void
.end method
.method public constructor [i]()V
    .registers 1
    .prologue
    .line 27
    invoke-direct {p0}, Ljava/lang/Object;->[i]()V
    return-void
.end method
.method static synthetic access$000()Ljava/lang/String;
    .registers 1
    .prologue
    .line 27
    invoke-static {}, Lkiller/core/valid/PJYValid;->getCard()Ljava/lang/String;
    move-result-object v0
    return-object v0
.end method
.method static synthetic access$100()Ljava/lang/String;
    .registers 1
    .prologue
    .line 27
    sget-object v0, Lkiller/core/valid/PJYValid;->token:Ljava/lang/String;
    return-object v0
.end method
.method static synthetic access$200(Ljava/lang/String;Ljava/util/Map;)Lcom/alibaba/fastjson/JSONObject;
    .registers 3
    .param p0, "x0"  # Ljava/lang/String;
    .param p1, "x1"  # Ljava/util/Map;
    .prologue
    .line 27
    invoke-static {p0, p1}, Lkiller/core/valid/PJYValid;->request(Ljava/lang/String;Ljava/util/Map;)Lcom/alibaba/fastjson/JSONObject;
    move-result-object v0
    return-object v0
.end method
.method static synthetic access$300()V
    .registers 0
    .prologue
    .line 27
    invoke-static {}, Lkiller/core/valid/PJYValid;->stopScript()V
    return-void
.end method
.method private static getCard()Ljava/lang/String;
    .registers 4
    .prologue
    .line 183
    :try_start_0
    new-instance v0, Ljava/io/File;
    invoke-static {}, Lkiller/elfin/App;->getAppContext()Lcom/cyjh/elfin/AppContext;
    move-result-object v2
    invoke-virtual {v2}, Lcom/cyjh/elfin/AppContext;->getFilesDir()Ljava/io/File;
    move-result-object v2
    const-string v3, "script.cfg"
    invoke-direct {v0, v2, v3}, Ljava/io/File;->[i](Ljava/io/File;Ljava/lang/String;)V
    .line 184
    .local v0, "config":Ljava/io/File;
    const-string v2, "UTF-8"
    invoke-static {v0, v2}, Lorg/apache/commons/io/FileUtils;->readFileToString(Ljava/io/File;Ljava/lang/String;)Ljava/lang/String;
    move-result-object v2
    invoke-static {v2}, Lcom/alibaba/fastjson/JSON;->parseObject(Ljava/lang/String;)Lcom/alibaba/fastjson/JSONObject;
    move-result-object v1
    .line 185
    .local v1, "json":Lcom/alibaba/fastjson/JSONObject;
    const-string v2, "卡密数据"
    invoke-virtual {v1, v2}, Lcom/alibaba/fastjson/JSONObject;->containsKey(Ljava/lang/Object;)Z
    move-result v2
    if-eqz v2, :cond_29
    .line 186
    const-string v2, "卡密数据"
    invoke-virtual {v1, v2}, Lcom/alibaba/fastjson/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;
    :try_end_26
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_26} :catch_28
    move-result-object v2
    .line 190
    .end local v1  # "json":Lcom/alibaba/fastjson/JSONObject;
    :goto_27
    return-object v2
    .line 188
    :catch_28
    move-exception v2
    .line 190
    :cond_29
    const-string v2, ""
    goto :goto_27
.end method
.method private static getTimestamp()J
    .registers 10
    .prologue
    const-wide/16 v8, 0x3e8
    const-wide/16 v6, 0x5
    .line 168
    :try_start_4
    const-string v2, "https://api.m.taobao.com/rest/api3.do?api=mtop.common.getTimestamp"
    invoke-static {v2}, Lorg/jsoup/Jsoup;->connect(Ljava/lang/String;)Lorg/jsoup/Connection;
    move-result-object v2
    const/4 v3, 0x1
    .line 169
    invoke-interface {v2, v3}, Lorg/jsoup/Connection;->ignoreContentType(Z)Lorg/jsoup/Connection;
    move-result-object v2
    const/4 v3, 0x1
    .line 170
    invoke-interface {v2, v3}, Lorg/jsoup/Connection;->ignoreHttpErrors(Z)Lorg/jsoup/Connection;
    move-result-object v2
    .line 171
    invoke-interface {v2}, Lorg/jsoup/Connection;->execute()Lorg/jsoup/Connection$Response;
    move-result-object v2
    invoke-interface {v2}, Lorg/jsoup/Connection$Response;->body()Ljava/lang/String;
    move-result-object v0
    .line 172
    .local v0, "body":Ljava/lang/String;
    invoke-static {v0}, Lcom/alibaba/fastjson/JSON;->parseObject(Ljava/lang/String;)Lcom/alibaba/fastjson/JSONObject;
    move-result-object v1
    .line 173
    .local v1, "json":Lcom/alibaba/fastjson/JSONObject;
    const-string v2, "data"
    invoke-virtual {v1, v2}, Lcom/alibaba/fastjson/JSONObject;->containsKey(Ljava/lang/Object;)Z
    move-result v2
    if-eqz v2, :cond_3e
    .line 174
    const-string v2, "data"
    invoke-virtual {v1, v2}, Lcom/alibaba/fastjson/JSONObject;->getJSONObject(Ljava/lang/String;)Lcom/alibaba/fastjson/JSONObject;
    move-result-object v2
    const-string v3, "t"
    invoke-virtual {v2, v3}, Lcom/alibaba/fastjson/JSONObject;->getLong(Ljava/lang/String;)Ljava/lang/Long;
    move-result-object v2
    invoke-virtual {v2}, Ljava/lang/Long;->longValue()J
    move-result-wide v2
    const-wide/16 v4, 0x3e8
    div-long/2addr v2, v4
    :try_end_3b
    .catch Ljava/lang/Exception; {:try_start_4 .. :try_end_3b} :catch_3d
    sub-long/2addr v2, v6
    .line 178
    .end local v1  # "json":Lcom/alibaba/fastjson/JSONObject;
    :goto_3c
    return-wide v2
    .line 176
    :catch_3d
    move-exception v2
    .line 178
    :cond_3e
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
    move-result-wide v2
    div-long/2addr v2, v8
    sub-long/2addr v2, v6
    goto :goto_3c
.end method
.method public static login()Z
    .registers 11
    .prologue
    const/4 v4, 0x0
    const/16 v10, 0x7d0
    const/16 v9, 0xa
    .line 77
    :try_start_5
    invoke-static {}, Lkiller/core/valid/PJYValid;->getCard()Ljava/lang/String;
    move-result-object v5
    invoke-virtual {v5}, Ljava/lang/String;->trim()Ljava/lang/String;
    move-result-object v0
    .line 78
    .local v0, "card":Ljava/lang/String;
    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
    move-result v5
    if-eqz v5, :cond_22
    .line 79
    const-string v5, "请输入卡密"
    const/16 v6, 0x7d0
    const/16 v7, 0xa
    const/16 v8, 0xa
    invoke-static {v5, v6, v7, v8}, Lkiller/elfin/util/ToastUtil;->toast(Ljava/lang/String;III)V
    .line 80
    invoke-static {}, Lkiller/core/valid/PJYValid;->stopScript()V
    .line 110
    :goto_21
    return v4
    .line 84
    :cond_22
    new-instance v2, Ljava/util/TreeMap;
    invoke-direct {v2}, Ljava/util/TreeMap;->[i]()V
    .line 85
    .local v2, "param":Ljava/util/Map;, "Ljava/util/Map;"
    const-string v5, "$valid_token"
    const/4 v6, 0x0
    invoke-static {v5, v6}, Lkiller/core/util/Config;->readConfig(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    move-result-object v5
    sput-object v5, Lkiller/core/valid/PJYValid;->token:Ljava/lang/String;
    .line 86
    sget-object v5, Lkiller/core/valid/PJYValid;->token:Ljava/lang/String;
    invoke-static {v5}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
    move-result v5
    if-nez v5, :cond_3e
    .line 87
    invoke-static {}, Lkiller/core/valid/PJYValid;->logout()V
    .line 88
    const/4 v5, 0x0
    sput-object v5, Lkiller/core/valid/PJYValid;->token:Ljava/lang/String;
    .line 90
    :cond_3e
    new-instance v2, Ljava/util/TreeMap;
    .end local v2  # "param":Ljava/util/Map;, "Ljava/util/Map;"
    invoke-direct {v2}, Ljava/util/TreeMap;->[i]()V
    .line 91
    .restart local v2  # "param":Ljava/util/Map;, "Ljava/util/Map;"
    const-string v5, "app_key"
    const-string v6, "c6pf9krdqusthdt304bg"
    invoke-interface {v2, v5, v6}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    .line 92
    const-string v5, "card"
    invoke-interface {v2, v5, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    .line 93
    const-string v5, "device_id"
    invoke-static {}, Lcom/cyjh/elfin/AppContext;->getInstance()Lcom/cyjh/elfin/AppContext;
    move-result-object v6
    invoke-static {v6}, Lcom/cyjh/share/util/AppUtils;->getDeviceId(Landroid/content/Context;)Ljava/lang/String;
    move-result-object v6
    invoke-interface {v2, v5, v6}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    .line 95
    const-string v5, "/v1/card/login"
    invoke-static {v5, v2}, Lkiller/core/valid/PJYValid;->request(Ljava/lang/String;Ljava/util/Map;)Lcom/alibaba/fastjson/JSONObject;
    move-result-object v3
    .line 96
    .local v3, "resp":Lcom/alibaba/fastjson/JSONObject;
    const-string v5, "code"
    invoke-virtual {v3, v5}, Lcom/alibaba/fastjson/JSONObject;->getIntValue(Ljava/lang/String;)I
    move-result v5
    if-eqz v5, :cond_8e
    .line 97
    const-string v5, "message"
    invoke-virtual {v3, v5}, Lcom/alibaba/fastjson/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;
    move-result-object v5
    const/16 v6, 0x7d0
    const/16 v7, 0xa
    const/16 v8, 0xa
    invoke-static {v5, v6, v7, v8}, Lkiller/elfin/util/ToastUtil;->toast(Ljava/lang/String;III)V
    .line 98
    invoke-static {}, Lkiller/core/valid/PJYValid;->stopScript()V
    :try_end_7c
    .catch Ljava/lang/Exception; {:try_start_5 .. :try_end_7c} :catch_7d
    goto :goto_21
    .line 105
    .end local v2  # "param":Ljava/util/Map;, "Ljava/util/Map;"
    .end local v3  # "resp":Lcom/alibaba/fastjson/JSONObject;
    :catch_7d
    move-exception v1
    .line 106
    .local v1, "e":Ljava/lang/Exception;
    const-string v5, "验证异常"
    invoke-static {v5, v10, v9, v9}, Lkiller/elfin/util/ToastUtil;->toast(Ljava/lang/String;III)V
    .line 107
    invoke-static {}, Lkiller/core/valid/PJYValid;->stopScript()V
    .line 108
    const-string v5, "PJYClient"
    const-string v6, "login"
    invoke-static {v5, v6, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
    goto :goto_21
    .line 101
    .end local v1  # "e":Ljava/lang/Exception;
    .restart local v2  # "param":Ljava/util/Map;, "Ljava/util/Map;"
    .restart local v3  # "resp":Lcom/alibaba/fastjson/JSONObject;
    :cond_8e
    :try_start_8e
    const-string v5, "result"
    invoke-virtual {v3, v5}, Lcom/alibaba/fastjson/JSONObject;->getJSONObject(Ljava/lang/String;)Lcom/alibaba/fastjson/JSONObject;
    move-result-object v5
    const-string v6, "token"
    invoke-virtual {v5, v6}, Lcom/alibaba/fastjson/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;
    move-result-object v5
    sput-object v5, Lkiller/core/valid/PJYValid;->token:Ljava/lang/String;
    .line 102
    const-string v5, "$valid_token"
    sget-object v6, Lkiller/core/valid/PJYValid;->token:Ljava/lang/String;
    invoke-static {v5, v6}, Lkiller/core/util/Config;->writeConfig(Ljava/lang/String;Ljava/lang/String;)V
    .line 103
    new-instance v5, Ljava/lang/StringBuilder;
    invoke-direct {v5}, Ljava/lang/StringBuilder;->[i]()V
    const-string v6, "到期时间:"
    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
    move-result-object v5
    const-string v6, "result"
    invoke-virtual {v3, v6}, Lcom/alibaba/fastjson/JSONObject;->getJSONObject(Ljava/lang/String;)Lcom/alibaba/fastjson/JSONObject;
    move-result-object v6
    const-string v7, "expires"
    invoke-virtual {v6, v7}, Lcom/alibaba/fastjson/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;
    move-result-object v6
    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
    move-result-object v5
    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
    move-result-object v5
    const/16 v6, 0x7d0
    const/16 v7, 0xa
    const/16 v8, 0xa
    invoke-static {v5, v6, v7, v8}, Lkiller/elfin/util/ToastUtil;->toast(Ljava/lang/String;III)V
    :try_end_cb
    .catch Ljava/lang/Exception; {:try_start_8e .. :try_end_cb} :catch_7d
    .line 104
    const/4 v4, 0x1
    goto/16 :goto_21
.end method
.method public static logout()V
    .registers 3
    .prologue
    .line 114
    sget-object v1, Lkiller/core/valid/PJYValid;->heartBeatThread:Ljava/lang/Thread;
    if-eqz v1, :cond_9
    .line 115
    sget-object v1, Lkiller/core/valid/PJYValid;->heartBeatThread:Ljava/lang/Thread;
    invoke-virtual {v1}, Ljava/lang/Thread;->interrupt()V
    .line 117
    :cond_9
    sget-object v1, Lkiller/core/valid/PJYValid;->token:Ljava/lang/String;
    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
    move-result v1
    if-nez v1, :cond_32
    .line 118
    new-instance v0, Ljava/util/TreeMap;
    invoke-direct {v0}, Ljava/util/TreeMap;->[i]()V
    .line 119
    .local v0, "params":Ljava/util/Map;, "Ljava/util/Map;"
    const-string v1, "app_key"
    const-string v2, "已改自己的"
    invoke-interface {v0, v1, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    .line 120
    const-string v1, "card"
    invoke-static {}, Lkiller/core/valid/PJYValid;->getCard()Ljava/lang/String;
    move-result-object v2
    invoke-interface {v0, v1, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    .line 121
    const-string v1, "token"
    sget-object v2, Lkiller/core/valid/PJYValid;->token:Ljava/lang/String;
    invoke-interface {v0, v1, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    .line 122
    const-string v1, "/v1/card/logout"
    invoke-static {v1, v0}, Lkiller/core/valid/PJYValid;->request(Ljava/lang/String;Ljava/util/Map;)Lcom/alibaba/fastjson/JSONObject;
    .line 124
    :cond_32
    return-void
.end method
.method private static request(Ljava/lang/String;Ljava/util/Map;)Lcom/alibaba/fastjson/JSONObject;
    .registers 20
    .param p0, "path"  # Ljava/lang/String;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Ljava/util/Map",
            ";)",
            "Lcom/alibaba/fastjson/JSONObject;"
        }
    .end annotation
    .prologue
    .line 132
    .local p1, "params":Ljava/util/Map;, "Ljava/util/Map;"
    if-nez p1, :cond_7
    new-instance p1, Ljava/util/TreeMap;
    .end local p1  # "params":Ljava/util/Map;, "Ljava/util/Map;"
    invoke-direct/range {p1 .. p1}, Ljava/util/TreeMap;->[i]()V
    .line 133
    .restart local p1  # "params":Ljava/util/Map;, "Ljava/util/Map;"
    :cond_7
    const/4 v4, 0x0
    .local v4, "i":I
    :goto_8
    const/4 v13, 0x5
    if-ge v4, v13, :cond_ef
    .line 134
    invoke-static {}, Lkiller/core/valid/PJYValid;->getTimestamp()J
    move-result-wide v10
    .line 135
    .local v10, "timestamp":J
    invoke-static {}, Ljava/util/UUID;->randomUUID()Ljava/util/UUID;
    move-result-object v13
    invoke-virtual {v13}, Ljava/util/UUID;->toString()Ljava/lang/String;
    move-result-object v13
    const-string v14, "-"
    const-string v15, ""
    invoke-virtual {v13, v14, v15}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    move-result-object v5
    .line 136
    .local v5, "nonce":Ljava/lang/String;
    new-instance v9, Ljava/lang/StringBuilder;
    invoke-direct {v9}, Ljava/lang/StringBuilder;->[i]()V
    .line 137
    .local v9, "sreParams":Ljava/lang/StringBuilder;
    const-string v13, "timestamp"
    invoke-static {v10, v11}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;
    move-result-object v14
    move-object/from16 v0, p1
    invoke-interface {v0, v13, v14}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    .line 138
    const-string v13, "nonce"
    move-object/from16 v0, p1
    invoke-interface {v0, v13, v5}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    .line 139
    invoke-interface/range {p1 .. p1}, Ljava/util/Map;->entrySet()Ljava/util/Set;
    move-result-object v13
    invoke-interface {v13}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
    move-result-object v13
    :goto_3e
    invoke-interface {v13}, Ljava/util/Iterator;->hasNext()Z
    move-result v14
    if-eqz v14, :cond_67
    invoke-interface {v13}, Ljava/util/Iterator;->next()Ljava/lang/Object;
    move-result-object v3
    check-cast v3, Ljava/util/Map$Entry;
    .line 140
    .local v3, "entry":Ljava/util/Map$Entry;, "Ljava/util/Map$Entry;"
    const-string v14, "&%s=%s"
    const/4 v15, 0x2
    new-array v15, v15, [Ljava/lang/Object;
    const/16 v16, 0x0
    invoke-interface {v3}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
    move-result-object v17
    aput-object v17, v15, v16
    const/16 v16, 0x1
    invoke-interface {v3}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
    move-result-object v17
    aput-object v17, v15, v16
    invoke-static {v14, v15}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
    move-result-object v14
    invoke-virtual {v9, v14}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
    goto :goto_3e
    .line 142
    .end local v3  # "entry":Ljava/util/Map$Entry;, "Ljava/util/Map$Entry;"
    :cond_67
    new-instance v13, Ljava/lang/StringBuilder;
    invoke-direct {v13}, Ljava/lang/StringBuilder;->[i]()V
    const-string v14, "POSTapi.paojiaoyun.com"
    invoke-virtual {v13, v14}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
    move-result-object v13
    move-object/from16 v0, p0
    invoke-virtual {v13, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
    move-result-object v13
    invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
    move-result-object v14
    const-string v15, "&"
    const-string v16, ""
    invoke-virtual/range {v14 .. v16}, Ljava/lang/String;->replaceFirst(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    move-result-object v14
    invoke-virtual {v13, v14}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
    move-result-object v13
    const-string v14, "已改自己的"
    invoke-virtual {v13, v14}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
    move-result-object v13
    invoke-virtual {v13}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
    move-result-object v13
    invoke-static {v13}, Lcom/cyjh/share/util/MD5Util;->MD5(Ljava/lang/String;)Ljava/lang/String;
    move-result-object v8
    .line 143
    .local v8, "sign":Ljava/lang/String;
    const-string v13, "sign"
    move-object/from16 v0, p1
    invoke-interface {v0, v13, v8}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    .line 145
    new-instance v13, Ljava/lang/StringBuilder;
    invoke-direct {v13}, Ljava/lang/StringBuilder;->[i]()V
    const-string v14, "https://api.paojiaoyun.com"
    invoke-virtual {v13, v14}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
    move-result-object v13
    move-object/from16 v0, p0
    invoke-virtual {v13, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
    move-result-object v13
    invoke-virtual {v13}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
    move-result-object v12
    .line 147
    .local v12, "url":Ljava/lang/String;
    :try_start_b2
    invoke-static {v12}, Lorg/jsoup/Jsoup;->connect(Ljava/lang/String;)Lorg/jsoup/Connection;
    move-result-object v13
    const/4 v14, 0x1
    .line 148
    invoke-interface {v13, v14}, Lorg/jsoup/Connection;->ignoreHttpErrors(Z)Lorg/jsoup/Connection;
    move-result-object v13
    const/4 v14, 0x1
    .line 149
    invoke-interface {v13, v14}, Lorg/jsoup/Connection;->ignoreContentType(Z)Lorg/jsoup/Connection;
    move-result-object v13
    sget-object v14, Lorg/jsoup/Connection$Method;->POST:Lorg/jsoup/Connection$Method;
    .line 150
    invoke-interface {v13, v14}, Lorg/jsoup/Connection;->method(Lorg/jsoup/Connection$Method;)Lorg/jsoup/Connection;
    move-result-object v13
    .line 151
    move-object/from16 v0, p1
    invoke-interface {v13, v0}, Lorg/jsoup/Connection;->data(Ljava/util/Map;)Lorg/jsoup/Connection;
    move-result-object v13
    .line 152
    invoke-interface {v13}, Lorg/jsoup/Connection;->execute()Lorg/jsoup/Connection$Response;
    move-result-object v13
    invoke-interface {v13}, Lorg/jsoup/Connection$Response;->body()Ljava/lang/String;
    move-result-object v6
    .line 153
    .local v6, "resp":Ljava/lang/String;
    const-string v13, "request"
    invoke-static {v13, v6}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
    .line 154
    invoke-static {v6}, Lcom/alibaba/fastjson/JSON;->parseObject(Ljava/lang/String;)Lcom/alibaba/fastjson/JSONObject;
    :try_end_dc
    .catch Ljava/lang/Exception; {:try_start_b2 .. :try_end_dc} :catch_de
    move-result-object v7
    .line 163
    .end local v5  # "nonce":Ljava/lang/String;
    .end local v6  # "resp":Ljava/lang/String;
    .end local v8  # "sign":Ljava/lang/String;
    .end local v9  # "sreParams":Ljava/lang/StringBuilder;
    .end local v10  # "timestamp":J
    .end local v12  # "url":Ljava/lang/String;
    :goto_dd
    return-object v7
    .line 155
    .restart local v5  # "nonce":Ljava/lang/String;
    .restart local v8  # "sign":Ljava/lang/String;
    .restart local v9  # "sreParams":Ljava/lang/StringBuilder;
    .restart local v10  # "timestamp":J
    .restart local v12  # "url":Ljava/lang/String;
    :catch_de
    move-exception v2
    .line 156
    .local v2, "e":Ljava/lang/Exception;
    const-string v13, "PJYValid"
    const-string v14, "request"
    invoke-static {v13, v14, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
    .line 158
    const-wide/16 v14, 0x7d0
    invoke-static {v14, v15}, Landroid/os/SystemClock;->sleep(J)V
    .line 133
    add-int/lit8 v4, v4, 0x1
    goto/16 :goto_8
    .line 160
    .end local v2  # "e":Ljava/lang/Exception;
    .end local v5  # "nonce":Ljava/lang/String;
    .end local v8  # "sign":Ljava/lang/String;
    .end local v9  # "sreParams":Ljava/lang/StringBuilder;
    .end local v10  # "timestamp":J
    .end local v12  # "url":Ljava/lang/String;
    :cond_ef
    new-instance v7, Lcom/alibaba/fastjson/JSONObject;
    invoke-direct {v7}, Lcom/alibaba/fastjson/JSONObject;->[i]()V
    .line 161
    .local v7, "result":Lcom/alibaba/fastjson/JSONObject;
    const-string v13, "code"
    const/4 v14, -0x1
    invoke-static {v14}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
    move-result-object v14
    invoke-virtual {v7, v13, v14}, Lcom/alibaba/fastjson/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
    .line 162
    const-string v13, "message"
    const-string v14, "链接服务器失败"
    invoke-virtual {v7, v13, v14}, Lcom/alibaba/fastjson/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
    goto :goto_dd
.end method
.method public static startHeartBeat()V
    .registers 2
    .prologue
    .line 39
    sget-object v0, Lkiller/core/valid/PJYValid;->heartBeatThread:Ljava/lang/Thread;
    if-eqz v0, :cond_9
    .line 40
    sget-object v0, Lkiller/core/valid/PJYValid;->heartBeatThread:Ljava/lang/Thread;
    invoke-virtual {v0}, Ljava/lang/Thread;->interrupt()V
    .line 42
    :cond_9
    new-instance v0, Ljava/lang/Thread;
    new-instance v1, Lkiller/core/valid/PJYValid$1;
    invoke-direct {v1}, Lkiller/core/valid/PJYValid$1;->[i]()V
    invoke-direct {v0, v1}, Ljava/lang/Thread;->[i](Ljava/lang/Runnable;)V
    sput-object v0, Lkiller/core/valid/PJYValid;->heartBeatThread:Ljava/lang/Thread;
    .line 72
    sget-object v0, Lkiller/core/valid/PJYValid;->heartBeatThread:Ljava/lang/Thread;
    invoke-virtual {v0}, Ljava/lang/Thread;->start()V
    .line 73
    return-void
.end method
.method private static stopScript()V
    .registers 2
    .prologue
    .line 127
    const-wide/16 v0, 0x7d0
    invoke-static {v0, v1}, Landroid/os/SystemClock;->sleep(J)V
    .line 128
    invoke-static {}, Lkiller/elfin/util/ScriptHelper;->stopScript()V
    .line 129
    return-void
.end method
verber34
OP
  


控心丶 发表于 2021-6-21 16:48
https://zuhaole.lanzoui.com/iYs8Yqk2pbe

这个很简单啊
作者的代码在云端,就这个
http://39.104.87.53/718.txt
直接把这个复制到它原来的main.js文件中,这个没加密,随你怎么改啊,其中它有些汉字的变量,8.7版本不识别,把它改成英文的就行,
是否激活在这里
window.btn_1.click(function () {
        window.setPosition(10, device.height / 5);
        window.setSize(device.width / 5, device.width / 5 + 88);
        window.short.setText("主功能");
        threads.shutDownAll();
        threads.start(function () {
            if (auto.service == null) {
                toast("请先开启无障碍服务!");
                return;
            }
            var jihuokey2 = ui.integral.text();
               jihuokey2 ="853383085338"
            if (btyz().indexOf(jihuokey2)>-1) {
                var y1=ui.input21.text();
                var y=y1*60000
                yanhaoqi(y)
            }else{
                toast("未激活!")
                return;
            }
        });
    });
其中,if 是判断是否是激活中的号,改掉就行,让他运行yanhaoqi(y)就行
激活的号存在
http://39.104.87.53/软件和激活码验证.txt
或者把jihuokey2赋值里面的其中知道,就是激活的了,如我改的那个
verber34
OP
  

你可以在泡椒云生成一个年卡, 可以用365天~~
sivanliu   

好东西学些了
ronle   

思路挺不错,good
江男   

请问这是autojs的哪个版本,为什么我找不到joy.dex
verber34
OP
  


江男 发表于 2021-5-12 10:28
请问这是autojs的哪个版本,为什么我找不到joy.dex

我也不清楚作者是用哪个版本弄的啊
北辰没有林安   

泡椒云的卡密系统如果需要积分和钱的话,我选择直接爆破apk,把白嫖进行到底
verber34
OP
  


北辰没有林安 发表于 2021-5-12 10:37
泡椒云的卡密系统如果需要积分和钱的话,我选择直接爆破apk,把白嫖进行到底

发个贴呗,学习学习你的爆破方法,妓多不压身哪
您需要登录后才可以回帖 登录 | 立即注册

返回顶部