Module: Msf::Exploit::Remote::HTTP::Joomla::Version
- Included in:
- Msf::Exploit::Remote::HTTP::Joomla
- Defined in:
- lib/msf/core/exploit/remote/http/joomla/version.rb
Instance Method Summary collapse
-
#joomla_version ⇒ String, NilClass
Returns the Joomla version.
Instance Method Details
#joomla_version ⇒ String, NilClass
Returns the Joomla version.
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/msf/core/exploit/remote/http/joomla/version.rb', line 9 def joomla_version files = [ 'administrator/manifests/files/joomla.xml', 'language/en-GB/en-GB.xml', 'templates/system/css/system.css', 'media/system/js/mootools-more.js', 'language/en-GB/en-GB.ini', 'htaccess.txt', 'language/en-GB/en-GB.com_media.ini' ] files.each do |file| version = check_file_version(file) return version if version end nil end |