3 min readJul 4, 2017


Metasploit Framework Setup for Raspberry Pi3 Model B running Kali Linux (How-to-Guide)

  1. Install all dependencies… The following link has dependencies listed for installing metasploit for Ubuntu, but since Ubuntu's Os is similar to Kali we can use the same dependencies. Here’s a link:

2. After the dependencies are downloaded the next step is to go to GitHub.com/rapid7/metasploit-framework and clone the repository into your terminal.


cd opt

Then type:

git clone https://github.com/rapid7/metasploit-framework.git

3. Next step is to navigate into the new metasploit-framework folder we just created.


cd metasploit-framework

4. Next step is to install “nokogiri” which is an extra dependency that was not mentioned in the dark operator . com link. Type:

sudo gem install nokogiri

5. Next step is to navigate into the gem file and delete a dependency which for some reason will not install on the Pi running Kali Linux. To do that I navigated to the gem file which should be located in the metasploit-framework folder then I used the nano editor in the command line to delete the dependency. GRPC is the dependency that will not install on the Pi so you need to delete the metasploit-aggregator gem which is dependent upon GRPC and will prevent the metasploit-framework from working. (Pic below on how to navigate to the correct folder and how to open nano editor and also a link on which line of code to delete)