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

#on_packet

Constructor Details

#initializeFtp

Returns a new instance of Ftp.


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

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