数码之家

 找回密码
 立即注册

QQ登录

只需一步,快速开始

微信登录

微信扫一扫,快速登录

搜索
查看: 78772|回复: 110

[网络] 我的新讯随身WiFi也到了,到手玩ADB,破解切卡密码,附破解方法

    [复制链接]
发表于 2021-12-8 01:19:17 | 显示全部楼层 |阅读模式
本帖最后由 hzy3774 于 2021-12-8 01:19 编辑

1. 新讯WiFi看了这位朋友拆机才去买的,19,大家都懂的,我就不发拆机照片了
拆机贴:https://www.mydigit.cn/thread-288223-1-1.html

2. 到手USB插上电脑就能连接ADB也太方便玩了,可以开始用adb命令装app了呀


3. 设备系统安卓4.4.4,还不支持scrcpy,那就装个ardc来用一下吧,百度一个来装上就可以了


4. 设备当然要看一下硬件配置,装个cpu-z给大家看一下,内存贼小


5. 连接后台看一下吧

6. 来看看切卡页面


7. 显然SIM2卡是默认的eSIM卡,接下来就破解切卡密码吧,以下是破解方法
首先把安卓上关键的APK请到电脑上,使用adb pull命令就可以,我用的是android studio 可视化操作


8. 接下来就是jadx对cepeweb.apk一顿反编译,关键代码水落石出了


9. 这个代码就看得懂了是吧:密码=imei.substring(imei.length() - 6) + "66"到底是什么意思呢,就是IMEI的后6位再+66
比如我的IMEI是861533051228748
我的密码就是:22874866
迫不及待的输进去看看吧:


10.果然成功了呗,商家学聪明了,现在没有固定密码,一机一码,哈哈
那么问题来了,IMEI去哪里查呢,后台首页有的,机器壳子上也有,好了,密码破解完成

11. 当然这只是破解方式之一,我们既然反编译了,自然可以绕过密码看看是怎么实现的,其实就是发了个广播消息,
应该是有另外的服务去执行具体操作,我们模拟他发这个消息也可以实现

好了,有空再接着弄它


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册 微信登录

x

打赏

参与人数 17家元 +344 收起 理由
tingji + 60 原創內容
亲爱的混蛋 + 20
manzxq + 5 認真發帖
应试教育 + 10
qmjqh + 5 優秀文章
williamgarci + 20 謝謝分享
rubygo + 30 優秀文章
moontree + 20 謝謝分享
nasa202020 + 10 謝謝分享
dmzjackly + 24 我很贊同

查看全部打赏

本帖被以下淘专辑推荐:

发表于 2024-11-13 22:43:00 | 显示全部楼层
没有登录用户名和密码

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册 微信登录

x
回复 支持 反对

使用道具 举报

发表于 2024-10-18 15:20:07 | 显示全部楼层
切卡密码弄不了
回复 支持 反对

使用道具 举报

发表于 2024-6-11 22:58:36 | 显示全部楼层
支持一下,挺好的。
回复 支持 反对

使用道具 举报

发表于 2024-2-2 14:33:41 | 显示全部楼层
这个是果迷设备的拆机照片

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册 微信登录

x
回复 支持 反对

使用道具 举报

发表于 2024-2-2 14:09:13 | 显示全部楼层
果迷的网卡,能破解一下切卡密码么,或者能提供支持,怎么用adb连接一下吗
回复 支持 反对

使用道具 举报

发表于 2023-9-13 08:39:45 | 显示全部楼层
本帖最后由 hewayking 于 2023-9-13 09:09 编辑

我的瘦一点的新训   这个算法不行    搜到了我这个是加999
回复 支持 反对

使用道具 举报

发表于 2023-6-29 01:56:50 | 显示全部楼层
package com.wowi.nanoweb.services;

import android.content.Context;
import android.os.SystemProperties;
import android.provider.Settings.Global;
import com.alibaba.fastjson.JSONObject;
import com.wowi.nanoweb.JsonApi;
import com.wowi.nanoweb.services.field.mobile.Imei;
import com.wowi.nanoweb.services.field.mobile.SimCardCurrent;

public class SwitchSimCard extends JsonApi {
    public static Context ctx;

    public String call(JSONObject json) {
        JSONObject jFields = json.getJSONObject("fields");
        String password = jFields.getString("password");
        String simswitchpd = "";
        String changedPwd = Global.getString(ctx.getContentResolver(), "switchSimPwd");
        if (changedPwd == null || changedPwd.length() <= 0) {
            simswitchpd = SystemProperties.get("persist.ufi.ft.simswitchpword");
        } else {
            simswitchpd = changedPwd;
        }
        int simCardCurrent = jFields.getInteger("simCardCurrent").intValue();
        String str = "";
        String imei = (String) new Imei().query(str);
        String str2 = "{ \"reply\": \"ok\" }";
        if (simCardCurrent <= 0) {
            if (!"0".equals(SystemProperties.get("persist.ufi.ft.simsw_pw"))) {
                String str3 = "{ \"reply\": \"password error\" }";
                if (simswitchpd == null || str.equals(simswitchpd) || "zx".equals(simswitchpd)) {
                    if (imei.length() < 6) {
                        return "{ \"reply\": \"device info error\" }";
                    }
                    StringBuilder stringBuilder = new StringBuilder();
                    stringBuilder.append(imei.substring(imei.length() - 6));
                    stringBuilder.append("66");
                    if (!stringBuilder.toString().equals(password)) {
                        return str3;
                    }
                    new SimCardCurrent().set(str, Integer.valueOf(simCardCurrent));
                    return str2;
                } else if (!simswitchpd.equals(password)) {
                    return str3;
                } else {
                    new SimCardCurrent().set(str, Integer.valueOf(simCardCurrent));
                    return str2;
                }
            }
        }
        new SimCardCurrent().set(str, Integer.valueOf(simCardCurrent));
        return str2;
    }
}
回复 支持 1 反对 0

使用道具 举报

发表于 2023-6-29 01:53:53 | 显示全部楼层
package com.wowi.nanoweb.services;

import android.content.Context;
import android.os.SystemProperties;
import android.provider.Settings.Global;
import com.alibaba.fastjson.JSONObject;
import com.wowi.nanoweb.JsonApi;
import com.wowi.nanoweb.services.field.mobile.Imei;
import com.wowi.nanoweb.services.field.mobile.SimCardCurrent;

public class SwitchSimCard extends JsonApi {
    public static Context ctx;

    public String call(JSONObject json) {
        JSONObject jFields = json.getJSONObject("fields");
        String password = jFields.getString("password");
        String simswitchpd = "";
        String changedPwd = Global.getString(ctx.getContentResolver(), "switchSimPwd");
        if (changedPwd == null || changedPwd.length() <= 0) {
            simswitchpd = SystemProperties.get("persist.ufi.ft.simswitchpword");
        } else {
            simswitchpd = changedPwd;
        }
        int simCardCurrent = jFields.getInteger("simCardCurrent").intValue();
        String str = "";
        String imei = (String) new Imei().query(str);
        String str2 = "{ \"reply\": \"ok\" }";
        if (simCardCurrent <= 0) {
            if (!"0".equals(SystemProperties.get("persist.ufi.ft.simsw_pw"))) {
                String str3 = "{ \"reply\": \"password error\" }";
                if (simswitchpd == null || str.equals(simswitchpd) || "zx".equals(simswitchpd)) {
                    if (imei.length() < 6) {
                        return "{ \"reply\": \"device info error\" }";
                    }
                    StringBuilder stringBuilder = new StringBuilder();
                    stringBuilder.append(imei.substring(imei.length() - 6));
                    stringBuilder.append("66");
                    if (!stringBuilder.toString().equals(password)) {
                        return str3;
                    }
                    new SimCardCurrent().set(str, Integer.valueOf(simCardCurrent));
                    return str2;
                } else if (!simswitchpd.equals(password)) {
                    return str3;
                } else {
                    new SimCardCurrent().set(str, Integer.valueOf(simCardCurrent));
                    return str2;
                }
            }
        }
        new SimCardCurrent().set(str, Integer.valueOf(simCardCurrent));
        return str2;
    }
}
回复 支持 2 反对 0

使用道具 举报

发表于 2023-6-29 01:44:38 | 显示全部楼层
if (!"0".equals(SystemProperties.get("persist.ufi.ft.simsw_pw"))) {
   大佬怎么搞
回复 支持 反对

使用道具 举报

发表于 2023-6-28 11:49:15 | 显示全部楼层
支持一下。向你学习
回复 支持 反对

使用道具 举报

发表于 2023-5-25 22:36:47 | 显示全部楼层
李伟24711 发表于 2022-7-5 22:29
按楼主方法研究了半天,结果我这个 版本的没这么复杂,F12发现都是直接写在JS页面里的
if ((parseInt(vvp ...

大神 这个怎么算的
回复 支持 反对

使用道具 举报

发表于 2023-5-13 22:05:02 | 显示全部楼层
辛苦了,方便大家。谢谢分享!
回复 支持 反对

使用道具 举报

发表于 2023-5-13 14:38:50 | 显示全部楼层
我也去下手了一个,但好像不能ADB
回复 支持 反对

使用道具 举报

发表于 2023-5-12 17:51:07 | 显示全部楼层
真是神贴,都过去两年了,学习了
回复 支持 反对

使用道具 举报

发表于 2023-5-12 13:25:02 | 显示全部楼层
hzy3774 发表于 2021-12-8 11:47
还是要root才行,想怎么改都可以

能改个无限流量的时候 和我说下 我们现在一年还要交费12块才能用。能改个无限流量的时候 和我说下 我们现在一年还要交费12块才能用。能改个无限流量的时候 和我说下 我们现在一年还要交费12块才能用。
回复 支持 反对

使用道具 举报

发表于 2023-5-8 16:14:37 | 显示全部楼层
入手一个,等到了看看这个还能管用?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 微信登录

本版积分规则

APP|手机版|小黑屋|关于我们|联系我们|法律条款|技术知识分享平台

闽公网安备35020502000485号

闽ICP备2021002735号-2

GMT+8, 2025-7-18 00:40 , Processed in 0.265201 second(s), 15 queries , Redis On.

Powered by Discuz!

© 2006-2025 MyDigit.Net

快速回复 返回顶部 返回列表