Metasploit basics part one

Hi today we going to start with Metasploit commands

WHAT IS METASPLOIT ??
Metasploit framework is a tool designed for pentesting. there may ways to use Metasploit recon,exploits,scanning and post exploit. It comes preinstalled on many pentesting os Kali,patriot,cyborg hawk to name a few.

Interfaces of Metasploit:
(1) msfconsole to open the command line to Metasploit in Linux or Unix terminal
(2) msfcli this the Linux command interface
(3)Armitage is the GUI for

Module’s of Metasploit
(1) Exploits
(2) payloads
(3) Auxiliary
(4) post exploit
(5) nop
(6) encoders

Getting started

so before we start Metasploit we need to start the postgrsql
service postgrsql start is the command
Metasploit basics part one 11

now once its started type msfconsole to the terminal so start Metasploit
Metasploit basics part one 12

So now u are welcomed with that sexy screen haha now we are using the help command type help or ? this will bring up the core commands to Metasploit
Metasploit basics part one 13
there to many commands for me to start taking screenshots lol .

now the show command this command is to show you the list of options,payload so on to use this command just type show and what u wanna see e.g show payloads
Metasploit basics part one 14

The next command is the use command this is used to set the handler the payloads and thing really
Metasploit basics part one 15
Metasploit basics part one 16

always after the use command we use the set command this to set the options in the payload
so we start the show options see the settings
Metasploit basics part one 17
as u see noting set at the moment
now we use the set command as im using android payloads for then the command be set payload android/meterpreter/reverse_tcp
set lhost 127.0.0.1 or what ever your host will be
set lport 4444 or what ever port u are using
Metasploit basics part one 18
no looks full hahaha now use the exploit command to start the exploit
Metasploit basics part one 19

Last command is the info command this will gave u the info on payloads the encoders etc…. use info then what u want the info you want. This is the command show info android/meterpreter/reverse_tcp

Metasploit basics part one 20

so since the simple basic commands down the next we work on is the modules and what there used for

THANK YOU FOR READING
Laughingman

pentester
Hi im the laughing man im a pentester and the owner of Hacking a rise

Leave a Reply