September 27, 2021

How to install routersploit in Termux without any error [2021]

 


Routersploit is a exploitation framework used for embedded devices, specially for WiFi routers to exploit vulnerabilites. Routersploit is great tool for linux to exploit router's vulnerabilities but if we want to use this tool on Termux, we'll get some plenty errors while installation process. So in this post we are going to install Routersploit on Termux without any errors. Just follow below steps one by one to install this tool.


  • Installation


1) First install python to run this tool


$ apt install python


2) Then upgrade pip by typing -


$ pip install --upgrade pip


3) Now we need to run this command to avoid some errors. 

(This is mandatory)


$ export CRYPTOGRAPHY_DONT_BUILD_RUST = 1


4) Now install 'cryptography' package by typing -


$ pip install cryptography


It will take some time to install cryptography


5) Now we are going to install 'routersploit' from pip packages, so type -


$ pip install routersploit


Just wait until complete installation.


6) After this, we need to clone 'routersploit' repository from Github, So type -


$ git clone https://www.github.com/threat9/routersploit


7) Goto 'routersploit' using -


$ cd routersploit


8) Now without doing anything, just run 'routersploit' by typing -


$ python3 rsf.py


That's it ! Now you can use Routersploit on Termux without any issues.


If you still facing the issues related to this tool, leave a comment !


Share this post to your friends -


Also read - Create payload easily in Linux & Termux




1 comment:

  1. When installing cryptography the following error occurs:

    error: Don't know the correct rust target for system type aarch64-unknown-linux-android. Please set the CARGO_BUILD_TARGET environment variable. [end of output]

    note: This error originates from a subprocess, and is likely not a problem with pip.
    ERROR: Failed building wheel for cryptography Failed to build cryptography
    ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects

    ReplyDelete

If you have any problem regrading this post, leave a comment !