Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
The Complete Metasploit Guide

You're reading from   The Complete Metasploit Guide Explore effective penetration testing techniques with Metasploit

Arrow left icon
Product type Course
Published in Jun 2019
Publisher Packt
ISBN-13 9781838822477
Length 660 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Sagar Rahalkar Sagar Rahalkar
Author Profile Icon Sagar Rahalkar
Sagar Rahalkar
Nipun Jaswal Nipun Jaswal
Author Profile Icon Nipun Jaswal
Nipun Jaswal
Arrow right icon
View More author details
Toc

Table of Contents (28) Chapters Close

Title Page
Copyright About Packt Contributors Preface 1. Introduction to Metasploit and Supporting Tools FREE CHAPTER 2. Setting up Your Environment 3. Metasploit Components and Environment Configuration 4. Information Gathering with Metasploit 5. Vulnerability Hunting with Metasploit 6. Client-side Attacks with Metasploit 7. Web Application Scanning with Metasploit 8. Antivirus Evasion and Anti-Forensics 9. Cyber Attack Management with Armitage 10. Extending Metasploit and Exploit Development 11. Approaching a Penetration Test Using Metasploit 12. Reinventing Metasploit 13. The Exploit Formulation Process 14. Porting Exploits 15. Testing Services with Metasploit 16. Virtual Test Grounds and Staging 17. Client-Side Exploitation 18. Metasploit Extended 19. Evasion with Metasploit 20. Metasploit for Secret Agents 21. Visualizing with Armitage 22. Tips and Tricks 1. Other Books You May Enjoy

The msfvenom utility

Earlier, the Metasploit Framework offered two different utilities, namely, msfpayload and msfencode. The msfpayload was used to generate a payload in a specified format and the msfencode was used to encode and obfuscate the payload using various algorithms. However, the newer and the latest version of the Metasploit Framework has combined both of these utilities into a single utility called msfvenom.

The msfvenom utility can generate a payload as well as encode the same in a single command. We shall see a few commands next:

The msfvenom is a separate utility and doesn't require msfconsole to be running at same time.
  • List payloads: The msfvenom utility supports all standard Metasploit payloads. We can list all the available payloads using the msfvenom --list payloads command as shown in the following screenshot:

  • List encoders: As we have discussed...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime