Class: BetterCap::Parsers::Mail

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

Overview

POP/IMAP authentication parser.

Instance Method Summary collapse

Methods inherited from Base

#on_packet

Constructor Details

#initializeMail

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