Info Call to command execution API

Description

List of all command execution API calls

Recommendation

This entry is informative, no recommendations applicable.

Technical details

Method a.a.a.k.a() calling method java.lang.Runtime.exec()


    private static String a(String p5)
    {
        Exception v0_0 = 0;
        try {
            int v1_2 = Runtime.getRuntime();
            java.io.InputStreamReader v2_3 = new StringBuilder("getprop ");
            v2_3.append(p5);
            int v1_1 = new java.io.BufferedReader(new java.io.InputStreamReader(v1_2.exec(v2_3.toString()).getInputStream()), 1024);
            try {
                Exception v5_6 = v1_1.readLine();
                try {
                    v1_1.close();
                    try {
                        v1_1.close();
                    } catch (Exception v0_3) {
                        v0_3.printStackTrace();
                    }
                    return v5_6;
                } catch (Exception v0_1) {
                    v0_0 = v5_6;
                    Exception v5_4 = v0_1;
                    v5_4.printStackTrace();
                    if (v1_1 != 0) {
                        try {
                            v1_1.close();
                        } catch (Exception v5_7) {
                            v5_7.printStackTrace();
                        }
                    }
                    return v0_0;
                }
            } catch (Exception v5_4) {
            }
        } catch (Exception v5_5) {
            if (v0_0 != null) {
                try {
                    v0_0.close();
                } catch (Exception v0_2) {
                    v0_2.printStackTrace();
                }
            }
            throw v5_5;
        } catch (Exception v5_4) {
            v1_1 = 0;
        } catch (Exception v5_5) {
            v0_0 = v1_1;
        }
    }

Method a.a.a.k.u() calling method java.lang.Runtime.exec()


    private static String u()
    {
        String v0 = "";
        String v1_0 = "";
        try {
            java.io.LineNumberReader v2_1 = new java.io.LineNumberReader(new java.io.InputStreamReader(Runtime.getRuntime().exec("cat /sys/class/net/wlan0/address ").getInputStream()));
        } catch (String v1_1) {
            v1_1.printStackTrace();
            return v0;
        }
        while (v1_0 != null) {
            v1_0 = v2_1.readLine();
            if (v1_0 != null) {
                v0 = v1_0.trim();
                break;
            }
        }
        return v0;
    }

Method com.braintreepayments.api.internal.c.b() calling method java.lang.Runtime.exec()


    private static String b()
    {
        String v0_3;
        String v0_0 = android.os.Build.TAGS;
        int v1 = 1;
        if ((v0_0 == null) || (!v0_0.contains("test-keys"))) {
            v0_3 = 0;
        } else {
            v0_3 = 1;
        }
        try {
            int v3_2 = new java.io.File("/system/app/Superuser.apk").exists();
            try {
                if (new java.io.BufferedReader(new java.io.InputStreamReader(Runtime.getRuntime().exec(new String[] {"/system/xbin/which", "su"})).getInputStream())).readLine() == null) {
                    int v4_5 = 0;
                } else {
                    v4_5 = 1;
                    if ((v0_3 == null) && ((v3_2 == 0) && (v4_5 == 0))) {
                        v1 = 0;
                    }
                    return Boolean.toString(v1);
                }
            } catch (Exception) {
            }
        } catch (Exception) {
            v3_2 = 0;
        }
    }

Method com.perimeterx.msdk.internal.a.d.f() calling method java.lang.Runtime.exec()

Couldn't retrieve source code