mirror of
https://github.com/XploitWizer-Community/XploitSPY.git
synced 2024-11-05 18:09:22 +08:00
234 lines
4.6 KiB
Smali
234 lines
4.6 KiB
Smali
.class public final Ld/p;
|
|
.super Ljava/lang/Object;
|
|
.source ""
|
|
|
|
|
|
# static fields
|
|
.field static final a:Ljava/util/logging/Logger;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
const-class v0, Ld/p;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Ljava/util/logging/Logger;->getLogger(Ljava/lang/String;)Ljava/util/logging/Logger;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Ld/p;->a:Ljava/util/logging/Logger;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a(Ld/v;)Ld/f;
|
|
.locals 1
|
|
|
|
new-instance v0, Ld/q;
|
|
|
|
invoke-direct {v0, p0}, Ld/q;-><init>(Ld/v;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static a(Ld/w;)Ld/g;
|
|
.locals 1
|
|
|
|
new-instance v0, Ld/r;
|
|
|
|
invoke-direct {v0, p0}, Ld/r;-><init>(Ld/w;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private static a(Ljava/io/OutputStream;Ld/y;)Ld/v;
|
|
.locals 1
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
new-instance v0, Ld/m;
|
|
|
|
invoke-direct {v0, p1, p0}, Ld/m;-><init>(Ld/y;Ljava/io/OutputStream;)V
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p1, "timeout == null"
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
|
|
:cond_1
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p1, "out == null"
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static a(Ljava/net/Socket;)Ld/v;
|
|
.locals 1
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
invoke-static {p0}, Ld/p;->c(Ljava/net/Socket;)Ld/c;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p0}, Ljava/net/Socket;->getOutputStream()Ljava/io/OutputStream;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-static {p0, v0}, Ld/p;->a(Ljava/io/OutputStream;Ld/y;)Ld/v;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {v0, p0}, Ld/c;->a(Ld/v;)Ld/v;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string v0, "socket == null"
|
|
|
|
invoke-direct {p0, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method private static a(Ljava/io/InputStream;Ld/y;)Ld/w;
|
|
.locals 1
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
new-instance v0, Ld/n;
|
|
|
|
invoke-direct {v0, p1, p0}, Ld/n;-><init>(Ld/y;Ljava/io/InputStream;)V
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p1, "timeout == null"
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
|
|
:cond_1
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p1, "in == null"
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method static a(Ljava/lang/AssertionError;)Z
|
|
.locals 1
|
|
|
|
invoke-virtual {p0}, Ljava/lang/AssertionError;->getCause()Ljava/lang/Throwable;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {p0}, Ljava/lang/AssertionError;->getMessage()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {p0}, Ljava/lang/AssertionError;->getMessage()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v0, "getsockname failed"
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public static b(Ljava/net/Socket;)Ld/w;
|
|
.locals 1
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
invoke-static {p0}, Ld/p;->c(Ljava/net/Socket;)Ld/c;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p0}, Ljava/net/Socket;->getInputStream()Ljava/io/InputStream;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-static {p0, v0}, Ld/p;->a(Ljava/io/InputStream;Ld/y;)Ld/w;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {v0, p0}, Ld/c;->a(Ld/w;)Ld/w;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string v0, "socket == null"
|
|
|
|
invoke-direct {p0, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method private static c(Ljava/net/Socket;)Ld/c;
|
|
.locals 1
|
|
|
|
new-instance v0, Ld/o;
|
|
|
|
invoke-direct {v0, p0}, Ld/o;-><init>(Ljava/net/Socket;)V
|
|
|
|
return-object v0
|
|
.end method
|