Class: Msf::Post::Windows::FileSystem::String16
- Inherits:
-
BinData::String
- Object
- BinData::String
- Msf::Post::Windows::FileSystem::String16
- Defined in:
- lib/msf/core/post/windows/filesystem.rb
Instance Method Summary collapse
Instance Method Details
#assign(val) ⇒ Object
16 17 18 |
# File 'lib/msf/core/post/windows/filesystem.rb', line 16 def assign(val) super(val.encode('utf-16le')) end |
#snapshot ⇒ Object
20 21 22 |
# File 'lib/msf/core/post/windows/filesystem.rb', line 20 def snapshot super.force_encoding('utf-16le') end |