Ezsploit – Linux bash script automation for metasploit, which is use to create payload for multiple platform (Windows, Linux, Android, Mac). as well as we can start multiple listeners at a same time.
Step 1 :-You need to download ezsploit tool by executing this command in terminal window of kali linux
git clone https://github.com/rand0m1ze/ezsploit.git
Step 2 :-Now downloading of ezsploit tool will start and after that you can see a ezsploit file , so you need to wait for downloading it completely . and Now again go to terminal window of kali linux and execute this command cd ezsploit
Now to install this tool in kali linux, to install this tool first we have to give chmod permision. Type the command for this chmod +x ezsploit.sh and press enter button.
Now you can run this tool easily, that give this command ./ezsploit.sh and press enter button.
Step 3 :-Now a screen will come having many option like payload, listen,exploit,persistence and many more option you will see there.
Step 4 :- Now here you need to first choose you are going to create the payload for type 1 .
Step 5 :- Now here you need to first choose you are going to create the payload for which operating system , i mean windows, linux or android .Now i assume that you are going to create the payload for android device the execute the associated number like 1 (Window is on fourth position among the rest option).
Step 6 :- After that it will ask for Set LHOST IP ,simply here if you want to use your payload remotely then youll need to enter your static ip here and press enter.For checking your ip simply execute this command in your terminal ifconfig and then Now enter the Set LPORT 4445 and then press enter button.
Step 7 :-Here i am select 4 for Android payload
Step 8 :-You will see that the payload for Windows and Android has been created, you will find it in the Temp folder on the desktop