Advertisement
esalant

Untitled

May 15th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. bandit19@bandit:~$ ls -altr
  2. total 28
  3. -rw-r--r-- 1 root root 3771 Sep 1 2015 .bashrc
  4. -rw-r--r-- 1 root root 220 Sep 1 2015 .bash_logout
  5. -rw-r--r-- 1 root root 655 Jun 24 2016 .profile
  6. drwxr-xr-x 29 root root 4096 Dec 28 14:34 ..
  7. -rwsr-x--- 1 bandit20 bandit19 7408 Dec 28 14:34 bandit20-do
  8. drwxr-xr-x 2 root root 4096 Dec 28 14:34 .
  9. bandit19@bandit:~$ bandit20-do
  10. bandit20-do: command not found
  11. bandit19@bandit:~$ ./bandit20-do
  12. Run a command as another user.
  13. Example: ./bandit20-do id
  14. bandit19@bandit:~$ ./bandit20-do cat /etc/bandit_pass/bandit20
  15. GbKksEFF4yrVs6il55v6gwY5aVje5f0j
  16. bandit19@bandit:~$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement