Class: BetterCap::Parsers::Ftp

Inherits:
Base
  • Object
show all
Defined in:
lib/bettercap/sniffer/parsers/ftp.rb

Overview

FTP authentication parser.

Instance Method Summary collapse

Methods inherited from Base

available, from_cmdline, from_exclusion_list, inherited, load_by_names, load_custom, #match_port?, #on_packet

Constructor Details

#initializeFtp



18
19
20
21
22
# File 'lib/bettercap/sniffer/parsers/ftp.rb', line 18

def initialize
  @filters = [ /(USER|PASS)\s+.+/ ]
  @name = 'FTP'
  @port = 21
end