# PhoneSploit-Pro | An All-In-One Hacking Tool To Remotely Exploit Android Devices Using ADB

**URL:** <https://onehack.st/t/phonesploit-pro-an-all-in-one-hacking-tool-to-remotely-exploit-android-devices-using-adb/239654>\
**Category:** Tools & Scripts\
**Tags:** programming, hacking, freebies\
**Created:** [April 29, 2023, 9:42pm UTC](https://onehack.st/t/phonesploit-pro-an-all-in-one-hacking-tool-to-remotely-exploit-android-devices-using-adb/239654 "2023-04-29T21:42:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![PlayBoy83](https://onehack.st/user_avatar/onehack.st/playboy83/32/164314_2.png) [@PlayBoy83](https://onehack.st/u/PlayBoy83)\
**Post date:** [April 29, 2023, 9:42pm UTC](https://onehack.st/t/phonesploit-pro-an-all-in-one-hacking-tool-to-remotely-exploit-android-devices-using-adb/239654/1 "2023-04-29T21:42:07Z")

</div>

![image](https://onehack.st/uploads/default/original/3X/f/f/fff1b8c3083cfbdebc33cff2ae3382e49d9a6704.png)

# PhoneSploit Pro

### PhoneSploit with Metasploit Integration.

[![GitHub release (latest by date)](https://camo.githubusercontent.com/b9a97584f662e07ea641111b1a01fc1897ed3ff655be820cedbfea05cfd5e4af/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f417a65656d4964726973692f50686f6e6553706c6f69742d50726f)](https://camo.githubusercontent.com/b9a97584f662e07ea641111b1a01fc1897ed3ff655be820cedbfea05cfd5e4af/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f417a65656d4964726973692f50686f6e6553706c6f69742d50726f) [![CodeFactor](https://camo.githubusercontent.com/27a8c656c9a7b0a6035e511551eea2625dc4a882c7687275f37b8e0329038552/68747470733a2f2f7777772e636f6465666163746f722e696f2f7265706f7369746f72792f6769746875622f617a65656d6964726973692f70686f6e6573706c6f69742d70726f2f6261646765)](https://www.codefactor.io/repository/github/azeemidrisi/phonesploit-pro) [![Python](https://camo.githubusercontent.com/2e80d9d4e6d9af1124cdb67682ae876cbe2d22774d028e4aac004f5a93d95b4c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f707974686f6e2d76332e31302532422d626c7565)](https://camo.githubusercontent.com/2e80d9d4e6d9af1124cdb67682ae876cbe2d22774d028e4aac004f5a93d95b4c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f707974686f6e2d76332e31302532422d626c7565) [![GitHub Release Date](https://camo.githubusercontent.com/d70552482703a7c269d20eacdf8242f6020ab252733fe65ae0f139e998db1a3d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652d646174652f417a65656d4964726973692f50686f6e6553706c6f69742d50726f3f6c6f676f3d676974687562)](https://camo.githubusercontent.com/d70552482703a7c269d20eacdf8242f6020ab252733fe65ae0f139e998db1a3d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652d646174652f417a65656d4964726973692f50686f6e6553706c6f69742d50726f3f6c6f676f3d676974687562) [![GitHub last commit](https://camo.githubusercontent.com/7d0828cfc387b73b05a123d0f3c476fb0ca70576cb7c043edc979f69e340adb4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f417a65656d4964726973692f50686f6e6553706c6f69742d50726f3f6c6f676f3d676974687562)](https://camo.githubusercontent.com/7d0828cfc387b73b05a123d0f3c476fb0ca70576cb7c043edc979f69e340adb4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f417a65656d4964726973692f50686f6e6553706c6f69742d50726f3f6c6f676f3d676974687562) [![GitHub Repo stars](https://camo.githubusercontent.com/7d59d5de28220622640bc856a4c868175f37486ec9c7c260022e242b39ab798d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f417a65656d4964726973692f50686f6e6553706c6f69742d50726f3f7374796c653d736f6369616c)](https://camo.githubusercontent.com/7d59d5de28220622640bc856a4c868175f37486ec9c7c260022e242b39ab798d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f417a65656d4964726973692f50686f6e6553706c6f69742d50726f3f7374796c653d736f6369616c) [![GitHub forks](https://camo.githubusercontent.com/babc3f9a0a62c341232c1cf8af6394ae60330730a0ab9d1f428297c3b39a8af4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f417a65656d4964726973692f50686f6e6553706c6f69742d50726f3f7374796c653d736f6369616c)](https://camo.githubusercontent.com/babc3f9a0a62c341232c1cf8af6394ae60330730a0ab9d1f428297c3b39a8af4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f417a65656d4964726973692f50686f6e6553706c6f69742d50726f3f7374796c653d736f6369616c)

An all-in-one hacking tool written in `Python` to remotely exploit Android devices using `ADB` (Android Debug Bridge) and `Metasploit-Framework`.

#### Complete Automation to get a Meterpreter session in One Click

This tool can automatically **Create** , **Install** , and **Run** payload on the target device using **Metasploit-Framework** and **ADB** to completely hack the Android Device in one click.

The goal of this project is to make penetration testing on Android devices easy. Now you don’t have to learn commands and arguments, PhoneSploit Pro does it for you. Using this tool, you can test the security of your Android devices easily.

> **PhoneSploit Pro** can also be used as a complete ADB Toolkit to perform various operations on Android devices over Wi-Fi as well as USB.

# Features

## v1.0

- Connect device using ADB remotely.
- List connected devices.
- Disconnect all devices.
- Access connected device shell.
- Stop ADB Server.
- Take screenshot and pull it to computer automatically.
- Screen Record target device screen for a specified time and automatically pull it to computer.
- Download file/folder from target device.
- Send file/folder from computer to target device.
- Run an app.
- Install an APK file from computer to target device.
- Uninstall an app.
- List all installed apps in target device.
- Restart/Reboot the target device to `System`, `Recovery`, `Bootloader`, `Fastboot`.
- **Hack Device Completely** :
  - Automatically fetch your `IP Address` to set `LHOST`.
  - Automatically create a payload using `msfvenom`, install it, and run it on target device.
  - Then automatically launch and setup **Metasploit-Framework** to get a `meterpreter` session.
  - Getting a `meterpreter` session means the device is completely hacked using Metasploit-Framework, and you can do anything with it.

## v1.1

- List all files and folders of the target devices.
- Copy all WhatsApp Data to computer.
- Copy all Screenshots to computer.
- Copy all Camera Photos to computer.
- Take screenshots and screen-record anonymously (Automatically delete file from target device).
- Open a link on target device.
- Display an image/photo on target device.
- Play an audio on target device.
- Play a video on target device.
- Get device information.
- Get battery information.
- Use Keycodes to control device remotely.

## v1.2

- Send SMS through target device.
- Unlock device (Automatic screen on, swipe up and password input).
- Lock device.
- Dump all SMS from device to computer.
- Dump all Contacts from device to computer.
- Dump all Call Logs from device to computer.
- Extract APK from an installed app.

## v1.3

- Mirror and Control the target device.

## v1.4

- Power off the target device.

## v1.5

- Scan local network for connected devices to get Target IP Address.

# Requirements

- [`python3`](https://www.python.org/) : Python 3.10 or Newer
- [`adb`](https://developer.android.com/studio/command-line/adb) : Android Debug Bridge (ADB) from `Android SDK Platform Tools`
- [`metasploit-framework`](https://www.metasploit.com/) : Metasploit-Framework (`msfvenom` and `msfconsole`)
- [`scrcpy`](https://github.com/Genymobile/scrcpy) : Scrcpy
- [`nmap`](https://nmap.org/) : Nmap

# Run PhoneSploit Pro

**PhoneSploit Pro** does not need any installation and runs directly using `python3`

> **PhoneSploit Pro** requires Python version 3.10 or above. Please update Python before running the program to meet the requirement.

#### On Linux / macOS :

Make sure all the [required](https://github.com/AzeemIdrisi/PhoneSploit-Pro#requirements) software are installed.

Open terminal and paste the following commands :

```auto
git clone https://github.com/AzeemIdrisi/PhoneSploit-Pro.git

```

```auto
cd PhoneSploit-Pro/

```

```auto
python3 phonesploitpro.py

```

#### On Windows :

Make sure all the [required](https://github.com/AzeemIdrisi/PhoneSploit-Pro#requirements) software are installed.

Open terminal and paste the following commands :

```auto
git clone https://github.com/AzeemIdrisi/PhoneSploit-Pro.git

```

```auto
cd PhoneSploit-Pro/

```

1. Download and extract latest `platform-tools` from [here](https://developer.android.com/studio/releases/platform-tools.html#downloads).
2. Copy all files from the extracted `platform-tools` or `adb` directory to **PhoneSploit-Pro** directory and then run :

```auto
python phonesploitpro.py

```

# Screenshots

[![Screenshot Page 1](https://github.com/AzeemIdrisi/PhoneSploit-Pro/raw/main/docs/Screenshot-1.png)](https://github.com/AzeemIdrisi/PhoneSploit-Pro/blob/main/docs/Screenshot-1.png) [![Screenshot Page 2](https://github.com/AzeemIdrisi/PhoneSploit-Pro/raw/main/docs/Screenshot-2.png)](https://github.com/AzeemIdrisi/PhoneSploit-Pro/blob/main/docs/Screenshot-2.png) [![Screenshot Page 3](https://github.com/AzeemIdrisi/PhoneSploit-Pro/raw/main/docs/Screenshot-3.png)](https://github.com/AzeemIdrisi/PhoneSploit-Pro/blob/main/docs/Screenshot-3.png)

# Tutorial

## Setting up Android Phone for the first time

- **Enabling the Developer Options**

1. Open `Settings`.
2. Go to `About Phone`.
3. Find `Build Number`.
4. Tap on `Build Number` 7 times.
5. Enter your pattern, PIN or password to enable the `Developer options` menu.
6. The `Developer options` menu will now appear in your Settings menu.

- **Enabling USB Debugging**

1. Open `Settings`.
2. Go to `System` \> `Developer options`.
3. Scroll down and Enable `USB debugging`.

- **Connecting with Computer**

1. Connect your Android device and `adb` host computer to a common Wi-Fi network.
2. Connect the device to the host computer with a USB cable.
3. Open a terminal in the computer and enter the following command :

```auto
adb devices

```

1. A pop-up will appear in the Android phone when you connect your phone to a new PC for the first time : `Allow USB debugging?`.
2. Click on `Always allow from this computer` check-box and then click `Allow`.
3. Then in the terminal enter the following command :

```auto
adb tcpip 5555

```

1. Now you can connect the Android Phone with the computer over Wi-Fi using `adb`.
2. Disconnect the USB cable.
3. Go to `Settings` \> `About Phone` \> `Status` \> `IP address` and note the phone’s `IP Address`.
4. Run **PhoneSploit Pro** and select `Connect a device` and enter the target’s `IP Address` to connect over Wi-Fi.

## Connecting the Android phone for the next time

1. Connect your Android device and host computer to a common Wi-Fi network.
2. Run **PhoneSploit Pro** and select `Connect a device` and enter the target’s `IP Address` to connect over Wi-Fi.

# This tool is tested on

- ✅ Ubuntu
- ✅ Linux Mint
- ✅ Kali Linux
- ✅ Fedora
- ✅ Arch Linux
- ✅ Parrot Security OS
- ✅ Windows 11
- ✅ Termux (Android)

All the new features are primarily tested on **Linux** , thus **Linux** is recommended for running PhoneSploit Pro. Some features might not work properly on Windows.

# Installing ADB

#### ADB on Linux :

Open terminal and paste the following commands :

- **Debian / Ubuntu**

```auto
sudo apt update

```

```auto
sudo apt install adb

```

- **Fedora**

```auto
sudo dnf install adb

```

- **Arch Linux / Manjaro**

```auto
sudo pacman -Sy android-tools

```

For other Linux Distributions : [Visit this Link](https://developer.android.com/studio/releases/platform-tools#downloads)

#### ADB on macOS :

Open terminal and paste the following command :

```auto
brew install android-platform-tools

```

or Visit this link : [Click Here](https://developer.android.com/studio/releases/platform-tools.html#downloads)

#### ADB on Windows :

Visit this link : [Click Here](https://developer.android.com/studio/releases/platform-tools.html#downloads)

#### ADB on Termux :

```auto
pkg update

```

```auto
pkg install android-tools

```

# Installing Metasploit-Framework

#### On Linux / macOS :

```auto
curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && \
  chmod 755 msfinstall && \
  ./msfinstall

```

or Follow this link : [Click Here](https://docs.metasploit.com/docs/using-metasploit/getting-started/nightly-installers.html#installing-metasploit-on-linux--macos)

or Visit this link : [Click Here](https://www.metasploit.com/download)

#### On Windows :

Visit this link : [Click Here](https://www.metasploit.com/download)

or Follow this link : [Click Here](https://docs.metasploit.com/docs/using-metasploit/getting-started/nightly-installers.html#windows-anti-virus-software-flags-the-contents-of-these-packages)

# Installing scrcpy

Visit the `scrcpy` GitHub page for latest installation instructions : [Click Here](https://github.com/Genymobile/scrcpy#get-the-app)

**On Windows** : Copy all the files from the extracted **scrcpy** folder to **PhoneSploit-Pro** folder.

If `scrcpy` is not available for your Linux distro like **Kali Linux** , then you can either manually install it : [Manual Guide](https://github.com/Genymobile/scrcpy/blob/master/doc/linux.md), or build it with a few simple steps : [Build Guide](https://github.com/Genymobile/scrcpy/blob/master/doc/build.md#build-scrcpy)

# Installing Nmap

#### Nmap on Linux :

Open terminal and paste the following commands :

- **Debian / Ubuntu**

```auto
sudo apt update

```

```auto
sudo apt install nmap

```

- **Fedora**

```auto
sudo dnf install nmap

```

- **Arch Linux / Manjaro**

```auto
sudo pacman -Sy nmap

```

For other Linux Distributions : [Visit this Link](https://nmap.org/download.html)

#### Nmap on macOS :

Open terminal and paste the following command :

```auto
brew install nmap

```

or Visit this link : [Visit this Link](https://nmap.org/download.html)

#### Nmap on Windows :

Download and install the latest stable release : [Click Here](https://nmap.org/download.html#windows)

#### Nmap on Termux :

```auto
pkg update

```

```auto
pkg install nmap

```

# Disclaimer

- Neither the project nor its developer promote any kind of illegal activity and are not responsible for any misuse or damage caused by this project.
- This project is for educational purpose only.
- Please do not use this tool on other people’s devices without their permission.
- Do not use this tool to harm others.
- Use this project responsibly on your own devices only.
- It is the end user’s responsibility to obey all applicable local, state, federal, and international laws.

## GitHub:

> **[GitHub - AzeemIdrisi/PhoneSploit-Pro: An all-in-one hacking tool to remotely exploit...](https://github.com/AzeemIdrisi/PhoneSploit-Pro)**
>
> An all-in-one hacking tool to remotely exploit Android devices using ADB and Metasploit-Framework to get a Meterpreter session.
