mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-07 00:38:16 +00:00
Merge branch 'development' into bugfix/catching-random-errors
This commit is contained in:
@@ -22,6 +22,11 @@ public class RuntimeRedirect {
|
|||||||
return (long) 1024;
|
return (long) 1024;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static Process exec(Runtime r, String[] s) {
|
||||||
|
System.out.println("Blocked attempted command: " + s);
|
||||||
|
throw RedirectClassAdapter.createSecurityException();
|
||||||
|
}
|
||||||
|
|
||||||
public static Process exec(Runtime r, String s) {
|
public static Process exec(Runtime r, String s) {
|
||||||
if (s.contains("ping")) {
|
if (s.contains("ping")) {
|
||||||
System.out.println("Faked attempted command: " + s);
|
System.out.println("Faked attempted command: " + s);
|
||||||
|
|||||||
Reference in New Issue
Block a user