Basic Commands for Metasploit Tutorial : Green Hat Hacker


Metasploit Basic Command Tutorial


Metasploit Logo

There are many new user of metasploit (beginner of metasploit) ask use to write a basic introductory article about the basic metasploit command and basic usage of metasploit, however we have shared different advance and mid level metasploit tutorial on backtrack 5 you can learn different commands from these tutorials but here is the list of the best and most common commands that are used in metasploit for different purposes. Later on we will share meterpreter commands as well.




Metasploit is the database of all exploits and a software that contain information about different exploits so here is the basic usage of metasploit, I am using backtrack 5 machine for this tutorial however if you are using other Linux distribution or windows OS than it is fine but the requirement is Metasploit.


Msfconsole


Msfconsole is a console or a command windows of metasploit that will give you the full support of internal and external metasploit commands, there was a web interface of metasploit but now we don't have that option.


So on your terminal type msfconsole to start metasploit console.


Quote:
  • root@bt:~# msfconsole


Metasploit is also available on GUI (graphical user interface), if you want to run metasploit GUI than on the terminal type.


Logo
Quote:
  • root@bt:~# msfgui


Help command of metasploit will give you the basic idea about the usage of metasploit, if you are looking for msfconsole help than from the root windows type

Quote:
  • root@bt:~# msfconsole -h


For msfconsole usage you need to be on msfconsole window to get the help.
Quote:

  • msf > help


Ping command of msfconsole is to check the alive host and so on.

Quote:
  • msf > ping 192.168.1.45


Show exploits is a command to check all the available exploits on metasploit

Quote:

  • msf > show exploits



Show payloads just like show exploits, show payloads will show you all the available payloads on metasploit.

Quote:
  • msf > show payloads



Info command will give you more information about any exploits and payloads.

Quote:
  • Msf>info <exploit>
  • msf>info <payload>



Use command will give metasploit an instruction to use a exploit or payload.

  • msf > use exploit/windows/smb/ms08_067_netapi


Quote:
  • msf exploit(ms08_067_netapi) >

No comments:

Post a Comment

Any Doubts ??
Don't wait till last Breath just Leave a Comment Below ;)

Hacking Articles for Free...