Hello guys,
Here is the first video of my Metasploitable attacking videos!
In this attack we exploited Samba server (which is vulnerable).
First thing I did was scanning the target IP with nmap, it will a slow and almost complete scan.
I got the IP from Metasploitable it self by running "ifconfig"
Then after detecting samba server in the target, launch Metasploit, search for the keyword "samba"
A list of exploits will show, all you have to do is type:
use exploit/path/to/exploit
After you use that command, type "show options" to see what that exploit needs, and see the options you have.
when you set your hosts, and ports; type "exploit" And that will run the exploit.
After we exploited the target, we got root access, which is exactly what I needed!
Video: