Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- set -o errexit
- set -o pipefail
- set -o nounset
- cmd=nc ; cid=4fd9addc9980 ; base64 < $(command -v $cmd) > /tmp/b64 && sudo docker exec -i $cid bash -c "set -e && base64 --decode > /tmp/$cmd && chmod a+x /tmp/$cmd" < /tmp/b64 && sudo docker exec -it $cid bash
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement