SmashTheStack.org – BlackBox – Level 1 Objective: Get the pass for level 2 Solution: So this is the first level for smashthestack.org blackbox. You are given the user/pass for level one and need to get the level 2 pass So first things first let’s ssh putty.exe -ssh level1@blackbox.smashthestack.org 2225 Using username "level1". level1@blackbox.smashthestack.org's password: lets start with ls to see where we landed and what there level1@blackbox:~$ ls -al total 24 drwxr-x--- 2 root level1 4096 Oct 23 2016 . drwxr-xr-x 17 root root 4096 Mar 22 2012 .. lrwxrwxrwx 1 root root 9 Sep 13 2016 .bash_history -> /dev/null -rw-r--r-- 1 level1 gamers 35 Sep 3 2016 .bashrc -rw------- 1 root gamers 1170 Oct 23 2016 .viminfo -rwxr-xr-x 1 level2 level1 7591 Apr 22 2017 login2 Cool There is a file called login2 that we have access to lets see what kind of file it is
@circusmonkey404 on the twitters; DM for contact