mirror of
https://github.com/XploitWizer-Community/XploitSPY.git
synced 2024-11-06 18:39:21 +08:00
257 lines
5.1 KiB
Smali
257 lines
5.1 KiB
Smali
|
.class public final Lb/a/c/b;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source ""
|
||
|
|
||
|
# interfaces
|
||
|
.implements Lb/x;
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field private final a:Z
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>(Z)V
|
||
|
.locals 0
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
iput-boolean p1, p0, Lb/a/c/b;->a:Z
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public a(Lb/x$a;)Lb/G;
|
||
|
.locals 6
|
||
|
|
||
|
move-object v0, p1
|
||
|
|
||
|
check-cast v0, Lb/a/c/h;
|
||
|
|
||
|
invoke-virtual {v0}, Lb/a/c/h;->b()Lb/a/c/c;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-virtual {v0}, Lb/a/c/h;->c()Lb/a/b/g;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {p1}, Lb/x$a;->a()Lb/D;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
||
|
|
||
|
move-result-wide v2
|
||
|
|
||
|
invoke-interface {v1, p1}, Lb/a/c/c;->a(Lb/D;)V
|
||
|
|
||
|
invoke-virtual {p1}, Lb/D;->e()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v4
|
||
|
|
||
|
invoke-static {v4}, Lb/a/c/g;->b(Ljava/lang/String;)Z
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
if-eqz v4, :cond_0
|
||
|
|
||
|
invoke-virtual {p1}, Lb/D;->a()Lb/F;
|
||
|
|
||
|
move-result-object v4
|
||
|
|
||
|
if-eqz v4, :cond_0
|
||
|
|
||
|
invoke-virtual {p1}, Lb/D;->a()Lb/F;
|
||
|
|
||
|
move-result-object v4
|
||
|
|
||
|
invoke-virtual {v4}, Lb/F;->a()J
|
||
|
|
||
|
move-result-wide v4
|
||
|
|
||
|
invoke-interface {v1, p1, v4, v5}, Lb/a/c/c;->a(Lb/D;J)Lc/v;
|
||
|
|
||
|
move-result-object v4
|
||
|
|
||
|
invoke-static {v4}, Lc/p;->a(Lc/v;)Lc/f;
|
||
|
|
||
|
move-result-object v4
|
||
|
|
||
|
invoke-virtual {p1}, Lb/D;->a()Lb/F;
|
||
|
|
||
|
move-result-object v5
|
||
|
|
||
|
invoke-virtual {v5, v4}, Lb/F;->a(Lc/f;)V
|
||
|
|
||
|
invoke-interface {v4}, Lc/v;->close()V
|
||
|
|
||
|
:cond_0
|
||
|
invoke-interface {v1}, Lb/a/c/c;->a()V
|
||
|
|
||
|
invoke-interface {v1}, Lb/a/c/c;->b()Lb/G$a;
|
||
|
|
||
|
move-result-object v4
|
||
|
|
||
|
invoke-virtual {v4, p1}, Lb/G$a;->a(Lb/D;)Lb/G$a;
|
||
|
|
||
|
invoke-virtual {v0}, Lb/a/b/g;->c()Lb/a/b/c;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-virtual {p1}, Lb/a/b/c;->c()Lb/u;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-virtual {v4, p1}, Lb/G$a;->a(Lb/u;)Lb/G$a;
|
||
|
|
||
|
invoke-virtual {v4, v2, v3}, Lb/G$a;->b(J)Lb/G$a;
|
||
|
|
||
|
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
||
|
|
||
|
move-result-wide v2
|
||
|
|
||
|
invoke-virtual {v4, v2, v3}, Lb/G$a;->a(J)Lb/G$a;
|
||
|
|
||
|
invoke-virtual {v4}, Lb/G$a;->a()Lb/G;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-virtual {p1}, Lb/G;->l()I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
iget-boolean v3, p0, Lb/a/c/b;->a:Z
|
||
|
|
||
|
if-eqz v3, :cond_1
|
||
|
|
||
|
const/16 v3, 0x65
|
||
|
|
||
|
if-ne v2, v3, :cond_1
|
||
|
|
||
|
invoke-virtual {p1}, Lb/G;->p()Lb/G$a;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
sget-object v1, Lb/a/d;->c:Lb/I;
|
||
|
|
||
|
invoke-virtual {p1, v1}, Lb/G$a;->a(Lb/I;)Lb/G$a;
|
||
|
|
||
|
invoke-virtual {p1}, Lb/G$a;->a()Lb/G;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
invoke-virtual {p1}, Lb/G;->p()Lb/G$a;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
invoke-interface {v1, p1}, Lb/a/c/c;->a(Lb/G;)Lb/I;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-virtual {v3, p1}, Lb/G$a;->a(Lb/I;)Lb/G$a;
|
||
|
|
||
|
invoke-virtual {v3}, Lb/G$a;->a()Lb/G;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
:goto_0
|
||
|
invoke-virtual {p1}, Lb/G;->r()Lb/D;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
const-string v3, "Connection"
|
||
|
|
||
|
invoke-virtual {v1, v3}, Lb/D;->a(Ljava/lang/String;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
const-string v4, "close"
|
||
|
|
||
|
invoke-virtual {v4, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-nez v1, :cond_2
|
||
|
|
||
|
invoke-virtual {p1, v3}, Lb/G;->b(Ljava/lang/String;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-virtual {v4, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_3
|
||
|
|
||
|
:cond_2
|
||
|
invoke-virtual {v0}, Lb/a/b/g;->e()V
|
||
|
|
||
|
:cond_3
|
||
|
const/16 v0, 0xcc
|
||
|
|
||
|
if-eq v2, v0, :cond_4
|
||
|
|
||
|
const/16 v0, 0xcd
|
||
|
|
||
|
if-ne v2, v0, :cond_5
|
||
|
|
||
|
:cond_4
|
||
|
invoke-virtual {p1}, Lb/G;->j()Lb/I;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-virtual {v0}, Lb/I;->j()J
|
||
|
|
||
|
move-result-wide v0
|
||
|
|
||
|
const-wide/16 v3, 0x0
|
||
|
|
||
|
cmp-long v5, v0, v3
|
||
|
|
||
|
if-gtz v5, :cond_6
|
||
|
|
||
|
:cond_5
|
||
|
return-object p1
|
||
|
|
||
|
:cond_6
|
||
|
new-instance v0, Ljava/net/ProtocolException;
|
||
|
|
||
|
new-instance v1, Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
const-string v3, "HTTP "
|
||
|
|
||
|
invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
||
|
|
||
|
const-string v2, " had non-zero Content-Length: "
|
||
|
|
||
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-virtual {p1}, Lb/G;->j()Lb/I;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-virtual {p1}, Lb/I;->j()J
|
||
|
|
||
|
move-result-wide v2
|
||
|
|
||
|
invoke-virtual {v1, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-direct {v0, p1}, Ljava/net/ProtocolException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw v0
|
||
|
.end method
|