Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.2k views
in Technique[技术] by (71.8m points)

java hook 代码怎么写?

public static void init_gorgon() {
        e.i = new a() {
            public final Map a(String arg23, Map arg24) {
                int v2_2;
                String v21;
                String v9_1;
                int v11;
                Object v9;
                Object v19;
                int v17;
                int v14;
                Object v18;
                String v16;
                String v15;
                Iterator v13;
.method public static init_gorgon()V
          .registers 1
00000000  new-instance        v0, tt$1
00000004  invoke-direct       tt$1-><init>()V, v0
0000000A  sput-object         v0, e->i:e$a
0000000E  return-void
.end method

我想hook a 这个类,但是这个类很奇怪 是个接口,不知道怎么hook,下面是smali


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...