Class: Msf::Exploit::Remote::HTTP::Exchange::ProxyMaybeShell::SSRFWinRMConnection::TransportFactory

Inherits:
WinRM::HTTP::TransportFactory
  • Object
show all
Defined in:
lib/msf/core/exploit/remote/http/exchange/proxy_maybe_shell.rb

Overview

we have to define this class so we can define our own transport factory that provides one backed by the SSRF vulnerability

Defined Under Namespace

Classes: HttpSsrf

Instance Method Summary collapse

Instance Method Details

#create_transport(connection_opts) ⇒ Object

Raises:

  • (NotImplementedError)


163
164
165
166
167
# File 'lib/msf/core/exploit/remote/http/exchange/proxy_maybe_shell.rb', line 163

def create_transport(connection_opts)
  raise NotImplementedError unless connection_opts[:transport] == :ssrf

  super
end