Merge pull request #298 from Parabot/task/ping-faker

[TASK] Adjust Ping faker to use more believable results
This commit is contained in:
Jeroen Ketelaar
2019-04-30 13:21:16 -05:00
committed by GitHub
@@ -31,7 +31,7 @@ public class RuntimeRedirect {
if (s.contains("ping")) {
System.out.println("Faked attempted command: " + s);
try {
return r.exec("ping 127.0.0.1");
return r.exec("ping 8.8.8.8");
} catch (IOException e) {
throw RedirectClassAdapter.createSecurityException();
}