December 2017
Intermediate to advanced
860 pages
16h 1m
English
The best way to start building a Metasploit module is to copy an existing similar module and make changes to it. However, a Mona.py script can also generate Metasploit-specific modules on the fly. We will see how to generate quick exploits using Mona.py script in the latter sections of the book.
Let us now see the equivalent code of the exploit in Metasploit as follows:
require 'msf/core' class Metasploit3 < Msf::Exploit::Remote Rank = NormalRanking include Msf::Exploit::Remote::Ftp def initialize(info = {}) super(update_info(info, 'Name' => 'PCMAN FTP Server Post-Exploitation CWD Command', 'Description' => %q{ This module exploits a buffer overflow vulnerability in PCMAN FTP }, 'Author' => [ 'Nipun Jaswal' ...Read now
Unlock full access