Class: Rex::Proto::DNS::CustomNameserverProvider::CommSink
- Inherits:
-
Object
- Object
- Rex::Proto::DNS::CustomNameserverProvider::CommSink
- Includes:
- Msf::Session::Comm
- Defined in:
- lib/rex/proto/dns/custom_nameserver_provider.rb
Overview
A Comm implementation that always reports as dead, so should never be used. This is used to prevent DNS leaks of saved DNS rules that were attached to a specific channel.
Instance Method Summary collapse
Methods included from Msf::Session::Comm
Instance Method Details
#alive? ⇒ Boolean
22 23 24 |
# File 'lib/rex/proto/dns/custom_nameserver_provider.rb', line 22 def alive? false end |
#sid ⇒ Object
31 32 33 |
# File 'lib/rex/proto/dns/custom_nameserver_provider.rb', line 31 def sid 'previous MSF session' end |
#supports_udp? ⇒ Boolean
26 27 28 29 |
# File 'lib/rex/proto/dns/custom_nameserver_provider.rb', line 26 def supports_udp? # It won't be used anyway, so let's just say we support it true end |