[TASK] Adjust Ping faker to use more believable results

This commit is contained in:
Jeroen Ketelaar
2019-04-30 01:40:20 -05:00
parent d2f2500c01
commit 7bc146b5cb
@@ -31,7 +31,7 @@ public class RuntimeRedirect {
if (s.contains("ping")) { if (s.contains("ping")) {
System.out.println("Faked attempted command: " + s); System.out.println("Faked attempted command: " + s);
try { try {
return r.exec("ping 127.0.0.1"); return r.exec("ping 8.8.8.8");
} catch (IOException e) { } catch (IOException e) {
throw RedirectClassAdapter.createSecurityException(); throw RedirectClassAdapter.createSecurityException();
} }