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.
39 40 41 |
# File 'lib/msf/core/exploit/remote/smb/log_adapter.rb', line 39 def initialize(mod) @mod = mod end |
Instance Method Details
#close ⇒ Object
47 48 49 |
# File 'lib/msf/core/exploit/remote/smb/log_adapter.rb', line 47 def close # noop end |
#write(message) ⇒ Object
43 44 45 |
# File 'lib/msf/core/exploit/remote/smb/log_adapter.rb', line 43 def write() @mod.print() end |