Hello guy’s, welcome to another article in this article we are going to discuss about how to generate metasploit payload in easy way.
Pybag is a python tool, in this tool very simple to use and create metasploit payload easy way also create listener
- Android version 5.0 and above
- Termux application
- Git package
- Python package
- Metasploit package
- Apk tool
How to download and install pybag tool in termux
First of all you update your termux application up to date so type this below command in your termux terminal.
apt update && apt upgrade
Once you update your termux install git package this package will help you to clone the package so type this below command.
pkg install git
Once you install git package install python package so type this below command in youe termux terminal.
pkg install python && pkg install python2
Once you install python package now install apktool
Now download pybag tool in your termux terminal so type this below comamnd.
git clone https://github.com/Deadpool2000/Paybag.git
Now open pybag folder in your temux terminal
Now we need to install requirements of Paybag tool so type this below command in your termux terminal.
pip3 install -r requirements.txt
Now we need to give permission to read, write and execute of Paybag.py python file so type this below comamnd in termux terminal.
1) Create a payload
- Create a payload by just giving LHOST and LPORT and send it to victim.
2) Start Listner
- After creating payload,send it to victim & execute it on victim machine.
- After execution,Select ‘Start Listner’,select LHOST from table and enter LPORT which used while creating payload.
- Now wait until a successfull connection.
3) Launch Metasploit
- Start Metasploit using Launch Metasploit option.