Search icon CANCEL
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
Metasploit 5.0 for Beginners

You're reading from   Metasploit 5.0 for Beginners Perform penetration testing to secure your IT environment against threats and vulnerabilities

Arrow left icon
Product type Paperback
Published in Apr 2020
Publisher
ISBN-13 9781838982669
Length 246 pages
Edition 2nd Edition
Arrow right icon
Author (1):
Arrow left icon
Sagar Rahalkar Sagar Rahalkar
Author Profile Icon Sagar Rahalkar
Sagar Rahalkar
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Section 1: Introduction and Environment Setup
2. Chapter 1: Introduction to Metasploit and Supporting Tools FREE CHAPTER 3. Chapter 2: Setting Up Your Environment 4. Chapter 3: Metasploit Components and Environment Configuration 5. Section 2: Practical Metasploit
6. Chapter 4: Information Gathering with Metasploit 7. Chapter 5: Vulnerability Hunting with Metasploit 8. Chapter 6: Client-Side Attacks with Metasploit 9. Chapter 7: Web Application Scanning with Metasploit 10. Chapter 8: Antivirus Evasion and Anti-Forensics 11. Chapter 9: Cyber Attack Management with Armitage 12. Chapter 10: Extending Metasploit and Exploit Development 13. Chapter 11: Case Studies 14. Other Books You May Enjoy

Using MSFvenom Payload Creator (MSFPC)

In the previous section, we saw how to use msfvenom to generate custom payloads for client-side attacks. msfvenom is indeed a powerful tool, which comes with many customizable parameters. However, there could be situations where you just want to quickly generate a payload and drop it on your target. This is where the MSFPC tool can come in handy. MSFPC uses the same msfvenom tool in the backend but provides an easy-to-use interface for quick payload generation.

MSFPC just requires one argument to generate the payload, and that is the target platform. It can generate payloads for the following platforms:

  • APK
  • ASP
  • ASPX
  • Bash
  • Java
  • Linux
  • OSX
  • Perl
  • PHP
  • Powershell
  • Python
  • Tomcat
  • Windows

Follow these steps to get started with MSFPC:

  1. Open the Terminal and type msfpc help, as in the following screenshot:

    Figure 6.13 – MSFPC console

  2. Now we'll try to generate a payload...
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 €18.99/month. Cancel anytime