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

技术相干订阅~
另外有 throws 闲杂频道 @dsuset
转载频道 @dsusep
极小可能会有批评zf的消息 如有不适可退出
suse小站(面向运气编程): https://WOJS.org/#/
Download Telegram
irb(main):078:0> 0x00003dfc
=> 15868
irb(main):079:0> 0x00003dfc + 4
=> 15872
irb(main):080:0> 0x00003dff
=> 15871
irb(main):081:0> 0x00003e00
=> 15872

猜出来了(
This media is not supported in your browser
VIEW IN TELEGRAM
((((你这么说我就改吧
说不定这个不翻转的
哦是我以为自己错了(233333
AssertionError: Declared filesize does not match real size: 1040187392 vs 15872
This media is not supported in your browser
VIEW IN TELEGRAM
其实还是我数学不好 😂
🌚👌
亲测可用,aapt 无 warn(
      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")
😂🙈