Module: Msf::Util::DotNetDeserialization::Formatters::SoapFormatter
- Defined in:
- lib/msf/util/dot_net_deserialization/formatters/soap_formatter.rb
Defined Under Namespace
Classes: SoapBuilder
Class Method Summary collapse
Class Method Details
.generate(stream) ⇒ Object
83 84 85 86 87 88 89 90 |
# File 'lib/msf/util/dot_net_deserialization/formatters/soap_formatter.rb', line 83 def self.generate(stream) unless stream.is_a?(GadgetChains::ClaimsPrincipal) || stream.is_a?(GadgetChains::TextFormattingRunProperties) || stream.is_a?(GadgetChains::WindowsIdentity) raise ::NotImplementedError, 'Stream is not supported by this formatter' end builder = SoapBuilder.new(stream) builder.root.to_s end |