O'Reilly logo

Metasploit Penetration Testing Cookbook - Second Edition by Abhinav Singh, Monika Agarwal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Writing a simple FileZilla FTP fuzzer

We analyzed the working of fuzzer modules in our previous recipe. Let us take it a step further by building our own small FTP fuzzer that can be used against the FileZilla FTP server.

How to do it...

The basic template to build a fuzzer will be similar to the one we discussed for the development of an auxiliary module:

  1. Our basic template should look as follows:
    require 'msf/core'
    
    class Metasploit3 < Msf::Auxiliary
    
            include Msf::Auxiliary::Scanner
            def initialize
                    super(
                            'Name'           => 'FileZilla Fuzzer',
                            'Version'        => '$Revision: 1 $',
                            'Description'    => 'Filezilla FTP fuzzer',
                            'Author'         => 'Abhinav_singh',
                            'License'        => MSF_LICENSE
                    )
                    register_options( [
                    Opt::RPORT(14147),
     OptInt.new('STEPSIZE', [ false, "Increase ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required