mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-02 16:49:10 +00:00
[TASK] Adjust Ping faker to use more believable results
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user