[Pixel 2 XL::微信]->open is called, bArr: [48,48,57,102,97,56,51], sQLiteCipherSpec: com.tencent.wcdb.database.SQLiteCipherSpec@2eb6bd9, i15: 0 openInner ret value is undefined
[Pixel 2 XL::微信]-> java.lang.Throwable at com.tencent.wcdb.database.SQLiteDatabase.open(Native Method) at com.tencent.wcdb.database.SQLiteDatabase.openDatabase(SourceFile:3) at com.tencent.wcdb.database.SQLiteDatabase.openDatabase(SourceFile:4) at ir3.e.r(Unknown Source:185) at ir3.a.f(Unknown Source:240) at ir3.f.n(Unknown Source:55) at ir3.f.m(Unknown Source:10) at gi.bb.<init>(Unknown Source:80) at se1.i$a.invokeSuspend(Unknown Source:185) at q74.a.resumeWith(Unknown Source:8) at ta4.a1.run(Unknown Source:122) at l34.b$b.run(Unknown Source:63) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:457) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at x34.j.run(Unknown Source:246) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at q34.c.run(Unknown Source:2) at java.lang.Thread.run(Thread.java:764) open is called, bArr: [48,48,57,102,97,56,51], sQLiteCipherSpec: com.tencent.wcdb.database.SQLiteCipherSpec@8ea336a, i15: 0 open ret value is undefined
可以看到在进入SQLiteDatabase类中最后一个方法为:ir3.e.r,跟进查看:
编写hook代码对e.r方法进行hook查看:
hook结果:
[Pixel 2 XL::微信]-> r is called, str: /data/user/0/com.tencent.mm/MicroMsg/921dfcc503355cc212099213345ddc4d/enFavorite.db, str2: 009fa83, i15: 0, z15: true r is called, str: /data/user/0/com.tencent.mm/MicroMsg/921dfcc503355cc212099213345ddc4d/enFavorite.db, str2: 009fa83, i15: 0, z15: true r ret value is ir3.e@a3302f8 r ret value is ir3.e@41156a4
[Pixel 2 XL::微信]-> m is called, str: , str2: /data/user/0/com.tencent.mm/MicroMsg/921dfcc503355cc212099213345ddc4d/enFavorite.db, j15: 1721974820, str3: 1234567890ABCDEF, hashMap: {-403906948=gi.bba@d405a6a,268557265=gi.bbb@7eefb5b, -491946003=gi.bbe@4b8eff8,1810537579=gi.bbf@dabecd1, 1692712704=gi.bbd@f01b336,20610547=gi.bbc@a17f237, -1687968802=gi.bb$g@58913a4}, z15: true n is called, str: , str2: /data/user/0/com.tencent.mm/MicroMsg/921dfcc503355cc212099213345ddc4d/enFavorite.db, str3: , j15: 1721974820, str4: 1234567890ABCDEF, hashMap: {-403906948=gi.bba@d405a6a,268557265=gi.bbb@7eefb5b, -491946003=gi.bbe@4b8eff8,1810537579=gi.bbf@dabecd1, 1692712704=gi.bbd@f01b336,20610547=gi.bbc@a17f237, -1687968802=gi.bb$g@58913a4}, z15: true m is called, str: , str2: /data/user/0/com.tencent.mm/MicroMsg/921dfcc503355cc212099213345ddc4d/enFavorite.db, j15: 1721974820, str3: 1234567890ABCDEF, hashMap: {-403906948=gi.bba@d405a6a,268557265=gi.bbb@7eefb5b, -491946003=gi.bbe@4b8eff8,1810537579=gi.bbf@dabecd1, 1692712704=gi.bbd@f01b336,20610547=gi.bbc@a17f237, -1687968802=gi.bb$g@58913a4}, z15: true n is called, str: , str2: /data/user/0/com.tencent.mm/MicroMsg/921dfcc503355cc212099213345ddc4d/enFavorite.db, str3: , j15: 1721974820, str4: 1234567890ABCDEF, hashMap: {-403906948=gi.bba@d405a6a,268557265=gi.bbb@7eefb5b, -491946003=gi.bbe@4b8eff8,1810537579=gi.bbf@dabecd1, 1692712704=gi.bbd@f01b336,20610547=gi.bbc@a17f237, -1687968802=gi.bb$g@58913a4}, z15: true n ret value is true m ret value is true n ret value is true m ret value is true