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