Class: BetterCap::Parsers::Mail
- Defined in:
- lib/bettercap/sniffer/parsers/mail.rb
Overview
POP/IMAP authentication parser.
Instance Method Summary collapse
-
#initialize ⇒ Mail
constructor
A new instance of Mail.
Methods inherited from Base
available, from_cmdline, inherited, load_by_names, load_custom, #on_packet
Constructor Details
#initialize ⇒ Mail
Returns a new instance of Mail.
18 19 20 21 |
# File 'lib/bettercap/sniffer/parsers/mail.rb', line 18 def initialize @filters = [ /(\d+ )?(auth|authenticate) ([a-z\-_0-9]+)/i ] @name = 'MAIL' end |