metasploit-framework/lib/msf/http/typo3/uris.rb

19 lines
386 B
Ruby
Raw Normal View History

2013-09-29 17:34:44 +00:00
# -*- coding: binary -*-
module Msf::HTTP::Typo3::URIs
# Returns the Typo3 Login URL
#
# @return [String] Typo3 Login URL
def typo3_url_login
2013-11-07 22:07:58 +00:00
normalize_uri(target_uri.path, 'typo3', 'index.php')
2013-09-29 17:34:44 +00:00
end
# Returns the Typo3 backend URL
#
# @return [String] Typo3 Backend URL
def typo3_url_backend
2013-11-07 22:07:58 +00:00
normalize_uri(target_uri.path, 'typo3', 'backend.php')
2013-09-29 17:34:44 +00:00
end
end