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, inherited, load_by_names, load_custom, #on_packet

Constructor Details

#initializeNntp

Returns a new instance of Nntp.



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

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