mirror of
https://github.com/XploitWizer-Community/XploitSPY.git
synced 2024-11-05 18:09:22 +08:00
115 lines
2.6 KiB
Smali
115 lines
2.6 KiB
Smali
.class final Ld/o;
|
|
.super Ld/c;
|
|
.source ""
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Ld/p;->c(Ljava/net/Socket;)Ld/c;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x8
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic k:Ljava/net/Socket;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Ljava/net/Socket;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Ld/o;->k:Ljava/net/Socket;
|
|
|
|
invoke-direct {p0}, Ld/c;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method protected b(Ljava/io/IOException;)Ljava/io/IOException;
|
|
.locals 2
|
|
|
|
new-instance v0, Ljava/net/SocketTimeoutException;
|
|
|
|
const-string v1, "timeout"
|
|
|
|
invoke-direct {v0, v1}, Ljava/net/SocketTimeoutException;-><init>(Ljava/lang/String;)V
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-virtual {v0, p1}, Ljava/io/InterruptedIOException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
:cond_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method protected k()V
|
|
.locals 5
|
|
|
|
const-string v0, "Failed to close timed out socket "
|
|
|
|
:try_start_0
|
|
iget-object v1, p0, Ld/o;->k:Ljava/net/Socket;
|
|
|
|
invoke-virtual {v1}, Ljava/net/Socket;->close()V
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1
|
|
.catch Ljava/lang/AssertionError; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_1
|
|
|
|
:catch_0
|
|
move-exception v1
|
|
|
|
invoke-static {v1}, Ld/p;->a(Ljava/lang/AssertionError;)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
sget-object v2, Ld/p;->a:Ljava/util/logging/Logger;
|
|
|
|
sget-object v3, Ljava/util/logging/Level;->WARNING:Ljava/util/logging/Level;
|
|
|
|
new-instance v4, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
throw v1
|
|
|
|
:catch_1
|
|
move-exception v1
|
|
|
|
sget-object v2, Ld/p;->a:Ljava/util/logging/Logger;
|
|
|
|
sget-object v3, Ljava/util/logging/Level;->WARNING:Ljava/util/logging/Level;
|
|
|
|
new-instance v4, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
:goto_0
|
|
invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v0, p0, Ld/o;->k:Ljava/net/Socket;
|
|
|
|
invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v2, v3, v0, v1}, Ljava/util/logging/Logger;->log(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
:goto_1
|
|
return-void
|
|
.end method
|