Exploiting routers with RouterSploit
RouterSploit is a router exploitation framework that is designed especially for embedded devices. It consists of three main modules:
exploits
: This contains a list of all the publically available exploitscreds
: This is used for testing logins for different devicesscanners
: This is used for checking a particular exploit against a particular device
Getting ready
Before we begin, we will have to install RouterSploit in Kali; unfortunately, it does not come with the official installation of the OS. RouterSploit installation is very simple, just like we installed some tools in the beginning of the book.
How to do it...
- We use the following command to clone the GitHub repository:
git clone https://github.com/reverse-shell/routersploit
- We go to the directory using the
cd routersploit
command and run the file as follows:
./rsf.py
The following screenshot shows the output of step 1:

- To run an exploit against a router, we simply type this:
use exploits/routername/exploitname...