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 to make changes to it. However, the Mona.py script can also generate Metasploit specific modules on the fly. We will look at producing quick exploits using the Mona.py script in the last 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::RemoteRank = NormalRankinginclude Msf::Exploit::Remote::Ftpdef 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