Class: Msf::Exploit::Remote::SMB::LogAdapter::LogDevice::Module
- Inherits:
-
Object
- Object
- Msf::Exploit::Remote::SMB::LogAdapter::LogDevice::Module
- Defined in:
- lib/msf/core/exploit/remote/smb/log_adapter.rb
Overview
Logs using the provided module
Instance Method Summary collapse
- #close ⇒ Object
-
#initialize(mod) ⇒ Module
constructor
A new instance of Module.
- #write(message) ⇒ Object
Constructor Details
#initialize(mod) ⇒ Module
Returns a new instance of Module.
77 78 79 |
# File 'lib/msf/core/exploit/remote/smb/log_adapter.rb', line 77 def initialize(mod) @mod = mod end |
Instance Method Details
#close ⇒ Object
85 86 87 |
# File 'lib/msf/core/exploit/remote/smb/log_adapter.rb', line 85 def close # noop end |
#write(message) ⇒ Object
81 82 83 |
# File 'lib/msf/core/exploit/remote/smb/log_adapter.rb', line 81 def write() @mod.print() end |