linux - June 22, 2020

How to install metasploit in any proot ex- kali linux , Arch , Ubuntu etc

Metasploit definition

Metasploit is a penetration testing framework that makes hacking simple. It’s an essential tool for many attackers and defenders. Point Metasploit at your target, pick an exploit, what payload to drop, and hit Enter.

Installing the Metasploit Framework on Linux

  1. Open the terminal.
  2. Enter the following command to add the build repository and install the Metasploit Framework package:
$ curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && chmod 755 msfinstall && ./msfinstall

After the installation completes, open a terminal window and type the following to start msfconsole:

$ ./msfconsole

Help command

As we’ve seen earlier in this tutorial the help command will return a list of possible commands together with a description when typed at the msfconsole. When there is an active exploit selected we can use the help command to get a list of exploit commands:

Info command

When an exploit is selected with the use command we can retrieve information like the name, platform, author, available targets and a lot more by using the info command. In the following screenshot we’ve use the info command on an exploit named ie_execcommand_uaf:

Search command

As of this writing Metasploit contains over 1.500 different exploits and new ones are added regularly. With this number of exploit the search function, and knowing how to use it, becomes very important. The easiest way of using the search function is by issuing the command search followed by a search term, for example flash to search for exploits related to Flash player. By using the search command Metasploit will search for the given search term in the module names and description as following:

Hey Guys My Self Raj Aryan
And I Am Here to Teach U Cyber Tech

If U facing this error then Learn Termux Basic First

[Practical Video] : https://youtu.be/HQUef4f8TYE

My Website : ☣

If U Get Any Error U Can Contact Me On Instagram.. Id – @h4ck3r_0

Termux Fix


▶Hacker’s Keyboard : https://bit.ly/2PBz4a7

▶Mix Explorer : https://bit.ly/2PElnHk


Telegram Group 7k Members 

Telegram Channel 1.1k Members