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




September 26, 2021

How to create metasploit payload easily using Linux and Termux



 Metasploit framework is a well known framework which is mostly used for penetration testing, especially for exploit execution on target machine.

To create a payload in metasploit, we need to manually create a payload by typing long command which is time consuming. So there are some plenty automated tools to create payload in easy way but the problem is many tools only works on Linux or sometime works on Termux. To overcome this issue, there is a tool which can create payload easily and works perfectly on both Linux & Termux. In this post we are going to use a python based tool called 'Paybag' to create payloads.


  • Features of Paybag -


1) Simple and easy to use.

2) Works on both Linux & Termux.

3) Can start listener directly from tool. 

4) For Termux users, if you haven't Metasploit, it will download automatically on your system.

5) If you don't know about LHOST, you can select it from table.


  • Installation -


1. For Linux users -

1) sudo apt-get install python3 python3-pip net-tools

2) git clone https://github.com/Deadpool2000/Paybag.git

3) cd Paybag

4) sudo pip3 install -r requirements.txt

5) python3 paybag.py 


2. For Termux users -

1) apt install python wget

2) git clone https://github.com/Deadpool2000/Paybag.git

3) cd Paybag

4) pip install -r requirements.txt

5) python paybag.py 



  • Usage -


After running this tool, you will get following options -


1) Create a payload


Create a payload by just giving LHOST and LPORT and send it to victim.


All payloads will store in 'payload' folder.


2) Start Listner


After creating payload, just send it to victim & execute it on victim machine. Then select 'Start Listner' and select LHOST from table and enter LPORT which used while creating payload. After this, just wait until you get a successful connection.


3) Launch Metasploit


Using this option, you can launch metasploit directly from the tool.


That's it !


If you have any problem regarding this, leave a comment !


Share this post to your friends -


Also read - How to install Metasploit on Windows 10


September 25, 2021

How to add Kali Linux repositories in any Debian-based distro



 Kali Linux is a great debian-based linux distro for hacking and penetration testing. Kali linux contains lot of testing tools which can be download and install easily but if you want to install those tools into another linux distro like Ubuntu, linux mint, raspbian, etc. you need to install those tools manually which is time consuming and sometimes tools not working due to some missing packages. So to overcome this issue, we can install kali linux repositories into other debian distro and install tools easily without any difficulties. in this post we are going to use a simple tool called 'portkali' to install kali repositories.


  • Features of portkali 


Add kali repositories in any debian-based distro.

Best alternative for tools like Katoolin.

Easily remove added kali repositories from your system.


  • Installation 


1) First, install python3 to run this script

    sudo apt-get install python3


2) Clone 'portkali' tool from github

    git clone https://github.com/Deadpool2000/portkali.git


3) Goto 'portkali' folder

    cd portkali


4) Now run portkali tool using,

    sudo python3 portkali.py


  • Usage


1) Install kali linux repositories


Now to install kali repositories, select first option 'Add kali repositories'.

Initially, it will take backup of your existing 'source.list' file at /etc/apt. So if something goes wrong, you can revert old repositories by renaming 'sources.list.bak' to 'sources.list'.

Then it will install kali repositories.

After this, you need to update packages from repository. This is mandatory step. So select second option 'Update system'.


2) Remove kali linux repositories


If you want to remove kali repositories added by this tool, you can simply select third option 'Remove all kali repositories' from main menu.


If you have any problem regarding this, leave a comment !

Share this post to your friends.


Also read -  How to track IP address location in Linux & Termux

September 20, 2021

Track IP address exact location using Linux & Termux


    
If you want to check information of IP address, we always use IP lookup website to check the information of IP address such as location or ISP detail.

These website mostly show inappropriate information or a very limited information. In this post we are going to use a python based tool for IP lookup.

We are using a python tool 'IPicker' to get information of IP address. IPicker is a simple tool which gives us information about IP address and website such as location, ISP details, etc.

-----------------------------------------------------------------------------------------------


Features of IPicker -


1. Get your own IP address information.

2. Get any website's IP Address information.

3. Check IP address location from your browser and Google Maps App.


This tool is tested on Ubuntu and Termux App.


-----------------------------------------------------------------------------------------------

Installation:


1) First we need some packages to run this tool, So type following command -


    $ apt-get install python3 git



2) Now we are going to use IPicker tool for IP-lookup. We need to clone repo from Github, So type -


    $ git clone https://github.com/Deadpool2000/IPicker.git




3) Next, go to the IPicker directory using -


    $ cd IPicker


4) To run this tool, type -


    $ python3 ipicker.py



5) Now you will get two options. First option is to check your own IP information and second is to check other IP lookup.


6) If we select first option, we will get our IP address information with location. You can check your location on Map 

(Termux users will redirect to 'Google Maps' app)




7) If we select second option, you need to enter IP address or URL of any website. So enter IP address or URL and you will get related information.




If you have any problem about this, leave a comment !


Don't forget to share this post to your friends.