mirror of
https://github.com/XploitWizer-Community/XploitSPY.git
synced 2024-11-06 10:29:21 +08:00
1448 lines
28 KiB
Smali
1448 lines
28 KiB
Smali
.class public final Lc/n;
|
|
.super Ljava/lang/Object;
|
|
.source ""
|
|
|
|
|
|
# static fields
|
|
.field private static final a:Ljava/util/regex/Pattern;
|
|
|
|
.field private static final b:Ljava/util/regex/Pattern;
|
|
|
|
.field private static final c:Ljava/util/regex/Pattern;
|
|
|
|
.field private static final d:Ljava/util/regex/Pattern;
|
|
|
|
|
|
# instance fields
|
|
.field private final e:Ljava/lang/String;
|
|
|
|
.field private final f:Ljava/lang/String;
|
|
|
|
.field private final g:J
|
|
|
|
.field private final h:Ljava/lang/String;
|
|
|
|
.field private final i:Ljava/lang/String;
|
|
|
|
.field private final j:Z
|
|
|
|
.field private final k:Z
|
|
|
|
.field private final l:Z
|
|
|
|
.field private final m:Z
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
const-string v0, "(\\d{2,4})[^\\d]*"
|
|
|
|
invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lc/n;->a:Ljava/util/regex/Pattern;
|
|
|
|
const-string v0, "(?i)(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec).*"
|
|
|
|
invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lc/n;->b:Ljava/util/regex/Pattern;
|
|
|
|
const-string v0, "(\\d{1,2})[^\\d]*"
|
|
|
|
invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lc/n;->c:Ljava/util/regex/Pattern;
|
|
|
|
const-string v0, "(\\d{1,2}):(\\d{1,2}):(\\d{1,2})[^\\d]*"
|
|
|
|
invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lc/n;->d:Ljava/util/regex/Pattern;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private constructor <init>(Ljava/lang/String;Ljava/lang/String;JLjava/lang/String;Ljava/lang/String;ZZZZ)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lc/n;->e:Ljava/lang/String;
|
|
|
|
iput-object p2, p0, Lc/n;->f:Ljava/lang/String;
|
|
|
|
iput-wide p3, p0, Lc/n;->g:J
|
|
|
|
iput-object p5, p0, Lc/n;->h:Ljava/lang/String;
|
|
|
|
iput-object p6, p0, Lc/n;->i:Ljava/lang/String;
|
|
|
|
iput-boolean p7, p0, Lc/n;->j:Z
|
|
|
|
iput-boolean p8, p0, Lc/n;->k:Z
|
|
|
|
iput-boolean p9, p0, Lc/n;->m:Z
|
|
|
|
iput-boolean p10, p0, Lc/n;->l:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private static a(Ljava/lang/String;IIZ)I
|
|
.locals 3
|
|
|
|
:goto_0
|
|
if-ge p1, p2, :cond_7
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v0
|
|
|
|
const/16 v1, 0x20
|
|
|
|
const/4 v2, 0x1
|
|
|
|
if-ge v0, v1, :cond_0
|
|
|
|
const/16 v1, 0x9
|
|
|
|
if-ne v0, v1, :cond_5
|
|
|
|
:cond_0
|
|
const/16 v1, 0x7f
|
|
|
|
if-ge v0, v1, :cond_5
|
|
|
|
const/16 v1, 0x30
|
|
|
|
if-lt v0, v1, :cond_1
|
|
|
|
const/16 v1, 0x39
|
|
|
|
if-le v0, v1, :cond_5
|
|
|
|
:cond_1
|
|
const/16 v1, 0x61
|
|
|
|
if-lt v0, v1, :cond_2
|
|
|
|
const/16 v1, 0x7a
|
|
|
|
if-le v0, v1, :cond_5
|
|
|
|
:cond_2
|
|
const/16 v1, 0x41
|
|
|
|
if-lt v0, v1, :cond_3
|
|
|
|
const/16 v1, 0x5a
|
|
|
|
if-le v0, v1, :cond_5
|
|
|
|
:cond_3
|
|
const/16 v1, 0x3a
|
|
|
|
if-ne v0, v1, :cond_4
|
|
|
|
goto :goto_1
|
|
|
|
:cond_4
|
|
const/4 v0, 0x0
|
|
|
|
goto :goto_2
|
|
|
|
:cond_5
|
|
:goto_1
|
|
const/4 v0, 0x1
|
|
|
|
:goto_2
|
|
xor-int/lit8 v1, p3, 0x1
|
|
|
|
if-ne v0, v1, :cond_6
|
|
|
|
return p1
|
|
|
|
:cond_6
|
|
add-int/lit8 p1, p1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_7
|
|
return p2
|
|
.end method
|
|
|
|
.method private static a(Ljava/lang/String;II)J
|
|
.locals 12
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-static {p0, p1, p2, v0}, Lc/n;->a(Ljava/lang/String;IIZ)I
|
|
|
|
move-result p1
|
|
|
|
sget-object v1, Lc/n;->d:Ljava/util/regex/Pattern;
|
|
|
|
invoke-virtual {v1, p0}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
|
|
|
|
move-result-object v1
|
|
|
|
const/4 v2, -0x1
|
|
|
|
const/4 v3, -0x1
|
|
|
|
const/4 v4, -0x1
|
|
|
|
const/4 v5, -0x1
|
|
|
|
const/4 v6, -0x1
|
|
|
|
const/4 v7, -0x1
|
|
|
|
const/4 v8, -0x1
|
|
|
|
:goto_0
|
|
const/4 v9, 0x2
|
|
|
|
const/4 v10, 0x1
|
|
|
|
if-ge p1, p2, :cond_4
|
|
|
|
add-int/lit8 v11, p1, 0x1
|
|
|
|
invoke-static {p0, v11, p2, v10}, Lc/n;->a(Ljava/lang/String;IIZ)I
|
|
|
|
move-result v11
|
|
|
|
invoke-virtual {v1, p1, v11}, Ljava/util/regex/Matcher;->region(II)Ljava/util/regex/Matcher;
|
|
|
|
if-ne v4, v2, :cond_0
|
|
|
|
sget-object p1, Lc/n;->d:Ljava/util/regex/Pattern;
|
|
|
|
invoke-virtual {v1, p1}, Ljava/util/regex/Matcher;->usePattern(Ljava/util/regex/Pattern;)Ljava/util/regex/Matcher;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/util/regex/Matcher;->matches()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-virtual {v1, v10}, Ljava/util/regex/Matcher;->group(I)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {v1, v9}, Ljava/util/regex/Matcher;->group(I)Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-static {v4}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
move-result v4
|
|
|
|
const/4 v7, 0x3
|
|
|
|
invoke-virtual {v1, v7}, Ljava/util/regex/Matcher;->group(I)Ljava/lang/String;
|
|
|
|
move-result-object v7
|
|
|
|
invoke-static {v7}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
move-result v7
|
|
|
|
move v8, v7
|
|
|
|
move v7, v4
|
|
|
|
move v4, p1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
if-ne v5, v2, :cond_1
|
|
|
|
sget-object p1, Lc/n;->c:Ljava/util/regex/Pattern;
|
|
|
|
invoke-virtual {v1, p1}, Ljava/util/regex/Matcher;->usePattern(Ljava/util/regex/Pattern;)Ljava/util/regex/Matcher;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/util/regex/Matcher;->matches()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
invoke-virtual {v1, v10}, Ljava/util/regex/Matcher;->group(I)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
move-result p1
|
|
|
|
move v5, p1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
if-ne v6, v2, :cond_2
|
|
|
|
sget-object p1, Lc/n;->b:Ljava/util/regex/Pattern;
|
|
|
|
invoke-virtual {v1, p1}, Ljava/util/regex/Matcher;->usePattern(Ljava/util/regex/Pattern;)Ljava/util/regex/Matcher;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/util/regex/Matcher;->matches()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
invoke-virtual {v1, v10}, Ljava/util/regex/Matcher;->group(I)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
sget-object v6, Ljava/util/Locale;->US:Ljava/util/Locale;
|
|
|
|
invoke-virtual {p1, v6}, Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
sget-object v6, Lc/n;->b:Ljava/util/regex/Pattern;
|
|
|
|
invoke-virtual {v6}, Ljava/util/regex/Pattern;->pattern()Ljava/lang/String;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-virtual {v6, p1}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I
|
|
|
|
move-result p1
|
|
|
|
div-int/lit8 p1, p1, 0x4
|
|
|
|
move v6, p1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
if-ne v3, v2, :cond_3
|
|
|
|
sget-object p1, Lc/n;->a:Ljava/util/regex/Pattern;
|
|
|
|
invoke-virtual {v1, p1}, Ljava/util/regex/Matcher;->usePattern(Ljava/util/regex/Pattern;)Ljava/util/regex/Matcher;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/util/regex/Matcher;->matches()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
invoke-virtual {v1, v10}, Ljava/util/regex/Matcher;->group(I)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
move-result p1
|
|
|
|
move v3, p1
|
|
|
|
:cond_3
|
|
:goto_1
|
|
add-int/lit8 v11, v11, 0x1
|
|
|
|
invoke-static {p0, v11, p2, v0}, Lc/n;->a(Ljava/lang/String;IIZ)I
|
|
|
|
move-result p1
|
|
|
|
goto/16 :goto_0
|
|
|
|
:cond_4
|
|
const/16 p0, 0x46
|
|
|
|
if-lt v3, p0, :cond_5
|
|
|
|
const/16 p0, 0x63
|
|
|
|
if-gt v3, p0, :cond_5
|
|
|
|
add-int/lit16 v3, v3, 0x76c
|
|
|
|
:cond_5
|
|
if-ltz v3, :cond_6
|
|
|
|
const/16 p0, 0x45
|
|
|
|
if-gt v3, p0, :cond_6
|
|
|
|
add-int/lit16 v3, v3, 0x7d0
|
|
|
|
:cond_6
|
|
const/16 p0, 0x641
|
|
|
|
if-lt v3, p0, :cond_c
|
|
|
|
if-eq v6, v2, :cond_b
|
|
|
|
if-lt v5, v10, :cond_a
|
|
|
|
const/16 p0, 0x1f
|
|
|
|
if-gt v5, p0, :cond_a
|
|
|
|
if-ltz v4, :cond_9
|
|
|
|
const/16 p0, 0x17
|
|
|
|
if-gt v4, p0, :cond_9
|
|
|
|
if-ltz v7, :cond_8
|
|
|
|
const/16 p0, 0x3b
|
|
|
|
if-gt v7, p0, :cond_8
|
|
|
|
if-ltz v8, :cond_7
|
|
|
|
if-gt v8, p0, :cond_7
|
|
|
|
new-instance p0, Ljava/util/GregorianCalendar;
|
|
|
|
sget-object p1, Lc/a/d;->o:Ljava/util/TimeZone;
|
|
|
|
invoke-direct {p0, p1}, Ljava/util/GregorianCalendar;-><init>(Ljava/util/TimeZone;)V
|
|
|
|
invoke-virtual {p0, v0}, Ljava/util/Calendar;->setLenient(Z)V
|
|
|
|
invoke-virtual {p0, v10, v3}, Ljava/util/Calendar;->set(II)V
|
|
|
|
sub-int/2addr v6, v10
|
|
|
|
invoke-virtual {p0, v9, v6}, Ljava/util/Calendar;->set(II)V
|
|
|
|
const/4 p1, 0x5
|
|
|
|
invoke-virtual {p0, p1, v5}, Ljava/util/Calendar;->set(II)V
|
|
|
|
const/16 p1, 0xb
|
|
|
|
invoke-virtual {p0, p1, v4}, Ljava/util/Calendar;->set(II)V
|
|
|
|
const/16 p1, 0xc
|
|
|
|
invoke-virtual {p0, p1, v7}, Ljava/util/Calendar;->set(II)V
|
|
|
|
const/16 p1, 0xd
|
|
|
|
invoke-virtual {p0, p1, v8}, Ljava/util/Calendar;->set(II)V
|
|
|
|
const/16 p1, 0xe
|
|
|
|
invoke-virtual {p0, p1, v0}, Ljava/util/Calendar;->set(II)V
|
|
|
|
invoke-virtual {p0}, Ljava/util/Calendar;->getTimeInMillis()J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
|
|
:cond_7
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-direct {p0}, Ljava/lang/IllegalArgumentException;-><init>()V
|
|
|
|
throw p0
|
|
|
|
:cond_8
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-direct {p0}, Ljava/lang/IllegalArgumentException;-><init>()V
|
|
|
|
throw p0
|
|
|
|
:cond_9
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-direct {p0}, Ljava/lang/IllegalArgumentException;-><init>()V
|
|
|
|
throw p0
|
|
|
|
:cond_a
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-direct {p0}, Ljava/lang/IllegalArgumentException;-><init>()V
|
|
|
|
throw p0
|
|
|
|
:cond_b
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-direct {p0}, Ljava/lang/IllegalArgumentException;-><init>()V
|
|
|
|
throw p0
|
|
|
|
:cond_c
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-direct {p0}, Ljava/lang/IllegalArgumentException;-><init>()V
|
|
|
|
goto :goto_3
|
|
|
|
:goto_2
|
|
throw p0
|
|
|
|
:goto_3
|
|
goto :goto_2
|
|
.end method
|
|
|
|
.method static a(JLc/w;Ljava/lang/String;)Lc/n;
|
|
.locals 24
|
|
|
|
move-object/from16 v0, p3
|
|
|
|
invoke-virtual/range {p3 .. p3}, Ljava/lang/String;->length()I
|
|
|
|
move-result v1
|
|
|
|
const/16 v2, 0x3b
|
|
|
|
const/4 v3, 0x0
|
|
|
|
invoke-static {v0, v3, v1, v2}, Lc/a/d;->a(Ljava/lang/String;IIC)I
|
|
|
|
move-result v4
|
|
|
|
const/16 v5, 0x3d
|
|
|
|
invoke-static {v0, v3, v4, v5}, Lc/a/d;->a(Ljava/lang/String;IIC)I
|
|
|
|
move-result v6
|
|
|
|
const/4 v7, 0x0
|
|
|
|
if-ne v6, v4, :cond_0
|
|
|
|
return-object v7
|
|
|
|
:cond_0
|
|
invoke-static {v0, v3, v6}, Lc/a/d;->c(Ljava/lang/String;II)Ljava/lang/String;
|
|
|
|
move-result-object v9
|
|
|
|
invoke-virtual {v9}, Ljava/lang/String;->isEmpty()Z
|
|
|
|
move-result v8
|
|
|
|
if-eqz v8, :cond_1
|
|
|
|
return-object v7
|
|
|
|
:cond_1
|
|
const/4 v8, 0x1
|
|
|
|
add-int/2addr v6, v8
|
|
|
|
invoke-static {v0, v6, v4}, Lc/a/d;->c(Ljava/lang/String;II)Ljava/lang/String;
|
|
|
|
move-result-object v10
|
|
|
|
add-int/2addr v4, v8
|
|
|
|
const-wide/16 v11, -0x1
|
|
|
|
const-wide v13, 0xe677d21fdbffL
|
|
|
|
move-object v6, v7
|
|
|
|
move-object v8, v6
|
|
|
|
move-wide v15, v11
|
|
|
|
move-wide/from16 v21, v13
|
|
|
|
const/16 v18, 0x0
|
|
|
|
const/16 v19, 0x0
|
|
|
|
const/16 v20, 0x1
|
|
|
|
const/16 v23, 0x0
|
|
|
|
:goto_0
|
|
if-ge v4, v1, :cond_9
|
|
|
|
invoke-static {v0, v4, v1, v2}, Lc/a/d;->a(Ljava/lang/String;IIC)I
|
|
|
|
move-result v7
|
|
|
|
invoke-static {v0, v4, v7, v5}, Lc/a/d;->a(Ljava/lang/String;IIC)I
|
|
|
|
move-result v2
|
|
|
|
invoke-static {v0, v4, v2}, Lc/a/d;->c(Ljava/lang/String;II)Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
if-ge v2, v7, :cond_2
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
invoke-static {v0, v2, v7}, Lc/a/d;->c(Ljava/lang/String;II)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
const-string v2, ""
|
|
|
|
:goto_1
|
|
const-string v5, "expires"
|
|
|
|
invoke-virtual {v4, v5}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
|
|
|
|
move-result v5
|
|
|
|
if-eqz v5, :cond_3
|
|
|
|
:try_start_0
|
|
invoke-virtual {v2}, Ljava/lang/String;->length()I
|
|
|
|
move-result v4
|
|
|
|
invoke-static {v2, v3, v4}, Lc/n;->a(Ljava/lang/String;II)J
|
|
|
|
move-result-wide v4
|
|
:try_end_0
|
|
.catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
move-wide/from16 v21, v4
|
|
|
|
goto :goto_2
|
|
|
|
:cond_3
|
|
const-string v5, "max-age"
|
|
|
|
invoke-virtual {v4, v5}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
|
|
|
|
move-result v5
|
|
|
|
if-eqz v5, :cond_4
|
|
|
|
:try_start_1
|
|
invoke-static {v2}, Lc/n;->b(Ljava/lang/String;)J
|
|
|
|
move-result-wide v4
|
|
:try_end_1
|
|
.catch Ljava/lang/NumberFormatException; {:try_start_1 .. :try_end_1} :catch_0
|
|
|
|
move-wide v15, v4
|
|
|
|
:goto_2
|
|
const/16 v23, 0x1
|
|
|
|
goto :goto_3
|
|
|
|
:cond_4
|
|
const-string v5, "domain"
|
|
|
|
invoke-virtual {v4, v5}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
|
|
|
|
move-result v5
|
|
|
|
if-eqz v5, :cond_5
|
|
|
|
:try_start_2
|
|
invoke-static {v2}, Lc/n;->a(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
:try_end_2
|
|
.catch Ljava/lang/IllegalArgumentException; {:try_start_2 .. :try_end_2} :catch_0
|
|
|
|
move-object v6, v2
|
|
|
|
const/16 v20, 0x0
|
|
|
|
goto :goto_3
|
|
|
|
:cond_5
|
|
const-string v5, "path"
|
|
|
|
invoke-virtual {v4, v5}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
|
|
|
|
move-result v5
|
|
|
|
if-eqz v5, :cond_6
|
|
|
|
move-object v8, v2
|
|
|
|
goto :goto_3
|
|
|
|
:cond_6
|
|
const-string v2, "secure"
|
|
|
|
invoke-virtual {v4, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_7
|
|
|
|
const/16 v18, 0x1
|
|
|
|
goto :goto_3
|
|
|
|
:cond_7
|
|
const-string v2, "httponly"
|
|
|
|
invoke-virtual {v4, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_8
|
|
|
|
const/16 v19, 0x1
|
|
|
|
:catch_0
|
|
:cond_8
|
|
:goto_3
|
|
add-int/lit8 v4, v7, 0x1
|
|
|
|
const/16 v2, 0x3b
|
|
|
|
const/16 v5, 0x3d
|
|
|
|
const/4 v7, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_9
|
|
const-wide/high16 v0, -0x8000000000000000L
|
|
|
|
cmp-long v2, v15, v0
|
|
|
|
if-nez v2, :cond_b
|
|
|
|
:cond_a
|
|
move-wide v11, v0
|
|
|
|
goto :goto_5
|
|
|
|
:cond_b
|
|
cmp-long v0, v15, v11
|
|
|
|
if-eqz v0, :cond_e
|
|
|
|
const-wide v0, 0x20c49ba5e353f7L
|
|
|
|
cmp-long v2, v15, v0
|
|
|
|
if-gtz v2, :cond_c
|
|
|
|
const-wide/16 v0, 0x3e8
|
|
|
|
mul-long v15, v15, v0
|
|
|
|
goto :goto_4
|
|
|
|
:cond_c
|
|
const-wide v15, 0x7fffffffffffffffL
|
|
|
|
:goto_4
|
|
add-long v0, p0, v15
|
|
|
|
cmp-long v2, v0, p0
|
|
|
|
if-ltz v2, :cond_d
|
|
|
|
cmp-long v2, v0, v13
|
|
|
|
if-lez v2, :cond_a
|
|
|
|
:cond_d
|
|
move-wide v11, v13
|
|
|
|
goto :goto_5
|
|
|
|
:cond_e
|
|
move-wide/from16 v11, v21
|
|
|
|
:goto_5
|
|
if-nez v6, :cond_f
|
|
|
|
invoke-virtual/range {p2 .. p2}, Lc/w;->g()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
move-object v13, v0
|
|
|
|
move-object/from16 v0, p2
|
|
|
|
goto :goto_6
|
|
|
|
:cond_f
|
|
move-object/from16 v0, p2
|
|
|
|
invoke-static {v0, v6}, Lc/n;->b(Lc/w;Ljava/lang/String;)Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_10
|
|
|
|
const/4 v1, 0x0
|
|
|
|
return-object v1
|
|
|
|
:cond_10
|
|
move-object v13, v6
|
|
|
|
:goto_6
|
|
const-string v1, "/"
|
|
|
|
if-eqz v8, :cond_12
|
|
|
|
invoke-virtual {v8, v1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_11
|
|
|
|
goto :goto_7
|
|
|
|
:cond_11
|
|
move-object v14, v8
|
|
|
|
goto :goto_8
|
|
|
|
:cond_12
|
|
:goto_7
|
|
invoke-virtual/range {p2 .. p2}, Lc/w;->c()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
const/16 v2, 0x2f
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/String;->lastIndexOf(I)I
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_13
|
|
|
|
invoke-virtual {v0, v3, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
:cond_13
|
|
move-object v14, v1
|
|
|
|
:goto_8
|
|
new-instance v0, Lc/n;
|
|
|
|
move-object v8, v0
|
|
|
|
move/from16 v15, v18
|
|
|
|
move/from16 v16, v19
|
|
|
|
move/from16 v17, v20
|
|
|
|
move/from16 v18, v23
|
|
|
|
invoke-direct/range {v8 .. v18}, Lc/n;-><init>(Ljava/lang/String;Ljava/lang/String;JLjava/lang/String;Ljava/lang/String;ZZZZ)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static a(Lc/w;Ljava/lang/String;)Lc/n;
|
|
.locals 2
|
|
|
|
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
|
|
|
move-result-wide v0
|
|
|
|
invoke-static {v0, v1, p0, p1}, Lc/n;->a(JLc/w;Ljava/lang/String;)Lc/n;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private static a(Ljava/lang/String;)Ljava/lang/String;
|
|
.locals 2
|
|
|
|
const-string v0, "."
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_2
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
:cond_0
|
|
invoke-static {p0}, Lc/a/d;->a(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
return-object p0
|
|
|
|
:cond_1
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-direct {p0}, Ljava/lang/IllegalArgumentException;-><init>()V
|
|
|
|
throw p0
|
|
|
|
:cond_2
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-direct {p0}, Ljava/lang/IllegalArgumentException;-><init>()V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static a(Lc/w;Lc/v;)Ljava/util/List;
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lc/w;",
|
|
"Lc/v;",
|
|
")",
|
|
"Ljava/util/List<",
|
|
"Lc/n;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "Set-Cookie"
|
|
|
|
invoke-virtual {p1, v0}, Lc/v;->b(Ljava/lang/String;)Ljava/util/List;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p1}, Ljava/util/List;->size()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
if-ge v2, v0, :cond_2
|
|
|
|
invoke-interface {p1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Ljava/lang/String;
|
|
|
|
invoke-static {p0, v3}, Lc/n;->a(Lc/w;Ljava/lang/String;)Lc/n;
|
|
|
|
move-result-object v3
|
|
|
|
if-nez v3, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
if-nez v1, :cond_1
|
|
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
:cond_1
|
|
invoke-interface {v1, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
:goto_1
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
if-eqz v1, :cond_3
|
|
|
|
invoke-static {v1}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
goto :goto_2
|
|
|
|
:cond_3
|
|
invoke-static {}, Ljava/util/Collections;->emptyList()Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
:goto_2
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private static b(Ljava/lang/String;)J
|
|
.locals 6
|
|
|
|
const-wide/high16 v0, -0x8000000000000000L
|
|
|
|
:try_start_0
|
|
invoke-static {p0}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J
|
|
|
|
move-result-wide v2
|
|
:try_end_0
|
|
.catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
const-wide/16 v4, 0x0
|
|
|
|
cmp-long p0, v2, v4
|
|
|
|
if-gtz p0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-wide v0, v2
|
|
|
|
:goto_0
|
|
return-wide v0
|
|
|
|
:catch_0
|
|
move-exception v2
|
|
|
|
const-string v3, "-?\\d+"
|
|
|
|
invoke-virtual {p0, v3}, Ljava/lang/String;->matches(Ljava/lang/String;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
const-string v2, "-"
|
|
|
|
invoke-virtual {p0, v2}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const-wide v0, 0x7fffffffffffffffL
|
|
|
|
:goto_1
|
|
return-wide v0
|
|
|
|
:cond_2
|
|
throw v2
|
|
.end method
|
|
|
|
.method private static b(Lc/w;Ljava/lang/String;)Z
|
|
.locals 2
|
|
|
|
invoke-virtual {p0}, Lc/w;->g()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return v1
|
|
|
|
:cond_0
|
|
invoke-virtual {p0, p1}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p1}, Ljava/lang/String;->length()I
|
|
|
|
move-result p1
|
|
|
|
sub-int/2addr v0, p1
|
|
|
|
sub-int/2addr v0, v1
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result p1
|
|
|
|
const/16 v0, 0x2e
|
|
|
|
if-ne p1, v0, :cond_1
|
|
|
|
invoke-static {p0}, Lc/a/d;->b(Ljava/lang/String;)Z
|
|
|
|
move-result p0
|
|
|
|
if-nez p0, :cond_1
|
|
|
|
return v1
|
|
|
|
:cond_1
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lc/n;->e:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method a(Z)Ljava/lang/String;
|
|
.locals 6
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
iget-object v1, p0, Lc/n;->e:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const/16 v1, 0x3d
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lc/n;->f:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-boolean v1, p0, Lc/n;->l:Z
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
iget-wide v1, p0, Lc/n;->g:J
|
|
|
|
const-wide/high16 v3, -0x8000000000000000L
|
|
|
|
cmp-long v5, v1, v3
|
|
|
|
if-nez v5, :cond_0
|
|
|
|
const-string v1, "; max-age=0"
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const-string v1, "; expires="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
new-instance v1, Ljava/util/Date;
|
|
|
|
iget-wide v2, p0, Lc/n;->g:J
|
|
|
|
invoke-direct {v1, v2, v3}, Ljava/util/Date;-><init>(J)V
|
|
|
|
invoke-static {v1}, Lc/a/c/e;->a(Ljava/util/Date;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
:goto_0
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
:cond_1
|
|
iget-boolean v1, p0, Lc/n;->m:Z
|
|
|
|
if-nez v1, :cond_3
|
|
|
|
const-string v1, "; domain="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
const-string p1, "."
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
:cond_2
|
|
iget-object p1, p0, Lc/n;->h:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
:cond_3
|
|
const-string p1, "; path="
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object p1, p0, Lc/n;->i:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-boolean p1, p0, Lc/n;->j:Z
|
|
|
|
if-eqz p1, :cond_4
|
|
|
|
const-string p1, "; secure"
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
:cond_4
|
|
iget-boolean p1, p0, Lc/n;->k:Z
|
|
|
|
if-eqz p1, :cond_5
|
|
|
|
const-string p1, "; httponly"
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
:cond_5
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public b()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lc/n;->f:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
.locals 6
|
|
|
|
instance-of v0, p1, Lc/n;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return v1
|
|
|
|
:cond_0
|
|
check-cast p1, Lc/n;
|
|
|
|
iget-object v0, p1, Lc/n;->e:Ljava/lang/String;
|
|
|
|
iget-object v2, p0, Lc/n;->e:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-object v0, p1, Lc/n;->f:Ljava/lang/String;
|
|
|
|
iget-object v2, p0, Lc/n;->f:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-object v0, p1, Lc/n;->h:Ljava/lang/String;
|
|
|
|
iget-object v2, p0, Lc/n;->h:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-object v0, p1, Lc/n;->i:Ljava/lang/String;
|
|
|
|
iget-object v2, p0, Lc/n;->i:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-wide v2, p1, Lc/n;->g:J
|
|
|
|
iget-wide v4, p0, Lc/n;->g:J
|
|
|
|
cmp-long v0, v2, v4
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
iget-boolean v0, p1, Lc/n;->j:Z
|
|
|
|
iget-boolean v2, p0, Lc/n;->j:Z
|
|
|
|
if-ne v0, v2, :cond_1
|
|
|
|
iget-boolean v0, p1, Lc/n;->k:Z
|
|
|
|
iget-boolean v2, p0, Lc/n;->k:Z
|
|
|
|
if-ne v0, v2, :cond_1
|
|
|
|
iget-boolean v0, p1, Lc/n;->l:Z
|
|
|
|
iget-boolean v2, p0, Lc/n;->l:Z
|
|
|
|
if-ne v0, v2, :cond_1
|
|
|
|
iget-boolean p1, p1, Lc/n;->m:Z
|
|
|
|
iget-boolean v0, p0, Lc/n;->m:Z
|
|
|
|
if-ne p1, v0, :cond_1
|
|
|
|
const/4 v1, 0x1
|
|
|
|
:cond_1
|
|
return v1
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 6
|
|
|
|
iget-object v0, p0, Lc/n;->e:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
|
|
|
|
move-result v0
|
|
|
|
const/16 v1, 0x20f
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
mul-int/lit8 v1, v1, 0x1f
|
|
|
|
iget-object v0, p0, Lc/n;->f:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
|
|
|
|
move-result v0
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
mul-int/lit8 v1, v1, 0x1f
|
|
|
|
iget-object v0, p0, Lc/n;->h:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
|
|
|
|
move-result v0
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
mul-int/lit8 v1, v1, 0x1f
|
|
|
|
iget-object v0, p0, Lc/n;->i:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
|
|
|
|
move-result v0
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
mul-int/lit8 v1, v1, 0x1f
|
|
|
|
iget-wide v2, p0, Lc/n;->g:J
|
|
|
|
const/16 v0, 0x20
|
|
|
|
ushr-long v4, v2, v0
|
|
|
|
xor-long/2addr v2, v4
|
|
|
|
long-to-int v0, v2
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
mul-int/lit8 v1, v1, 0x1f
|
|
|
|
iget-boolean v0, p0, Lc/n;->j:Z
|
|
|
|
xor-int/lit8 v0, v0, 0x1
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
mul-int/lit8 v1, v1, 0x1f
|
|
|
|
iget-boolean v0, p0, Lc/n;->k:Z
|
|
|
|
xor-int/lit8 v0, v0, 0x1
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
mul-int/lit8 v1, v1, 0x1f
|
|
|
|
iget-boolean v0, p0, Lc/n;->l:Z
|
|
|
|
xor-int/lit8 v0, v0, 0x1
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
mul-int/lit8 v1, v1, 0x1f
|
|
|
|
iget-boolean v0, p0, Lc/n;->m:Z
|
|
|
|
xor-int/lit8 v0, v0, 0x1
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
return v1
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-virtual {p0, v0}, Lc/n;->a(Z)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|