导航菜单

页面标题

页面副标题

Tuna Cash v1.0.0 - lLILIl.java 源代码

正在查看: Tuna Cash v1.0.0 应用的 lLILIl.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package IiLIL;

import android.net.Uri;
import android.util.Log;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.HashMap;
import java.util.Map;

public final class lLILIl extends Thread {

    public final Object f324iiILI;

    public final int f325lLlii = 0;

    public lLILIl(lIliL lilil) {
        super("liveness_video_recorder_thread");
        this.f324iiILI = lilil;
    }

    @Override
    public final void run() {
        switch (this.f325lLlii) {
            case 0:
                ((lIliL) this.f324iiILI).f305LILlLi = System.currentTimeMillis();
                while (((lIliL) this.f324iiILI).f302ILLiI) {
                    try {
                        ((lIliL) this.f324iiILI).lLILIl();
                    } catch (Exception unused) {
                    }
                    long currentTimeMillis = System.currentTimeMillis();
                    lIliL lilil = (lIliL) this.f324iiILI;
                    if (currentTimeMillis - lilil.f305LILlLi >= lilil.f314ilLll) {
                        lilil.lIliL();
                    }
                }
                super.run();
                return;
            default:
                Map map = (Map) this.f324iiILI;
                Uri.Builder buildUpon = Uri.parse("https://pagead2.googlesyndication.com/pagead/gen_204?id=gmob-apps").buildUpon();
                for (String str : map.keySet()) {
                    buildUpon.appendQueryParameter(str, (String) map.get(str));
                }
                String uri = buildUpon.build().toString();
                try {
                    HttpURLConnection httpURLConnection = (HttpURLConnection) new URL(uri).openConnection();
                    try {
                        int responseCode = httpURLConnection.getResponseCode();
                        if (responseCode < 200 || responseCode >= 300) {
                            StringBuilder sb = new StringBuilder(String.valueOf(uri).length() + 65);
                            sb.append("Received non-success response code ");
                            sb.append(responseCode);
                            sb.append(" from pinging URL: ");
                            sb.append(uri);
                            Log.w("HttpUrlPinger", sb.toString());
                        }
                        httpURLConnection.disconnect();
                        return;
                    } catch (Throwable th) {
                        httpURLConnection.disconnect();
                        throw th;
                    }
                } catch (IOException e) {
                    e = e;
                    String message = e.getMessage();
                    StringBuilder sb2 = new StringBuilder(String.valueOf(message).length() + String.valueOf(uri).length() + 27);
                    sb2.append("Error while pinging URL: ");
                    sb2.append(uri);
                    sb2.append(". ");
                    sb2.append(message);
                    Log.w("HttpUrlPinger", sb2.toString(), e);
                    return;
                } catch (IndexOutOfBoundsException e2) {
                    String message2 = e2.getMessage();
                    StringBuilder sb3 = new StringBuilder(String.valueOf(message2).length() + String.valueOf(uri).length() + 32);
                    sb3.append("Error while parsing ping URL: ");
                    sb3.append(uri);
                    sb3.append(". ");
                    sb3.append(message2);
                    Log.w("HttpUrlPinger", sb3.toString(), e2);
                    return;
                } catch (RuntimeException e3) {
                    e = e3;
                    String message3 = e.getMessage();
                    StringBuilder sb22 = new StringBuilder(String.valueOf(message3).length() + String.valueOf(uri).length() + 27);
                    sb22.append("Error while pinging URL: ");
                    sb22.append(uri);
                    sb22.append(". ");
                    sb22.append(message3);
                    Log.w("HttpUrlPinger", sb22.toString(), e);
                    return;
                } finally {
                }
        }
    }

    public lLILIl(HashMap hashMap) {
        this.f324iiILI = hashMap;
    }
}