Class: BetterCap::Parsers::Ftp
- Defined in:
- lib/bettercap/sniffer/parsers/ftp.rb
Overview
FTP authentication parser.
Instance Method Summary collapse
-
#initialize ⇒ Ftp
constructor
A new instance of Ftp.
Methods inherited from Base
available, from_cmdline, inherited, load_by_names, load_custom, #on_packet
Constructor Details
#initialize ⇒ Ftp
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 |