duangsuse::Echo
723 subscribers
4.28K photos
130 videos
583 files
6.5K links
import this:
美而不丑、明而不暗、短而不凡、长而不乱,扁平不宽,读而后码,行之天下,勿托地上天国。
异常勿吞,难过勿过,叹一真理。效率是很重要,盲目最是低效。
简明是可靠的先验,不是可靠的祭品。
知其变,守其恒,为天下式;穷其变,知不穷,得地上势。知变守恒却穷变知新,我认真理,我不认真。

技术相干订阅~
另外有 throws 闲杂频道 @dsuset
转载频道 @dsusep
极小可能会有批评zf的消息 如有不适可退出
suse小站(面向运气编程): https://WOJS.org/#/
Download Telegram
      A: android:roundIcon(0x0101052c)=@0x7f0d0000
A: android:debuggable=(type 0x12)0x1 (Raw: "true")

roundIcon 还是 0x0101052c (
接下来继续测试(
我之前已经知道 debuggable 的 offset 了(偏差不超过一字), 现在我把它的 name 改为 37(string pool 里第 38 项)
rt 8096
跳到了我插入 4 字节后的位置, 大概再向后移动 4 位
0x1fa8
<application android:theme="@7F110017" android:label="@7F1000AC" android:icon="@7F0D0000" android:name="com.drakeet.purewriter.App" android:allowBackup="true" android:largeHeap="true" android:supportsRtl="true" android:fullBackupContent="@7F130000" android:roundIcon="@7F0D0000"/>*="true"
&gt;

🌑
(好奇怪 emmmmm
先这么做来戏弄一下 aapt 和 Android (
dse@susepc:~/reveng/pw$ aapt dump xmltree dist/pw.apk AndroidManifest.xml|grep 0x0101000f
A: android:*(0x0101000f)=(type 0x12)0x1 (Raw: "true")
😂🙈
依然 as you wish(
不过还是没有 debug flag
现在必须交换 debuggable* 两个字符串了
( 累 emmmm
必须更改他们的字符串存储和引用...
不过为了测试是否有效, 我认为可以先暂时只交换他们本身, 不交换其他引用(
  E: application (line=28)
A: android:theme(0x01010000)=@0x7f110017
A: android:label(0x01010001)=@0x7f1000ac
A: android:icon(0x01010002)=@0x7f0d0000
A: android:name(0x01010003)="com.drakeet.purewriter.App" (Raw: "com.drakeet.purewriter.App")
A: android:allowBackup(0x01010280)=(type 0x12)0xffffffff
A: android:largeHeap(0x0101035a)=(type 0x12)0xffffffff
A: android:supportsRtl(0x010103af)=(type 0x12)0xffffffff
A: android:fullBackupContent(0x010104eb)=@0x7f130000
A: android:roundIcon(0x0101052c)=@0x7f0d0000
A: android:debuggable(0x0101000f)=(type 0x12)0x1 (Raw: "true")


亲测无效(
不过这个 😂
A: android:host(0x01010028)="debuggable" (Raw: "debuggable")
A: android:debuggable(0x0101000f)=(type 0x12)0x1 (Raw: "true")

A: android:debuggable(0x0101000f)=(type 0x12)0x1 (Raw: "true")
有区别吗 😂
可是我的 f.oo 就有 debug flag, 纯纯写作没有
<application android:theme="@7F110017" android:label="@7F1000AC" android:icon="@7F0D0000" android:name="com.drakeet.purewriter.App" android:allowBackup="true" android:largeHeap="true" android:supportsRtl="true" android:fullBackupContent="@7F130000" android:roundIcon="@7F0D0000" android:debuggable="true">

所以转换成 xml 也认为是正常的(
(希望会出现奇迹) FFFFFFFF!!!!!