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 register.ibl_locationtracking.CallSoap.PingHost() calling method java.lang.Runtime.exec()


    public static int PingHost(String p9, int p10)
    {
        try {
            Process v4 = Runtime.getRuntime().exec(new StringBuilder().append("/system/bin/ping -c ").append((p10 / 1000)).append(" ").append(p9).toString());
            v4.waitFor();
            int v2 = v4.exitValue();
        } catch (InterruptedException v3) {
            v3.printStackTrace();
            System.out.println(new StringBuilder().append(" Exception:").append(v3).toString());
        } catch (java.io.IOException v1) {
            v1.printStackTrace();
            System.out.println(new StringBuilder().append(" Exception:").append(v1).toString());
        }
        return v2;
    }