Class: BetterCap::Parsers::Nntp

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

Overview

NNTP 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

#initializeNntp

Returns a new instance of Nntp.



22
23
24
25
# File 'lib/bettercap/sniffer/parsers/nntp.rb', line 22

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