mirror of
https://github.com/XploitWizer-Community/XploitSPY.git
synced 2024-11-06 02:19:22 +08:00
234 lines
4.9 KiB
Smali
234 lines
4.9 KiB
Smali
.class public final Lc/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, Lc/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, Lc/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(Lc/v;)Lc/f;
|
|
.locals 1
|
|
|
|
new-instance v0, Lc/q;
|
|
|
|
invoke-direct {v0, p0}, Lc/q;-><init>(Lc/v;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static a(Lc/w;)Lc/g;
|
|
.locals 1
|
|
|
|
new-instance v0, Lc/r;
|
|
|
|
invoke-direct {v0, p0}, Lc/r;-><init>(Lc/w;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private static a(Ljava/io/OutputStream;Lc/y;)Lc/v;
|
|
.locals 1
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
new-instance v0, Lc/m;
|
|
|
|
invoke-direct {v0, p1, p0}, Lc/m;-><init>(Lc/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;)Lc/v;
|
|
.locals 1
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
invoke-static {p0}, Lc/p;->c(Ljava/net/Socket;)Lc/c;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p0}, Ljava/net/Socket;->getOutputStream()Ljava/io/OutputStream;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-static {p0, v0}, Lc/p;->a(Ljava/io/OutputStream;Lc/y;)Lc/v;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {v0, p0}, Lc/c;->a(Lc/v;)Lc/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;Lc/y;)Lc/w;
|
|
.locals 1
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
new-instance v0, Lc/n;
|
|
|
|
invoke-direct {v0, p1, p0}, Lc/n;-><init>(Lc/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;)Lc/w;
|
|
.locals 1
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
invoke-static {p0}, Lc/p;->c(Ljava/net/Socket;)Lc/c;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p0}, Ljava/net/Socket;->getInputStream()Ljava/io/InputStream;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-static {p0, v0}, Lc/p;->a(Ljava/io/InputStream;Lc/y;)Lc/w;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {v0, p0}, Lc/c;->a(Lc/w;)Lc/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;)Lc/c;
|
|
.locals 1
|
|
|
|
new-instance v0, Lc/o;
|
|
|
|
invoke-direct {v0, p0}, Lc/o;-><init>(Ljava/net/Socket;)V
|
|
|
|
return-object v0
|
|
.end method
|