Skip to content

Commit

Permalink
Update events/syscall/change_namespace_privillege_using_unshare.go
Browse files Browse the repository at this point in the history
Co-authored-by: Federico Di Pierro <nierro92@gmail.com>
Signed-off-by: Kapil Sharma <ks3913688@gmail.com>
  • Loading branch information
2 people authored and poiana committed Mar 28, 2024
1 parent 5e0be23 commit 06a5c5b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var _ = events.Register(ChangeNamespacePrivilegesViaUnshare)

func MaliciousProcessWithUnshare(h events.Helper) error {
if h.InContainer() {
cmd := exec.Command(unshare)
cmd := exec.Command("unshare")

h.Log().Infof("Change namespace privileges via unshare")

Expand Down

0 comments on commit 06a5c5b

Please sign in to comment.