Skip to main content

Posts

Showing posts with the label Grep2

PicoCTF2018 - Miscellaneous - grep2

PicoCTF2018 - Miscellaneous - grep2 Objective: This one is a little bit harder. Can you find the flag in /problems/grep-2_0_783d3e2c8ea2ebd3799ca6a5d28fc742/files on the shell server? Remember, grep is your friend. Solution: @pico-2018-shell:~$ cd /problems/grep-2_0_783d3e2c8ea2ebd3799ca6a5d28fc742 @pico-2018-shell:/problems/grep-2_0_783d3e2c8ea2ebd3799ca6a5d28fc742$ ls -l                                  total 4 drwxr-xr-x 12 root root 4096 Mar 25 19:18 files cool so there is a folder name files lets see what's inside cd files @pico-2018-shell:/problems/grep-2_0_783d3e2c8ea2ebd3799ca6a5d28fc742/files$ ls -l total 40 drwxr-xr-x 2 root root 4096 Mar 25 19:18 files0 drwxr-xr-x 2 root root 4096 Mar 25 19:18 files1 drwxr-xr-x 2 root root 4096 Mar 25 19:18 files2 drwxr-xr-x 2 root root 4096 Mar 25 19:18 files3 drwxr-xr-x 2 root root 4096 Mar 25 19:18 files4 drwxr-xr-x 2 root root 4096 Mar 25 19:18 files5 drwxr-xr-x 2 root root 4096 Mar 25 19:18 files6 drwxr-xr-x 2 r