October 2, 2021

How to install Phonesploit on Termux [2021]

 

 

 Phonesploit is a python based tool used for remote ADB (Android Debugging Bridge) exploitation. Using this tool, you can easily exploit any android device from remote ADB and can perform a bunch of tasks on target android device. Formerly, this tool only works on Linux but now you can use this tool on Termux with some easy steps. In this post we are going to use official PhoneSploit repository from github. So follow the steps to install this tool on termux.


Features of PhoneSploit


Access Shell
Screen record victim device
Screenshot a picture on victim device
Pull folders from victim device
Turn victim device off
Uninstall an app
Show real time log of victim device
Dump system info
List all apps on victim
Run an app
Port Forwarding 
NetStat
Grab wpa_supplicant
Turn WiFi On/Off
Show Mac/Inet
Remove Password
Extract apk from app
Use Keycode
Get Battery Status
Get Current Activity




Installation

 

First update all packages

  

apt update && apt upgrade

 

Install required packages


apt install android-tools python git

 

Now clone PhoneSploit repository from github

 

git clone https://github.com/aerosol-can/PhoneSploit

 

Goto PhoneSploit

 

cd PhoneSploit

 

Install pip packages

 

pip install colorama

 

Usage


Make sure that both devices are connected on same network.


Now on target device, make sure that 'USB Debugging' is on. If not, goto
"Settings > developer options" and select USB debugging.


Now return back to your attack device and run following commands on Termux -

 

adb tcpip 5555

 

here you can use any port number instead of '5555'


Now identify IP address of target device. To identify it, Goto
Settings > About Phone and you will see IP address of target device.


After this, run following command on attacking device

 

adb connect <ip_address_target_device>:<port_number>

 

e.g. adb connect 192.168.1.56:5555  (This is in my case)


Now run PhoneSploit tool using,

 

python phonesploit.py


Now you can run any command from PhoneSploit on target device remotely.



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

Share this post to your friends.

Also read -
Install routersploit on Termux

 

0 comments:

Post a Comment

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