mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-03 00:37:55 +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")) {
|
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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user