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 com.yandex.b.b.a() calling method java.lang.Runtime.exec()


    public static String a()
    {
        String v0_0 = 0;
        try {
            java.io.IOException v1_0 = new java.io.BufferedReader(new java.io.InputStreamReader(Runtime.getRuntime().exec("getprop gsm.serial").getInputStream()));
            try {
                String v2_1 = new StringBuilder();
            } catch (String v0_1) {
                if (v1_0 != null) {
                    try {
                        v1_0.close();
                    } catch (java.io.IOException v1) {
                    }
                }
                throw v0_1;
            } catch (String v2) {
                if (v1_0 == null) {
                    return v0_0;
                } else {
                    try {
                        v1_0.close();
                    } catch (java.io.IOException v1) {
                    }
                    return v0_0;
                }
            }
            while(true) {
                String v3_1 = v1_0.readLine();
                if (v3_1 == null) {
                    break;
                }
                v2_1.append(v3_1);
            }
            if (v2_1.length() <= 0) {
                if (v1_0 == null) {
                    return v0_0;
                } else {
                    try {
                        v1_0.close();
                    } catch (java.io.IOException v1) {
                    }
                    return v0_0;
                }
            } else {
                v0_0 = v2_1.toString().replaceAll("\\s+", "");
                if (v1_0 == null) {
                    return v0_0;
                } else {
                    try {
                        v1_0.close();
                    } catch (java.io.IOException v1) {
                    }
                    return v0_0;
                }
            }
        } catch (java.io.IOException v1_1) {
            v1_0 = 0;
            v0_1 = v1_1;
        } catch (java.io.IOException v1) {
            v1_0 = 0;
        }
    }