Module: Msf::Exploit::Remote::HTTP::NagiosXi::URIs

Included in:
Msf::Exploit::Remote::HTTP::NagiosXi, Install, Login, Version
Defined in:
lib/msf/core/exploit/remote/http/nagios_xi/uris.rb

Instance Method Summary collapse

Instance Method Details

#nagios_xi_backend_urlString

Returns the Nagios XI Backend URL

Returns:

  • (String)

    Nagios XI Backend URL



14
15
16
# File 'lib/msf/core/exploit/remote/http/nagios_xi/uris.rb', line 14

def nagios_xi_backend_url
  normalize_uri(target_uri.path, 'index.php')
end

#nagios_xi_install_urlString

Returns the Nagios XI Installation URL

Returns:

  • (String)

    Nagios XI Install URL



21
22
23
# File 'lib/msf/core/exploit/remote/http/nagios_xi/uris.rb', line 21

def nagios_xi_install_url
  normalize_uri(target_uri.path, 'install.php')
end

#nagios_xi_login_urlString

Returns the Nagios XI Login URL

Returns:

  • (String)

    Nagios XI Login URL



7
8
9
# File 'lib/msf/core/exploit/remote/http/nagios_xi/uris.rb', line 7

def 
  normalize_uri(target_uri.path, 'login.php')
end