Skip to content

Commit

Permalink
Update lib/msf/core/exploit/remote/http/atlassian/confluence/version.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Christophe De La Fuente <[email protected]>
  • Loading branch information
jheysel-r7 and cdelafuente-r7 authored Dec 14, 2023
1 parent 862194d commit ef17829
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ def get_confluence_version
poweredby = res.get_xml_document.xpath('//ul[@id="poweredby"]/li[@class="print-only"]/text()').first&.text
return nil unless poweredby =~ /Confluence (\d+(\.\d+)*)/

confluence_version = Rex::Version.new(Regexp.last_match(1))
confluence_version
Rex::Version.new(Regexp.last_match(1))
end
end

0 comments on commit ef17829

Please sign in to comment.