fix(exec): block kill command pattern in safety guard
This commit is contained in:
1 parent
41bb78f593
commit
5c599d2dac
2 files changed
+21
No files matched your search
@@ -59,6 +59,7 @@ var (
|
||||
regexp.MustCompile(`\bchown\b`),
|
||||
regexp.MustCompile(`\bpkill\b`),
|
||||
regexp.MustCompile(`\bkillall\b`),
|
||||
regexp.MustCompile(`\bkill\b`),
|
||||
regexp.MustCompile(`\bkill\s+-[9]\b`),
|
||||
regexp.MustCompile(`\bcurl\b.*\|\s*(sh|bash)`),
|
||||
regexp.MustCompile(`\bwget\b.*\|\s*(sh|bash)`),
|
||||
|
||||
Reference in new issue
Block a user